Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th May 2010, 00:58
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 2 Times in 1 Post
Default 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 *op3s *:* LISTEN 1712/couriertcpd
tcp 0 0 *op3 *:* 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
Reply With Quote
Sponsored Links
  #2  
Old 15th May 2010, 19:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please restart amavisd.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
bswinnerton (9th September 2011)
  #3  
Old 16th May 2010, 16:32
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 2 Times in 1 Post
Default

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
Reply With Quote
The Following 2 Users Say Thank You to zogthegreat For This Useful Post:
Al-Muntaqim (10th March 2013), robertoshulze2257 (11th August 2014)
  #4  
Old 17th May 2010, 14:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by zogthegreat View Post
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 ?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st May 2010, 21:15
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 2 Times in 1 Post
Default

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
Reply With Quote
  #6  
Old 21st May 2010, 21:22
zogthegreat zogthegreat is offline
Member
 
Join Date: Jul 2008
Posts: 50
Thanks: 4
Thanked 2 Times in 1 Post
Default

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
Reply With Quote
  #7  
Old 22nd May 2010, 14:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

There's still no MySQL support in Postfix. I guess something went wrong when you rebuilt it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't receive mail - ISPConfig / Postfix stormalx Server Operation 9 26th October 2010 13:38
Unable to send, receive, and login to email. Using Roundcube, ISPConfig, Proxmox. djmixx07 Server Operation 23 29th March 2010 15:50
SquirrelMail -can't send or receive wpwood3 Installation/Configuration 3 24th March 2010 17:06
I can receive emails but i cant send any... Makis77 Installation/Configuration 1 3rd July 2009 08:30
Can send but not receive emails (Ubuntu 7.10) chillifire Installation/Configuration 7 15th December 2007 21:35


All times are GMT +2. The time now is 21:59.


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