Unable to recieve mail with 'The Perfect Server' Ubuntu 10.10

Discussion in 'Installation/Configuration' started by Routh, Apr 25, 2011.

  1. Routh

    Routh New Member

    I have setup a server with ISPConfig3 and Ubuntu 10.10 using the appropriate guide from here. Now everything seems to work great except I cannot recieve mail.

    I have verified at this point that my MX entries and routed ports are correct and that the problem is with the server setup itself.

    I have noted that the guild goes through the motions of having mysql listen on all ports but the same is not done with Postfix, and it seems from my netstat -tap that postfix is ignoring incoming mail. That said, outgoing mail is working.

    Here is my netstat -tap:

    Code:
    
    root@developer:/home/routh# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      861/amavisd (master
    tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      1725/master     
    tcp        0      0 *:mysql                 *:*                     LISTEN      746/mysqld      
    tcp        0      0 developer.amateur:27983 *:*                     LISTEN      24962/pure-ftpd (ID
    tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      929/spamd.pid   
    tcp        0      0 *:webmin                *:*                     LISTEN      7049/perl       
    tcp        0      0 *:http-alt              *:*                     LISTEN      3541/apache2    
    tcp        0      0 *:www                   *:*                     LISTEN      3541/apache2    
    tcp        0      0 *:tproxy                *:*                     LISTEN      3541/apache2    
    tcp        0      0 *:ftp                   *:*                     LISTEN      1738/pure-ftpd (SER
    tcp        0      0 developer.amateu:domain *:*                     LISTEN      731/named       
    tcp        0      0 localhost.locald:domain *:*                     LISTEN      731/named       
    tcp        0      0 *:ssh                   *:*                     LISTEN      804/sshd        
    tcp        0      0 *:smtp                  *:*                     LISTEN      1725/master     
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      731/named       
    tcp        0      0 *:https                 *:*                     LISTEN      3541/apache2    
    tcp        0      0 localhost.localdo:48721 localhost.localdo:mysql TIME_WAIT   -               
    tcp        0      0 localhost.localdo:48719 localhost.localdo:mysql TIME_WAIT   -               
    tcp        0      0 localhost.localdo:mysql localhost.localdo:48921 ESTABLISHED 746/mysqld      
    tcp        0      0 localhost.localdo:48921 localhost.localdo:mysql ESTABLISHED 1174/amavisd (ch13-
    tcp        0      0 developer.amateurwr:ssh 192.168.0.193:37633     ESTABLISHED 25254/sshd: routh [
    tcp        0      0 localhost.localdo:mysql localhost.localdo:54632 ESTABLISHED 746/mysqld      
    tcp        0      0 localhost.localdo:54632 localhost.localdo:mysql ESTABLISHED 1173/amavisd (ch14-
    tcp        0      0 localhost.localdo:48716 localhost.localdo:mysql TIME_WAIT   -               
    tcp        0      0 developer.amateurwr:ssh dynamic-216-186-1:60761 ESTABLISHED 3850/sshd: dnavarre
    tcp        0      0 localhost.localdo:48720 localhost.localdo:mysql TIME_WAIT   -               
    tcp        0      0 developer.amateurwr:ftp dynamic-216-186-1:63934 ESTABLISHED 24962/pure-ftpd (ID
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      1591/couriertcpd
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      1625/couriertcpd
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      1605/couriertcpd
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      1571/couriertcpd
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      1738/pure-ftpd (SER
    tcp6       0      0 [::]:domain             [::]:*                  LISTEN      731/named       
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      804/sshd        
    tcp6       0      0 localhost:953           [::]:*                  LISTEN      731/named       
    
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your mail log (in the /var/log/ directory)?
     
  3. Routh

    Routh New Member

    /var/log/mail.log has the following lines repeated thousands of times, but none of them seem like errors:

    Code:
    
    Apr 26 09:20:02 developer postfix/pickup[31719]: 6B668182FA7: uid=33 from=<www-data>
    Apr 26 09:20:02 developer postfix/cleanup[514]: 6B668182FA7: message-id=<[email protected].$
    Apr 26 09:20:02 developer postfix/qmgr[24802]: 6B668182FA7: from=<[email protected]>, size=906, nrcpt=1 (queue$
    Apr 26 09:20:31 developer postfix/smtpd[518]: connect from localhost.localdomain[127.0.0.1]
    Apr 26 09:20:31 developer postfix/smtpd[518]: AEAFA182FA6: client=localhost.localdomain[127.0.0.1]
    Apr 26 09:20:31 developer postfix/cleanup[514]: AEAFA182FA6: message-id=<[email protected].$
    Apr 26 09:20:31 developer postfix/qmgr[24802]: AEAFA182FA6: from=<[email protected]>, size=1439, nrcpt=1 (queu$
    Apr 26 09:20:31 developer postfix/smtpd[518]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 26 09:20:31 developer amavis[13826]: (13826-17) Passed CLEAN, <[email protected]> -> <[email protected]$
    Apr 26 09:20:31 developer postfix/smtp[515]: 6B668182FA7: to=<[email protected]>, orig_to=<www-data>, relay=12$
    Apr 26 09:20:31 developer postfix/qmgr[24802]: 6B668182FA7: removed
    Apr 26 09:20:31 developer postfix/error[427]: AEAFA182FA6: to=<[email protected]>, relay=none, delay=0.15, del$
    Apr 26 09:25:02 developer imapd: Connection, ip=[::1]
    Apr 26 09:25:02 developer pop3d: Connection, ip=[::1]
    Apr 26 09:25:02 developer pop3d: Disconnected, ip=[::1]
    Apr 26 09:25:02 developer imapd: Disconnected, ip=[::1], time=0
    Apr 26 09:25:02 developer postfix/smtpd[573]: connect from localhost.localdomain[127.0.0.1]
    Apr 26 09:25:02 developer postfix/smtpd[573]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Apr 26 09:25:02 developer postfix/smtpd[573]: disconnect from localhost.localdomain[127.0.0.1]
    
    While mail.warn has these two lines repeated the same seemingly infinite amount of times:

    Code:
    
    Apr 25 23:51:11 developer postfix/smtp[8554]: warning: host mail.amateurwriting.org[67.193.94.39]:25 greeted me with my own h$
    Apr 25 23:51:11 developer postfix/smtp[8554]: warning: host mail.amateurwriting.org[67.193.94.39]:25 replied to HELO/EHLO wit$
    
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is this your own server?
    What's in your main.cf?
     

Share This Page