HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Cant get Mail to work (http://www.howtoforge.com/forums/showthread.php?t=37165)

samcamfilms 2nd July 2009 15:47

Cant get Mail to work
 
Hey Their,

I have setup a server on a VPS, Debian Etch

Installed ispconfig3.

We use googleapps for our emails etc.

Why cant i get forums etc to send the user their password reset link.

Looking at logs etc i get connection refused.

What do i need to do to make web applications send mail from its systems.

You will be rewarded if it works!!!

sam@wirelesscommunications.co.nz

Cheers

Sam

till 3rd July 2009 11:39

Please take a look at your mail log and post the errors that you get there wehn you snd an email.

samcamfilms 3rd July 2009 12:21

re
 
This is what i get...

Followed etch tutorial.

Sam


Jul 3 09:25:01 srvweb postfix/smtpd[25857]: connect from srvweb[127.0.0.1]
Jul 3 09:25:01 srvweb postfix/smtpd[25857]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:25:01 srvweb postfix/smtpd[25857]: disconnect from srvweb[127.0.0.1]
Jul 3 09:25:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:25:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:25:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:25:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 09:27:51 srvweb postfix/qmgr[2257]: DA1E11425E: from=, size=1626, nrcpt=1 (queue active)
Jul 3 09:27:51 srvweb postfix/smtp[25889]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 09:27:51 srvweb postfix/smtp[25889]: DA1E11425E: to=, relay=none, delay=71714, delays=71713/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 09:30:03 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:30:03 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:30:03 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:30:03 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 09:30:05 srvweb postfix/smtpd[25926]: connect from srvweb[127.0.0.1]
Jul 3 09:30:05 srvweb postfix/smtpd[25926]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:30:05 srvweb postfix/smtpd[25926]: disconnect from srvweb[127.0.0.1]
Jul 3 09:35:01 srvweb postfix/smtpd[25993]: connect from srvweb[127.0.0.1]
Jul 3 09:35:01 srvweb postfix/smtpd[25993]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:35:01 srvweb postfix/smtpd[25993]: disconnect from srvweb[127.0.0.1]
Jul 3 09:35:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:35:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:35:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:35:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 09:37:51 srvweb postfix/qmgr[2257]: 4FE531426B: from=, size=1627, nrcpt=1 (queue active)
Jul 3 09:37:51 srvweb postfix/qmgr[2257]: EA1F11425C: from=, size=1093, nrcpt=1 (queue active)
Jul 3 09:37:51 srvweb postfix/smtp[26025]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 09:37:51 srvweb postfix/smtp[26026]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 09:37:51 srvweb postfix/smtp[26026]: EA1F11425C: to=, relay=none, delay=122182, delays=122182/0.06/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 09:37:51 srvweb postfix/smtp[26025]: 4FE531426B: to=, orig_to=, relay=none, delay=357109, delays=357109/0.08/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 09:40:01 srvweb postfix/smtpd[26091]: connect from srvweb[127.0.0.1]
Jul 3 09:40:01 srvweb postfix/smtpd[26091]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:40:01 srvweb postfix/smtpd[26091]: disconnect from srvweb[127.0.0.1]
Jul 3 09:40:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:40:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:40:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:40:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 09:45:01 srvweb postfix/smtpd[26158]: connect from srvweb[127.0.0.1]
Jul 3 09:45:01 srvweb postfix/smtpd[26158]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:45:01 srvweb postfix/smtpd[26158]: disconnect from srvweb[127.0.0.1]
Jul 3 09:45:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:45:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:45:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:45:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 09:47:51 srvweb postfix/qmgr[2257]: 72D191425B: from=, size=1093, nrcpt=1 (queue active)
Jul 3 09:47:51 srvweb postfix/qmgr[2257]: B6A4A1425A: from=, size=1627, nrcpt=1 (queue active)
Jul 3 09:47:51 srvweb postfix/smtp[26192]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 09:47:51 srvweb postfix/smtp[26191]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 09:47:51 srvweb postfix/smtp[26191]: 72D191425B: to=, relay=none, delay=180906, delays=180906/0.05/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 09:47:51 srvweb postfix/smtp[26192]: B6A4A1425A: to=, orig_to=, relay=none, delay=184909, delays=184909/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 09:50:01 srvweb postfix/smtpd[26230]: connect from srvweb[127.0.0.1]
Jul 3 09:50:01 srvweb postfix/smtpd[26230]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:50:01 srvweb postfix/smtpd[26230]: disconnect from srvweb[127.0.0.1]
Jul 3 09:50:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:50:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:50:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:50:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 09:55:01 srvweb postfix/smtpd[26296]: connect from srvweb[127.0.0.1]
Jul 3 09:55:01 srvweb postfix/smtpd[26296]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 09:55:01 srvweb postfix/smtpd[26296]: disconnect from srvweb[127.0.0.1]
Jul 3 09:55:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:55:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 09:55:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 09:55:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 10:00:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 10:00:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 10:00:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 10:00:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 10:00:01 srvweb postfix/smtpd[26364]: connect from srvweb[127.0.0.1]
Jul 3 10:00:01 srvweb postfix/smtpd[26364]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 10:00:01 srvweb postfix/smtpd[26364]: disconnect from srvweb[127.0.0.1]
Jul 3 10:02:51 srvweb postfix/qmgr[2257]: 728CE14272: from=, size=1059, nrcpt=1 (queue active)
Jul 3 10:02:51 srvweb postfix/qmgr[2257]: CA4D414262: from=, size=1627, nrcpt=1 (queue active)
Jul 3 10:02:51 srvweb postfix/qmgr[2257]: 8C8A414252: from=, size=854, nrcpt=1 (queue active)
Jul 3 10:02:51 srvweb postfix/smtp[9292]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 10:02:51 srvweb postfix/smtp[9293]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 10:02:51 srvweb postfix/smtp[9293]: 728CE14272: to=, relay=none, delay=273173, delays=273173/0.08/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 10:02:51 srvweb postfix/smtp[9292]: CA4D414262: to=, orig_to=, relay=none, delay=13012, delays=13012/0.08/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 10:02:51 srvweb postfix/smtp[9293]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 10:02:51 srvweb postfix/smtp[9293]: 8C8A414252: to=, relay=none, delay=273173, delays=273173/0.14/0.02/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 10:05:02 srvweb postfix/smtpd[9330]: connect from srvweb[127.0.0.1]
Jul 3 10:05:02 srvweb postfix/smtpd[9330]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 10:05:02 srvweb postfix/smtpd[9330]: disconnect from srvweb[127.0.0.1]
Jul 3 10:05:02 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 10:05:02 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 10:05:02 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 10:05:02 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 3 10:06:11 srvweb postfix/scache[9296]: statistics: start interval Jul 3 10:02:51
Jul 3 10:06:11 srvweb postfix/scache[9296]: statistics: domain lookup hits=0 miss=1 success=0%
Jul 3 10:06:11 srvweb postfix/scache[9296]: statistics: address lookup hits=0 miss=1 success=0%
Jul 3 10:07:51 srvweb postfix/qmgr[2257]: 5D12114274: from=, size=808, nrcpt=1 (queue active)
Jul 3 10:07:51 srvweb postfix/smtp[9362]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul 3 10:07:51 srvweb postfix/smtp[9362]: 5D12114274: to=, relay=none, delay=248105, delays=248105/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul 3 10:10:01 srvweb postfix/smtpd[9410]: connect from srvweb[127.0.0.1]
Jul 3 10:10:01 srvweb postfix/smtpd[9410]: lost connection after CONNECT from srvweb[127.0.0.1]
Jul 3 10:10:01 srvweb postfix/smtpd[9410]: disconnect from srvweb[127.0.0.1]
Jul 3 10:10:01 srvweb pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 3 10:10:01 srvweb pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 3 10:10:01 srvweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 10:10:01 srvweb imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0

Mark_NL 3rd July 2009 13:36

amavisd is probably not running
Jul 3 09:27:51 srvweb postfix/smtp[25889]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused

amavisd runs on port 10024

voidzero 5th July 2009 12:29

I wonder what reward you'll get!! ;)

ds0101 30th July 2009 18:28

I am having a similar issue. How can I check to see that amavisd is running?

Why would this service not start automatically?

*I can connect with Thunderbird and Outlook to the mail server, just cannot pass any mail.

Ideas for troubleshooting?

Mark_NL 31st July 2009 09:11

Quote:

Originally Posted by voidzero (Post 197377)
I wonder what reward you'll get!! ;)

man i'm chewing my nails for weeks now, still no reward!! :D

Quote:

Originally Posted by ds0101
I am having a similar issue. How can I check to see that amavisd is running?

Why would this service not start automatically?

*I can connect with Thunderbird and Outlook to the mail server, just cannot pass any mail.

Ideas for troubleshooting?

netstat -tan | grep 10024 | grep LISTEN

It should start automaticly, but probably it cannot start because of an error.

you can start it with
Code:

/etc/init.d/amavisd start
and check your /var/log/syslog for amavisd errors

ds0101 31st July 2009 17:59

Well I don't see the daemon in init.d for amavisd. How can I check to see if it's installed?

If it isn't installed, can I add it? Or will I need to reconfig?


All times are GMT +2. The time now is 12:46.

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