i don't receive my mail

Discussion in 'Installation/Configuration' started by pierremoreau, Sep 2, 2006.

  1. pierremoreau

    pierremoreau New Member

    hello,

    if i send an e-mail to my adress on my new server with ispconfig, i receive this error :

    This is the Postfix program at host survivor.produ-net.com.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]> (expanded from <[email protected]>): Host
    or domain name not found. Name service error for
    name=survivor.produ-net.com type=AAAA: Host not found

    Reporting-MTA: dns; survivor.produ-net.com
    X-Postfix-Queue-ID: 09B94128450
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Sat, 2 Sep 2006 08:05:09 +0200 (CEST)

    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822; [email protected]
    Action: failed
    Status: 5.0.0
    Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=survivor.produ-net.com type=AAAA: Host not found


    What i can testing...

    By thanks

    Pierre
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem is that the domain survivor.produ-net.com does not exist in DNS. Please add an A-record for survivor at the primary dns server for the domain produ-net.com that points to your server IP.
     
  3. pierremoreau

    pierremoreau New Member

    nothing error but it's no good

    hello, thanks for you tips, but now i don't receive error mail and i don't receive the mail.

    I don't i do, i post the lasts logs of my server, if anyone have a idea i would test !
    when i execute "cat -n 100 /var/log/mail.log/var/logs/mail.log" after send a mail

    ff:193.251.177.175], top=0, retr=0, time=0
    133 Sep 5 08:20:36 www courierpop3login: Connection, ip=[::ffff:193.251.177.175]
    134 Sep 5 08:20:36 www courierpop3login: LOGIN, user=web2_contact, ip=[::ffff:193.251.177.175]
    135 Sep 5 08:20:36 www courierpop3login: LOGOUT, user=web2_contact, ip=[::ffff:193.251.177.175], top=0, retr=0, time=0
    136 Sep 5 08:21:11 www courierpop3login: Connection, ip=[::ffff:193.251.177.175]
    137 Sep 5 08:21:11 www courierpop3login: LOGIN, user=web2_contact, ip=[::ffff:193.251.177.175]
    138 Sep 5 08:21:12 www courierpop3login: LOGOUT, user=web2_contact, ip=[::ffff:193.251.177.175], top=0, retr=0, time=1
    139 Sep 5 08:21:21 www courierpop3login: Connection, ip=[::ffff:193.251.177.175]
    140 Sep 5 08:21:21 www courierpop3login: LOGIN, user=web2_contact, ip=[::ffff:193.251.177.175]
    141 Sep 5 08:21:22 www courierpop3login: LOGOUT, user=web2_contact, ip=[::ffff:193.251.177.175], top=0, retr=0, time=1
    142 Sep 5 08:22:24 www courierpop3login: Connection, ip=[::ffff:193.251.177.175]
    143 Sep 5 08:22:24 www courierpop3login: LOGIN, user=web2_contact, ip=[::ffff:193.251.177.175]
    144 Sep 5 08:22:24 www postfix/smtpd[3925]: connect from unknown[193.252.22.30]
    145 Sep 5 08:22:24 www postfix/smtpd[3925]: D2A97128473: client=unknown[193.252.22.30]
    146 Sep 5 08:22:24 www courierpop3login: LOGOUT, user=web2_contact, ip=[::ffff:193.251.177.175], top=0, retr=0, time=0
    147 Sep 5 08:22:24 www postfix/cleanup[3929]: D2A97128473: message-id=<[email protected]>
    148 Sep 5 08:22:24 www postfix/smtpd[3925]: disconnect from unknown[193.252.22.30]
    149 Sep 5 08:22:24 www postfix/qmgr[29604]: D2A97128473: from=<[email protected]>, size=1972, nrcpt=1 (queue active)
    150 Sep 5 08:22:25 www postfix/smtp[3930]: connect to survivor.produ-net.com[217.128.172.183]: Connection refused (port 25)
    151 Sep 5 08:22:25 www postfix/smtp[3930]: D2A97128473: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=1, status=deferred (connect to survivor.produ-net.com[217.128.172.183]: Connection refused)
    152 Sep 5 08:22:26 www courierpop3login: Connection, ip=[::ffff:193.251.177.175]
    153 Sep 5 08:22:26 www courierpop3login: LOGIN, user=web2_contact, ip=[::ffff:193.251.177.175]
    154 Sep 5 08:22:26 www courierpop3login: LOGOUT, user=web2_contact, ip=[::ffff:193.251.177.175], top=0, retr=0, time=0

    Thanks for your help
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap
    iptables -L

    If your server is behind a router, make sure you forwarded port 25 from your router to your server and that your DSL provider does not block port 25.
     
  5. pierremoreau

    pierremoreau New Member

    when i tape : netstat -tap

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 3793/mysqld
    tcp 0 0 *:81 *:* LISTEN 4124/ispconfig_http
    tcp 0 0 *:ftp *:* LISTEN 29515/proftpd: (acc
    tcp 0 0 www.econso.fr:domain *:* LISTEN 25698/named
    tcp 0 0 localhost:domain *:* LISTEN 25698/named
    tcp 0 0 *:smtp *:* LISTEN 29602/master
    tcp 0 0 localhost:953 *:* LISTEN 25698/named
    tcp6 0 0 *:imaps *:* LISTEN 3667/couriertcpd
    tcp6 0 0 *:pop3s *:* LISTEN 3702/couriertcpd
    tcp6 0 0 *:pop3 *:* LISTEN 3682/couriertcpd
    tcp6 0 0 *:imap2 *:* LISTEN 3642/couriertcpd
    tcp6 0 0 *:www *:* LISTEN 23817/apache2
    tcp6 0 0 *:ssh *:* LISTEN 3965/sshd
    tcp6 0 0 *:smtp *:* LISTEN 29602/master
    tcp6 0 0 ip6-localhost:953 *:* LISTEN 25698/named
    tcp6 0 0 *:https *:* LISTEN 23817/apache2
    tcp6 0 0 www.econso.fr:pop3 LAubervilliers-151:2377 TIME_WAIT -
    tcp6 0 2076 www.econso.fr:ssh LAubervilliers-151:2386 ESTABLISHED6307/0

    when i tape : iptables -L

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    to test i opened all the ports to my server and i use wanadoo with a static ip

    thanks

    pierre
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Is 217.128.172.183 your public IP address? Did you configure your router to forward port 25 to your server?
    What's in /etc/hosts?
     
  7. pierremoreau

    pierremoreau New Member

    my /etc/hosts


    127.0.0.1 localhost localhost
    # 192.168.1.100 survivor.produ-net.com survivor
    # 192.168.1.100 survivor.econso.fr www.econso.fr
    217.128.172.173 www.econso.fr survivor
    192.168.1.100 www.econso.fr server1
    # 192.168.1.100 www.econso.fr survivor


    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    thanks for answering
     
  8. falko

    falko Super Moderator Howtoforge Staff

    What about my other two questions?
     
  9. pierremoreau

    pierremoreau New Member

    excuse me

    yes it's my public ip, and yes my port 25 forward to my server
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Add survivor.produ-net.com to the 127.0.0.1 line in /etc/hosts:

    Code:
    127.0.0.1       localhost localhost survivor.produ-net.com
    # 192.168.1.100 survivor.produ-net.com survivor
    # 192.168.1.100 survivor.econso.fr www.econso.fr
    217.128.172.173 www.econso.fr survivor
    192.168.1.100 www.econso.fr server1
    # 192.168.1.100 www.econso.fr survivor
    
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
     

Share This Page