Error with Mail Server

Discussion in 'Installation/Configuration' started by Rashef, Nov 10, 2013.

  1. Rashef

    Rashef New Member

    Hello guys,

    new installation of ISPconfig (following this tutorial) and the email doesn't work.

    The maillog is full of:
    Code:
    Nov 10 06:42:55 node3 postfix/master[27801]: warning: process /usr/libexec/postfix/smtpd pid 27940 exit status 1
    Nov 10 06:42:55 node3 postfix/master[27801]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    end when I try and send an email I get:

    Code:
    Nov 10 07:01:33 node3 amavis[27849]: (27849-04) (!)FWD from <web1@node3.xxxxxxx.xx> -> <receiver@xxxxxxx.xx>, 451 4.5.0 From MTA() during fwd-connect (No greeting, dt: 11.029 s): id=27849-04
    Nov 10 07:01:33 node3 amavis[27849]: (27849-04) Blocked MTA-BLOCKED {TempFailedOpenRelay}, <web1@node3.xxxxx.xx> -> <receiver@xxxxx.xx>, Message-ID: <MjU2NjQxMgWY0SI0JA1MSMTM4NDA4NDM1NzcwNDg5@xxxxx.xx>, mail_id: WDBf1Bdz2Pxg, Hits: 0, size: 1042, 11237 ms
    Nov 10 07:01:33 node3 postfix/smtp[28660]: C0B5D19E81F71: to=<receiver@xxxxxx.xx>, relay=127.0.0.1[127.0.0.1]:10024, delay=536, delays=524/0.01/0/11, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=27849-04 - Temporary MTA failure on relaying, From MTA() during fwd-connect (No greeting, dt: 11.029 s): id=27849-04 (in reply to end of DATA command))
    My netstat -tap:

    Code:
    # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 node3.xxxxx.xx:domain     *:*                         LISTEN      26766/named
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      26766/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      908/pure-ftpd (SERV
    tcp        0      0 *:ssh                       *:*                         LISTEN      592/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      27801/master
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      26766/named
    tcp        0      0 *:imaps                     *:*                         LISTEN      27819/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      27819/dovecot
    tcp        0      0 localhost.localdomain:8998  *:*                         LISTEN      6402/php-fpm
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      27846/amavisd (mast
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      27801/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      738/mysqld
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      27874/clamd
    tcp        0      0 *:pop3                      *:*                         LISTEN      27819/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      27819/dovecot
    tcp        0      0 node3.xxxxx.xx:58843      199.83.134.251.ip.inca:http TIME_WAIT   -
    tcp        0      0 localhost.localdomain:46879 localhost.localdomain:mysql ESTABLISHED 27848/amavisd (ch5-
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:38770 ESTABLISHED 738/mysqld
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:46879 ESTABLISHED 738/mysqld
    tcp        0   1628 node3.xxxxx.xx:ssh        213.37.16.228.dyn.use:58997 ESTABLISHED 24651/sshd
    tcp        0      0 node3.xxxxx.xx:41855      node3.xxxxx.xx:http       TIME_WAIT   -
    tcp        0      0 localhost.localdomain:38770 localhost.localdomain:mysql ESTABLISHED 27849/amavisd (ch4-
    tcp        0      0 *:domain                    *:*                         LISTEN      26766/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      908/pure-ftpd (SERV
    tcp        0      0 *:ssh                       *:*                         LISTEN      592/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      27801/master
    tcp        0      0 localhost:rndc              *:*                         LISTEN      26766/named
    tcp        0      0 *:https                     *:*                         LISTEN      28746/httpd
    tcp        0      0 *:imaps                     *:*                         LISTEN      27819/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      27819/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      27819/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      27819/dovecot
    tcp        0      0 *:webcache                  *:*                         LISTEN      28746/httpd
    tcp        0      0 *:http                      *:*                         LISTEN      28746/httpd
    tcp        0      0 *:tproxy                    *:*                         LISTEN      28746/httpd
    
    Thanks for your help!
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Is there something about the postfix failure in the syslog or the mail error log (not the default mail.log)?
    Have you tried simly stopping and starting postfix (not simply restarting)?
     
  3. Rashef

    Rashef New Member

    Hello Croydon,

    tried stopping/starting postfix with no result and these are the only errors in /var/log/messages:

    Code:
    Nov 16 05:07:32 node3 named[844]: error (network unreachable) resolving 'isc.org/ANY/IN': 2001:500:2c::254#53
    Nov 16 05:07:41 node3 named[844]: error (network unreachable) resolving 'isc.org/ANY/IN': 2001:500:2c::254#53
    Nov 16 05:07:52 node3 named[844]: error (network unreachable) resolving 'isc.org/ANY/IN': 2001:500:2c::254#53
    Nov 16 05:08:02 node3 named[844]: error (network unreachable) resolving 'isc.org/ANY/IN': 2001:500:2c::254#53
    In CentOS I think there's no other mail log...
     
  4. Rashef

    Rashef New Member

    Ok, I missed these errors that I think it is the real problem:

    Code:
    Nov 16 05:25:24 node3 dovecot: auth: Error: Can't open configuration file /etc/dovecot-sql.conf: No such file or directory
    Nov 16 05:25:35 node3 postfix/smtpd[13865]: fatal: no SASL authentication mechanisms
    
    EDIT: and this led me to two simple symlinks that solved the issue ^^"
    Code:
    ln -s /etc/dovecot/dovecot-sql.conf /etc/dovecot-sql.conf
    ln -s /etc/dovecot/dovecot.conf /etc/dovecot.conf
     
    Last edited: Nov 16, 2013

Share This Page