ISPconfig 3: can't send or receive messages

Discussion in 'Installation/Configuration' started by zogthegreat, May 15, 2010.

  1. zogthegreat

    zogthegreat Member

    Hi everyone,

    Just installed ISPconfig on CentOS, following this guide: http://www.howtoforge.com/perfect-server-centos-5.4-x86_64-ispconfig-3 .

    The web server is worknig fine, however, like many others, I can not get my e-mails to send or receive. Here is the output of tail -f /var/log/maillog :

    May 14 22:45:59 ispconfig postfix/smtp[26817]: 21C831487C4: to=<[email protected]>, relay=none, delay=115241, delays=115241/0.07/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 22:45:59 ispconfig postfix/smtp[26816]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    May 14 22:45:59 ispconfig postfix/smtp[26816]: C75BC148852: to=<[email protected]>, relay=none, delay=1550, delays=1550/0.18/0.04/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 22:45:59 ispconfig postfix/smtp[26817]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    May 14 22:45:59 ispconfig postfix/smtp[26816]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    May 14 22:45:59 ispconfig postfix/smtp[26817]: 0F66A1487CB: to=<[email protected]>, relay=none, delay=114917, delays=114916/0.27/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 22:45:59 ispconfig postfix/smtp[26816]: 578511482D3: to=<[email protected]>, relay=none, delay=116750, delays=116750/0.28/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: EE29D148841: to=<[email protected]>, relay=none, delay=15099, delays=15099/0.32/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: E615714883E: to=<[email protected]>, relay=none, delay=24777, delays=24777/0.34/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: E0AA0148800: to=<[email protected]>, relay=none, delay=68340, delays=68340/0.36/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: 3469C148842: to=<[email protected]>, relay=none, delay=15080, delays=15080/0.37/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: 4356014884F: to=<[email protected]>, relay=none, delay=1628, delays=1627/0.39/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: 8056414883F: to=<[email protected]>, relay=none, delay=24858, delays=24858/0.4/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: 1E4A41487C6: to=<[email protected]>, relay=none, delay=52911, delays=52910/0.41/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: BF062148314: to=<[email protected]>, relay=none, delay=116526, delays=116526/0.41/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: BED09148342: to=<[email protected]>, relay=none, delay=116310, delays=116310/0.42/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: B81D414830D: to=<[email protected]>, relay=none, delay=116554, delays=116554/0.43/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: 9F889148848: to=<[email protected]>, relay=none, delay=1583, delays=1583/0.45/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:45:59 ispconfig postfix/qmgr[15416]: DC32D148816: to=<[email protected]>, relay=none, delay=53021, delays=53021/0.46/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
    May 14 18:46:31 ispconfig imapd: Connection, ip=[::ffff:127.0.0.1]
    May 14 18:46:31 ispconfig imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[50047], protocol=IMAP
    May 14 18:46:31 ispconfig imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=87, sent=391, time=0

    netstat -tap gives this:

    [root@ispconfig log]# 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.localdomain:10025 *:* LISTEN 15413/master
    tcp 0 0 *:mysql *:* LISTEN 1605/mysqld
    tcp 0 0 localhost.local:dyna-access *:* LISTEN 1517/clamd
    tcp 0 0 *:sunrpc *:* LISTEN 1321/portmap
    tcp 0 0 *:ndmp *:* LISTEN 1912/perl
    tcp 0 0 *:ftp *:* LISTEN 1810/pure-ftpd (SER
    tcp 0 0 ispconfig.ohsmeg.net:domain *:* LISTEN 1639/mydns
    tcp 0 0 localhost.localdomai:domain *:* LISTEN 1639/mydns
    tcp 0 0 *:smtp *:* LISTEN 15413/master
    tcp 0 0 *:imaps *:* LISTEN 1700/couriertcpd
    tcp 0 0 *:pop3s *:* LISTEN 1712/couriertcpd
    tcp 0 0 *:pop3 *:* LISTEN 1706/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 1693/couriertcpd
    tcp 0 0 *:webcache *:* LISTEN 1794/httpd
    tcp 0 0 *:http *:* LISTEN 1794/httpd
    tcp 0 0 *:tproxy *:* LISTEN 1794/httpd
    tcp 0 0 *:ftp *:* LISTEN 1810/pure-ftpd (SER
    tcp 0 0 localhost6.localdoma:domain *:* LISTEN 1639/mydns
    tcp 0 0 *:ssh *:* LISTEN 1453/sshd
    tcp 0 0 *:https *:* LISTEN 1794/httpd
    tcp 0 0 ispconfig.ohsmeg.net:ssh ::ffff:192.168.0.200:50934 ESTABLISHED 6233/0

    When I telnet, I get this:

    [root@ispconfig log]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    220 ispconfig.ohsmeg.net ESMTP Postfix
    quit
    221 2.0.0 Bye
    Connection closed by foreign host.

    If anyone has a suggestion where I should start looking, please let me know. I can post more info if necessary.

    Thanks

    zog
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please restart amavisd.
     
  3. zogthegreat

    zogthegreat Member

    Hi Falco,

    I did as you suggested, however, I am now having a new problem.

    When I do tail -f /var/log/maillog, I get the following;

    May 16 10:18:26 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[47117], protocol=IMAP
    May 16 10:18:26 server1 imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=301, sent=1015, time=0
    May 16 10:18:27 server1 postfix/qmgr[2654]: fatal: unsupported dictionary type: mysql
    May 16 10:18:28 server1 postfix/master[1771]: warning: process /usr/libexec/postfix/qmgr pid 2654 exit status 1
    May 16 10:18:28 server1 postfix/master[1771]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
    May 16 10:18:44 server1 sendmail[2655]: o4GEIiKA002655: Authentication-Warning: server1.example.com: apache set sender to [email protected] using -f
    May 16 10:18:44 server1 sendmail[2655]: o4GEIiKA002655: [email protected], size=527, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost
    May 16 10:19:14 server1 postfix/smtpd[2691]: fatal: unsupported dictionary type: mysql
    May 16 10:19:15 server1 postfix/master[1771]: warning: process /usr/libexec/postfix/smtpd pid 2691 exit status 1
    May 16 10:19:15 server1 postfix/master[1771]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    May 16 10:19:28 server1 postfix/qmgr[2693]: fatal: unsupported dictionary type: mysql
    May 16 10:19:29 server1 postfix/master[1771]: warning: process /usr/libexec/postfix/qmgr pid 2693 exit status 1
    May 16 10:19:29 server1 postfix/master[1771]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling


    Any suggestions what I did wrong?

    Thanks

    zog
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. zogthegreat

    zogthegreat Member

    Hi falko,

    I did as you suggested and rebuilt postfix. However, I am still having problems with sending and receiving.

    After rebuilding I did the following:

    sa-update
    service amavisd restart

    However, when I try to send an email, I get this error:

    tail -f /var/log/maillog

    May 21 15:07:24 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[48023], protocol=IMAP
    May 21 15:07:24 server1 imapd: DISCONNECTED, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=95, time=0
    May 21 15:07:41 server1 sendmail[21597]: o4LJ7f3w021597: Authentication-Warning: server1.example.com: apache set sender to [email protected] using -f
    May 21 15:07:41 server1 sendmail[21597]: o4LJ7f3w021597: [email protected], size=535, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost
    May 21 15:07:41 server1 sendmail[21597]: o4LJ7f3w021597: [email protected], [email protected] (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30535, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    May 21 15:07:41 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
    May 21 15:07:41 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[48026], protocol=IMAP

    any suggestions?

    thanks

    zog
     
  6. zogthegreat

    zogthegreat Member

    update,
    I tried runnig the following commands;

    postconf -e 'inet_interfaces = all'
    /etc/init.d/postfix restart

    Now I am getting the following errors:
    May 21 15:18:44 server1 imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[33827], protocol=IMAP
    May 21 15:18:44 server1 imapd: DISCONNECTED, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=46, sent=95, time=0
    May 21 15:19:02 server1 sendmail[22654]: o4LJJ1Vu022654: Authentication-Warning: server1.example.com: apache set sender to [email protected] using -f
    May 21 15:19:02 server1 sendmail[22654]: o4LJJ1Vu022654: [email protected], size=555, class=0, nrcpts=2, msgid=<[email protected]>, relay=apache@localhost
    May 21 15:19:02 server1 postfix/smtpd[22664]: fatal: unsupported dictionary type: mysql
    May 21 15:19:03 server1 postfix/master[22608]: warning: process /usr/libexec/postfix/smtpd pid 22664 exit status 1
    May 21 15:19:03 server1 postfix/master[22608]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    May 21 15:19:28 server1 postfix/qmgr[22702]: fatal: unsupported dictionary type: mysql
    May 21 15:19:29 server1 postfix/master[22608]: warning: process /usr/libexec/postfix/qmgr pid 22702 exit status 1
    May 21 15:19:29 server1 postfix/master[22608]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
    May 21 15:20:03 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
    May 21 15:20:03 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]


    Any suggestions would be appreciated, my head is getting sore form banging it on my desk!

    thaks

    zog
     
  7. falko

    falko Super Moderator Howtoforge Staff

    There's still no MySQL support in Postfix. I guess something went wrong when you rebuilt it.
     

Share This Page