Debian Wheezy - Cannot receive any external eMails

Discussion in 'ISPConfig 3 Priority Support' started by SuperLOL, Jun 9, 2014.

  1. SuperLOL

    SuperLOL Member

    Debian Wheezy - Cannot receive any eMails

    HI,
    I have installed ISPConfig 3 exactly like the howtoforge.com tutorial says for Debian Wheezy (Apache2,Bind,Dovecot) over a year ago i did the same with Debian Squeeze (Apache2,Bind,Courier) and had no problems but with the Debian Wheezy tutorial i can't receive any eMails. How can i fix this problem? i'm out of ideas. :(

    If i use the eMail test tool on UltraTools then i get this error:
    MX Record Target: 1 server1.domain.tld
    IP address: xxx.xxx.xxx.xxx
    Status: Connect failed
    Test duration(ms): Timed out...
     
    Last edited: Jun 9, 2014
  2. jon

    jon Member

    I would check the firewall first, make sure port 25 is open to the world.

    You could also check that SMTP is listening on port 25 by running netstat -lptn|grep smpt and looking for something on port 25, similar to the following ...

    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4670/smtpd
    tcp6 0 0 :::25 :::* LISTEN 4670/smtpd

    If nothing is returned, nothing is listening and you may need to manually start smtpd (service postfix start on Debian with Postfix).
     
  3. SuperLOL

    SuperLOL Member

    Nothing is returning if i do "netstat -lptn|grep smpt" but i can send mails to other email addresses with my eMail program but i can't receive any eMails.

    I also found this in the syslog:
    Code:
    Jun  9 20:25:01 server1 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<GTRQVGv7jwAAAAAAAAAAAAAAAAAAAAAB>
    Jun  9 20:25:01 server1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Z1NQVGv7YQAAAAAAAAAAAAAAAAAAAAAB>
    Jun  9 20:25:01 server1 postfix/smtps/smtpd[15745]: warning: hostname localhost does not resolve to address ::1: No address associated with hostname
    Jun  9 20:25:01 server1 postfix/smtps/smtpd[15745]: connect from unknown[::1]
    Jun  9 20:25:01 server1 postfix/smtps/smtpd[15745]: SSL_accept error from unknown[::1]: lost connection
    Jun  9 20:25:01 server1 postfix/smtps/smtpd[15745]: lost connection after CONNECT from unknown[::1]
    Jun  9 20:25:01 server1 postfix/smtps/smtpd[15745]: disconnect from unknown[::1]
    And my hosts file looks like this:
    Code:
    127.0.0.1	localhost.localdomain localhost
    127.0.1.1	server1.domain.tld   server1
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    And my interfaces file looks like this:
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    iface lo inet6 loopback
    
    # The primary network interface
    auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp
    iface eth0 inet6 static
        address xxxx:xxxx:x:xx::1
        netmask 64
        #gateway IPv6 is not needed here, since this is automatically defined.
     
    Last edited: Jun 9, 2014
  4. SuperLOL

    SuperLOL Member

    I found out what the problem was. It was my fault i should have removed 10 '#' symbol for the master.cf file but i forget one. :mad: Wasted now so much time on this it's embarrassing. :)
     
    Last edited: Jun 10, 2014

Share This Page