Mail Problems

Discussion in 'Installation/Configuration' started by teves, Nov 24, 2006.

  1. teves

    teves Member

    Hello,

    I need a little help with my postfix mailserver.
    (system: suse 10.1 (perfect setup) and ispconfig)

    Everything seems to be working basically. I have registered few webs and created an email account for one of them.
    I can connect to the account with Thunderbird seemingly, but the test mail just doesn't get there. The sending looks completely normal, no error reports by Thunderbird.

    I have looked through a lot of mail-concerning forum posts, but nothing seems to fit/work for me (can it be I don't have a /var/log/mail.log ?).
    After sending a mail the new, tmp and cur directories in Maildir are still empty.
    (yes the Maildir option is active)

    Any ideas?

    Thank you,
    regards, Tom
     
  2. teves

    teves Member

    Update:

    I find that the problem is a bind / nameserver problem. I had deactivated my bind for I didn't want to use it for the pages I host. When I activated it for trial suddenly the mailserver worked.
    Is it really necessary to activate bind for postfix?
    Or have I made a mistake registering the nameserver entries at my providers nameserver? What must be written in the zonefile for postfix to work correctly?

    Regards, Tom
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Are there any external nameservers listed in /etc/resolv.conf thet where reachable from your server?
     
  4. teves

    teves Member

    Yes, there are four, and -ooops- one of them was the nameserver I tried to set up on my server and which is now disabled. But the other three are ok, so I removed the one entry and restarted the network, but that didn't help.

    It's like that now:
    - Bind service disabled.
    I can send mails to the test account and read them via Thunderbird, but can not send mails.

    The following is added to /var/log/main.info, when I try to send mail:
    Nov 26 16:22:23 whitespace postfix/smtp[8277]: 7BECB844ED: to=<[email protected]>, relay=none, delay=1924, status=deferred (Host or domain name not found. Name service error for name=web.de type=MX: Host not found, try again)
    Nov 26 16:22:23 whitespace postfix/smtp[8276]: B5A2F844F2: to=<[email protected]>, relay=none, delay=1026, status=deferred (Host or domain name not found. Name service error for name=web.de type=MX: Host not found, try again)
    Nov 26 16:22:49 whitespace postfix/smtpd[8286]: connect from unknown[80.138.54.158]
    Nov 26 16:22:49 whitespace postfix/smtpd[8286]: setting up TLS connection from unknown[80.138.54.158]
    Nov 26 16:22:49 whitespace postfix/smtpd[8286]: TLS connection established from unknown[80.138.54.158]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Nov 26 16:22:50 whitespace postfix/smtpd[8286]: 278C8844F4: client=unknown[80.138.54.158], sasl_method=PLAIN, sasl_username=web14_XXXX
    Nov 26 16:22:50 whitespace postfix/cleanup[8290]: 278C8844F4: message-id=<[email protected]>
    Nov 26 16:22:50 whitespace postfix/qmgr[25683]: 278C8844F4: from=<[email protected]>, size=657, nrcpt=1 (queue active)
    Nov 26 16:22:50 whitespace postfix/smtpd[8286]: disconnect from unknown[80.138.54.158]
    Nov 26 16:22:50 whitespace postfix/smtp[8277]: 278C8844F4: to=<[email protected]>, relay=none, delay=0, status=deferred (Host or domain name not found. Name service error for name=web.de type=MX: Host not found, try again)


    As far as I understand it, my server can't resolve the target address in the mail. But why is that?
    The nameserver entry at my provider's nameserver is:

    $TTL 86400
    @ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
    2006112300 ; serial
    14400 ; refresh
    1800 ; retry
    604800 ; expire
    86400 ) ; minimum

    @ IN NS robotns3.second-ns.com.
    @ IN NS robotns2.second-ns.de.
    @ IN NS ns1.first-ns.de.

    @ IN A here.is.my.IP
    localhost IN A 127.0.0.1
    mail IN A here.is.my.IP
    www IN A here.is.my.IP
    ftp IN CNAME www
    imap IN CNAME www
    loopback IN CNAME localhost
    pop IN CNAME www
    relay IN CNAME www
    smtp IN CNAME www
    @ IN MX 10 mail


    Thank you,
    regards Tom
     
  5. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/resolv.conf?
     
  6. teves

    teves Member

    The resolv.conf looks like that:

    domain mydomainname.de

    nameserver 213.239.242.238
    nameserver 213.133.105.6
    nameserver 193.47.99.3


    regards, Tom
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Can you try this in /etc/resolv.conf instead?
    Code:
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60
    Also, what's the output of
    Code:
    updatedb
    locate resolv.conf
    ?
     

Share This Page