HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ISPconfig 3: can't send or receive messages (http://www.howtoforge.com/forums/showthread.php?t=45836)

zogthegreat 15th May 2010 00:58

ISPconfig 3: can't send or receive messages
 
Hi everyone,

Just installed ISPconfig on CentOS, following this guide: http://www.howtoforge.com/perfect-se...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=<root@ispconfig.ABC.net>, 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=<bill@ABC.net>, 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=<root@ispconfig.ABC.net>, 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=<calvin@DEF.com>, 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=<w.XXX@sympatico.ca>, 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=<bill@ABC.net>, 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=<calvin@DEF.com>, 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=<bill@ABC.net>, 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=<w.XXX@sympatico.ca>, 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=<w.XXX@sympatico.ca>, 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=<root@ispconfig.ABC.net>, 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=<psotmaster@DEF.com>, 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=<CALVIN@DEF.COM>, 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=<psotmaster@ABC.net>, 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=<w.XXX@sympatico.ca>, 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=<root@ispconfig.ABC.net>, 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, XXX=bill@ABC.net, ip=[::ffff:127.0.0.1], port=[50047], protocol=IMAP
May 14 18:46:31 ispconfig imapd: LOGOUT, XXX=bill@ABC.net, 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

falko 15th May 2010 19:42

Please restart amavisd.

zogthegreat 16th May 2010 16:32

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, user=bill@XXX.net, ip=[::ffff:127.0.0.1], port=[47117], protocol=IMAP
May 16 10:18:26 server1 imapd: LOGOUT, user=bill@XXX.net, 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 bill@XXX.net using -f
May 16 10:18:44 server1 sendmail[2655]: o4GEIiKA002655: from=bill@XXX.net, size=527, class=0, nrcpts=1, msgid=<61194.192.168.0.1.1274019524.squirrel@XXX.n et>, 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

falko 17th May 2010 14:46

Quote:

Originally Posted by zogthegreat (Post 228283)
May 16 10:18:27 server1 postfix/qmgr[2654]: fatal: unsupported dictionary type: mysql

Did you rebuild Postfix as shown in chapter 11 on http://www.howtoforge.com/perfect-se...ispconfig-3-p4 ?

zogthegreat 21st May 2010 21:15

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, user=bill@XXX.com, ip=[::ffff:127.0.0.1], port=[48023], protocol=IMAP
May 21 15:07:24 server1 imapd: DISCONNECTED, user=bill@XXX.com, 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 bill@XXX.net using -f
May 21 15:07:41 server1 sendmail[21597]: o4LJ7f3w021597: from=bill@XXX.net, size=535, class=0, nrcpts=1, msgid=<55947.192.168.0.1.1274468861.squirrel@www.X XX.net>, relay=apache@localhost
May 21 15:07:41 server1 sendmail[21597]: o4LJ7f3w021597: to=X.XXX.@sympatico.ca, ctladdr=bill@XXX.net (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, user=bill@XXX.net, ip=[::ffff:127.0.0.1], port=[48026], protocol=IMAP

any suggestions?

thanks

zog

zogthegreat 21st May 2010 21:22

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, user=bill@XXX.net, ip=[::ffff:127.0.0.1], port=[33827], protocol=IMAP
May 21 15:18:44 server1 imapd: DISCONNECTED, user=bill@XXX.net, 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 bill@XXX.net using -f
May 21 15:19:02 server1 sendmail[22654]: o4LJJ1Vu022654: from=bill@XXX.net, size=555, class=0, nrcpts=2, msgid=<35021.192.168.0.1.1274469541.squirrel@www.X XX.net>, 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

falko 22nd May 2010 14:45

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


All times are GMT +2. The time now is 04:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.