Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Mail Sent but not delivered to inbox

  1. #11
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    OK, for anyone to help you with this you are going to have to clarify a few things...

    I replaced my RHEL 5 with CentOS 5.6. these are my configuration files.
    Which OS are you currently working with? This post makes it appear you've switched to CentoOS 5.6 (a good move IMO), but then subsequent posts make me think you are back to RHEL.
    i don't have bind installed on RHEL 5. moreover i tried to install it but i can't understand the problem. it is installed fully but there are no associated directories or files created of bind. no named service. i spent a lot of time but could not solve that. kindly help me out. is there any alternative to get out of this problem? i have installed webmin1.560 on the same machine. but there is no bind server listed in the servers portion. can i do the same job using webmin without bind? is there any other alternative? please help me out.
    Totally confused here. I don't know if it is under RHEL 5 or CentOS 5.6, but you obviously have Bind installed somewhere. Additionally, webmin is a web-based tool which attempts to make administering services like Bind, Samba, etc. easier than having to do things at the command-line level. It is not a replacement for Bind. There are alternatives to Bind for setting up DNS services under Linux, but Bind is the most popular and you will be more likely to find help on these forums at least if you stick with Bind.
    Aug 22 19:31:58 mail named[16280]: starting BIND 9.4.1 -u named -t /chroot/named -c /etc/named.conf
    Aug 22 19:31:58 mail named[16280]: loading configuration from '/etc/named.conf'
    Aug 22 19:31:58 mail named[16280]: /etc/named.conf:28: unknown option 'Read'
    Aug 22 19:31:58 mail named[16280]: /etc/named.conf:29: unexpected token near end of file
    Aug 22 19:31:58 mail named[16280]: loading configuration: unexpected token
    Aug 22 19:31:58 mail named[16280]: exiting (due to fatal error)
    Again, not sure what system you are running on (RHEL or CentOS), but these messages indicate there is a problem with your named.conf file on lines 28 or 29. The named.conf you previously posted only has about 15 lines, so either you've made changes to it, or you are working with the wrong named.conf file.

  2. #12
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default Linux Distribution

    I am using two machines, RHEL 5.3 on one computer and CentOS 5.6 on another. I should have not posted them together.

  3. #13
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default CentOS 5.6 Error Log

    when i run

    /etc/init.d/named start

    on CentOS 5.6 it fails generating the following log.

    Aug 24 03:45:33 mail named[17761]: starting BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 -u named -t /var/named/chroot
    Aug 24 03:45:33 mail named[17761]: found 2 CPUs, using 2 worker threads
    Aug 24 03:45:33 mail named[17761]: using up to 4096 sockets
    Aug 24 03:45:33 mail named[17761]: loading configuration from '/etc/named.conf'
    Aug 24 03:45:33 mail named[17761]: none:0: open: /etc/named.conf: permission denied
    Aug 24 03:45:33 mail named[17761]: loading configuration: permission denied
    Aug 24 03:45:33 mail named[17761]: exiting (due to fatal error)
    Aug 24 04:02:42 mail named[27996]: starting BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 -u named -t /var/named/chroot
    Aug 24 04:02:42 mail named[27996]: found 2 CPUs, using 2 worker threads
    Aug 24 04:02:42 mail named[27996]: using up to 4096 sockets
    Aug 24 04:02:42 mail named[27996]: loading configuration from '/etc/named.conf'
    Aug 24 04:02:42 mail named[27996]: none:0: open: /etc/named.conf: permission denied
    Aug 24 04:02:42 mail named[27996]: loading configuration: permission denied
    Aug 24 04:02:42 mail named[27996]: exiting (due to fatal error)

  4. #14
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default RedHat Bind Error Log

    when i run

    /etc/init.d/named start

    on RHEL 5.3 it fails generating the following log.

    Aug 23 08:51:57 mail named[3757]: starting BIND 9.4.1 -u named -t /chroot/named -c /etc/named.conf
    Aug 23 08:51:57 mail named[3757]: loading configuration from '/etc/named.conf'
    Aug 23 08:51:57 mail named[3757]: /etc/named.conf:14: unknown key 'rndc-key'
    Aug 23 08:51:57 mail named[3757]: loading configuration: failure
    Aug 23 08:51:57 mail named[3757]: exiting (due to fatal error)

    i had configured the system using the following link

    Bind: Quick install guide to install and setup Bind (DNS server) in secure (chroot) environment in Linux (CentOS, Redhat Enterprise (RHEL), Fedora). | Technology: Learn and Share

  5. #15
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default

    Somehow or the other, it started working on RHEL without using bind. the mails are now delievered to inboxes as well. can you tell me what problems i might face for ignoring bind?

  6. #16
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Quote Originally Posted by unluckyprince View Post
    Somehow or the other, it started working on RHEL without using bind. the mails are now delievered to inboxes as well. can you tell me what problems i might face for ignoring bind?
    You will have problems getting mail delivered to your server unless you've configured a Split DNS set-up, without that you server will not be able to resolve it's own IP address for mail delivery. You need to check the configuration by running all the commands in the 'Verify...' section of that article.

    You should also post the full output of the following command:

    Code:
    zmcontrol status
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #17
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default output

    [zimbra@mail zimlets]$ zmcontrol status
    Host mail.zimbra.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running
    zmconfigd Running

  8. #18
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default Bind Configuration

    Kindly help me out in my bind configuration. i am getting the following error during zimbra instalation.

    MX: mail.cae.com (142.39.254.10)

    Interface: 192.168.44.6
    Interface: 127.0.0.1


    DNS ERROR - none of the MX records for mail.cae.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes]

    /etc/init.d/named start doesnot give any error. it shows OK.

    My configuration files are below.

    /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.44.6 mail.cae.com mail
    ::1 localhost6.localdomain6 localhost6

    ===================================

    /var/named/chroot/etc/named.conf

    // Default named.conf generated by install of bind-9.2.4-2
    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders { 8.8.8.8 ; };
    };
    include "/etc/rndc.key";
    // We are the master server for server.example.com
    zone "mail.cae.com" {
    type master;
    file "db.mail.cae.com";
    };

    =============================================

    /var/named/chroot/var/named/db.mail.cae.com

    ;
    ; Addresses and other host information.
    ;
    @ IN SOA mail.cae. hostmaster.mail.cae. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.44.6
    IN MX 10 mail.cae.com
    mail IN A 192.168.44.6

    ==============================================

    /etc/resolv.conf

    nameserver 192.168.44.6
    nameserver 172.26.5.15
    nameserver 8.8.8.8
    search localdomain


    ===============================================

  9. #19
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Do not start a new thread when you already have one on the same subject, I'll merge this with your other thread.

    You need to read my comments in that thread on what's needed and the Split DNS article for full details of the requirements for DNS configuration on a LAN - everything you need is there including the commands to check your configuration.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #20
    unluckyprince is offline Intermediate Member
    Join Date
    Aug 2011
    Posts
    19
    Rep Power
    3

    Default output of dig and host

    here is the output of dig mail.cae.com mx


    [root@localhost ~]# dig mail.cae.com mx

    ; <<>> DiG 9.3.4-P1 <<>> mail.cae.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 13644
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.cae.com. IN MX

    ;; Query time: 12 msec
    ;; SERVER: 192.168.44.6#53(192.168.44.6)
    ;; WHEN: Thu Aug 25 10:29:14 2011
    ;; MSG SIZE rcvd: 30


    ================================================== ==

    and dig mail.cae.com any

    [root@localhost ~]# dig mail.cae.com any

    ; <<>> DiG 9.3.4-P1 <<>> mail.cae.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51780
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.cae.com. IN ANY

    ;; Query time: 0 msec
    ;; SERVER: 192.168.44.6#53(192.168.44.6)
    ;; WHEN: Thu Aug 25 10:30:48 2011
    ;; MSG SIZE rcvd: 30


    ================================================

    and of host $(hostname)

    [root@localhost ~]# host $(hostname)
    mail.cae.com has address 142.39.254.10
    mail.cae.com mail is handled by 3 mail.cae.com.


    =============================================

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 04-10-2011, 09:14 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •