POP/IMAP/SMTP not responding

Discussion in 'HOWTO-Related Questions' started by Been Told, Feb 6, 2010.

  1. Been Told

    Been Told Member

    Hi,
    I have just installed ISPConfig 2 on a new Hetzner Server and it seems everything went fine.
    However for some reason, the mail services are not responding. The SMTP isn't reachable at all, IMAP and POP3 are telling me the username/password are wrong even though they are not.

    Can someone point me in the right direction?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log?

    What's the output of
    Code:
    netstat -tap
    ?
     
  3. Been Told

    Been Told Member

    netstat -tap gives me:
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:mysql                 *:*                     LISTEN      17512/mysqld
    tcp        0      0 *:sunrpc                *:*                     LISTEN      11146/portmap
    tcp        0      0 *:81                    *:*                     LISTEN      4864/ispconfig_http
    tcp        0      0 srv.mydomain.tld:domain   *:*                     LISTEN      10419/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN      10419/named
    tcp        0      0 *:ssh                   *:*                     LISTEN      2956/sshd
    tcp        0      0 *:smtp                  *:*                     LISTEN      1422/smtpd
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      10419/named
    tcp        0      0 srv.mydomain.tld:ssh      p54AD5297.dip.t-d:50818 ESTABLISHED 1431/sshd: root@not
    tcp        0    300 srv.mydomain.tld:ssh      p54AD5297.dip.t-d:50819 ESTABLISHED 1434/0
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      11446/couriertcpd
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      11466/couriertcpd
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      11234/couriertcpd
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      11317/couriertcpd
    tcp6       0      0 [::]:www                [::]:*                  LISTEN      4906/apache2
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      8238/proftpd: (acce
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2956/sshd
    tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      1422/smtpd
    tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      10419/named
    tcp6       0      0 [::]:https              [::]:*                  LISTEN      4906/apache2
    tcp6       0      0 srv.mydomain.tld:imap2    p54AD5297.dip.t-d:50788 TIME_WAIT   -
    srv:~#
    
    As for the mail log, here's the log for the last few minutes:
    Code:
    Feb  7 14:00:42 srv postfix/smtpd[1321]: disconnect from mail-in-10.arcor-online.net[151.189.21.50]
    Feb  7 14:03:28 srv postfix/smtpd[1361]: connect from unknown[221.194.130.20]
    Feb  7 14:03:30 srv postfix/smtpd[1361]: lost connection after CONNECT from unknown[221.194.130.20]
    Feb  7 14:03:30 srv postfix/smtpd[1361]: disconnect from unknown[221.194.130.20]
    Feb  7 14:03:33 srv postfix/smtpd[1361]: connect from unknown[221.2.86.54]
    Feb  7 14:03:36 srv postfix/smtpd[1361]: NOQUEUE: reject: RCPT from unknown[221.2.86.54]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<gmail.com>
    Feb  7 14:03:37 srv postfix/smtpd[1361]: lost connection after RCPT from unknown[221.2.86.54]
    Feb  7 14:03:37 srv postfix/smtpd[1361]: disconnect from unknown[221.2.86.54]
    Feb  7 14:04:51 srv postfix/smtpd[1304]: timeout after CONNECT from 87-196-55-122.net.novis.pt[87.196.55.122]
    Feb  7 14:04:51 srv postfix/smtpd[1304]: disconnect from 87-196-55-122.net.novis.pt[87.196.55.122]
    Feb  7 14:06:40 srv postfix/anvil[1232]: statistics: max connection rate 1/60s for (smtp:194.25.134.19) at Feb  7 13:56:40
    Feb  7 14:06:40 srv postfix/anvil[1232]: statistics: max connection count 1 for (smtp:194.25.134.19) at Feb  7 13:56:40
    Feb  7 14:06:40 srv postfix/anvil[1232]: statistics: max cache size 3 at Feb  7 14:03:33
    Feb  7 14:08:02 srv postfix/smtpd[1422]: connect from unknown[221.194.130.20]
    Feb  7 14:08:04 srv postfix/smtpd[1422]: lost connection after CONNECT from unknown[221.194.130.20]
    Feb  7 14:08:04 srv postfix/smtpd[1422]: disconnect from unknown[221.194.130.20]
    Feb  7 14:08:08 srv postfix/smtpd[1422]: connect from unknown[221.194.130.20]
    Feb  7 14:08:10 srv postfix/smtpd[1422]: lost connection after CONNECT from unknown[221.194.130.20]
    Feb  7 14:08:10 srv postfix/smtpd[1422]: disconnect from unknown[221.194.130.20]
    Feb  7 14:08:11 srv imapd: Connection, ip=[::ffff:84.173.82.151]
    Feb  7 14:08:11 srv imapd: chdir Maildir: No such file or directory
    I'm not sure - are those connections attempts to send me e-mail?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Are there any other errors in your mail log? Which distribution do you use? What's the output of
    Code:
    iptables -L
    ?
     
  5. Been Told

    Been Told Member

    I think I must have made some mistakes during the installation... I have re-installed Debian Lenny and ISPconfig 2 and now I'm hoping things will work out. :)
     

Share This Page