Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30

Thread: [SOLVED] no incoming or outgoing mail

  1. #21
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    The file may exist, but for some reason your server is not finding them when querying itself. Try enabling logging on BIND and seeing if you find any errors on startup.

  2. #22
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Are th foiles you're modifying in the correct directory and have the correct names? I don't use Ubuntu so I don't know if the following is correct: Installing An Ubuntu Hardy 8.04 LTS DNS Server With BIND - Page 4 | HowtoForge - Linux Howtos and Tutorials but it seems to imply the files are in a different location than the one you're modifying.

    If you're having problems with it then you might like to install webmin to manage your server, it also has a DNS configuration page which may help.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #23
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    ya, a couple of steps ahead of ya... I did install webadmin and I neglected to mention I found out bind wasn't starting (at least I think it wasn't starting) and got the out of range error. my serial was too high, lowered it and the solved that problem (so that proves db.example.com is being registered and used), but the SERVFAIL problem was still occurring.

    So I found some piece on the whole $ORIGIN/@ thing and between playing with that (commenting/un-commenting "@ORIGIN example.com." in db.example.com) and commenting/un-commenting "@ IN NS mail" I got rid of the SERVFAIL problem (un-commenting both seems to have done the trick).

    But now I still get the "Host mail not found: 3(NXDOMAIN)" error message when running "host `hostname`". Any ideas on why that's still occurring?

    Here's my dig and host results/outputs:

    Code:
    anuvatec@mail:~$ dig example.com mx
    
    ; <<>> DiG 9.4.2-P2 <<>> example.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21862
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;example.com.             IN      MX
    
    ;; ANSWER SECTION:
    example.com.      604800  IN      MX      10 mail.example.com.
    
    ;; AUTHORITY SECTION:
    example.com.      604800  IN      NS      mail.example.com.
    
    ;; ADDITIONAL SECTION:
    mail.example.com. 604800  IN      A       192.168.0.10
    
    ;; Query time: 4 msec
    ;; SERVER: 192.168.0.10#53(192.168.0.10)
    ;; WHEN: Fri Nov 20 17:27:41 2009
    ;; MSG SIZE  rcvd: 86
    
    anuvatec@mail:~$ dig example.com any
    
    ; <<>> DiG 9.4.2-P2 <<>> example.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16292
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;example.com.             IN      ANY
    
    ;; ANSWER SECTION:
    example.com.      604800  IN      SOA     mail.example.com. admin.example.com. 2009112013 604800 86400 2419200 604800
    example.com.      604800  IN      NS      mail.example.com.
    example.com.      604800  IN      A       192.168.0.10
    example.com.      604800  IN      MX      10 mail.example.com.
    
    ;; ADDITIONAL SECTION:
    mail.example.com. 604800  IN      A       192.168.0.10
    
    ;; Query time: 4 msec
    ;; SERVER: 192.168.0.10#53(192.168.0.10)
    ;; WHEN: Fri Nov 20 17:27:46 2009
    ;; MSG SIZE  rcvd: 144
    
    anuvatec@mail:~$ host `hostname`
    Host mail not found: 3(NXDOMAIN)

  4. #24
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    What does your /etc/nsswitch.conf file look like? Your "hosts:" line in this file should look like this
    Code:
    hosts:          files dns

  5. #25
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    Yup, my /etc/nsswitch.conf looks like that

  6. #26
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Try running this:
    Code:
    host -v `hostname`

  7. #27
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    Code:
    anuvatec@mail:~$ host -v hostname
    Trying "hostname"
    Host hostname not found: 3(NXDOMAIN)
    Received 101 bytes from 192.168.0.10#53 in 49 ms

  8. #28
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Post the output from these commands again and also your DNS configuration files.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #29
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    So its apparently working now and I didn't even know it. Mail has been flowing properly since around post #23 (I never checked Zimbra since I was consumed with resolving the SERVFAIL and hostname not found errors).

    Thanks everyone for your help and patience!

  10. #30
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Glad you've fixed it, have a peaceful week-end.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Large volume of spam messages; see the log
    By snake_eyes in forum Administrators
    Replies: 1
    Last Post: 12-31-2008, 06:54 AM
  2. [SOLVED] Zimbra don't work - zmmailboxd
    By dmalherbe in forum Administrators
    Replies: 10
    Last Post: 11-20-2008, 10:05 AM
  3. [SOLVED] mailbox and apache not running
    By rtwick in forum Administrators
    Replies: 4
    Last Post: 11-15-2008, 08:21 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. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 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
  •