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)
-   -   Mail Problem (http://www.howtoforge.com/forums/showthread.php?t=55234)

filmpercaso 5th December 2011 00:24

Mail Problem
 
Hi everyone.
By following "The Perfect Server - Ubuntu 11.04 [ISPConfig 3]" I managed to set up my online server at cloudweb.com. Everything seemed to be working fine, with the exception of incoming and outgoing emails.

On the generic ispconfig3 monitor all the service are on ok status, but if I go on mail queue log I get this:

Code:

Dec 4 15:57:11 ubuntu postfix/smtp[9067]: 4E87181FB: to=, relay=none, delay=38349, delays=38349/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Dec 4 15:57:11 ubuntu postfix/smtp[9068]: D3D41820C: to=, relay=none, delay=2161, delays=2161/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Dec 4 15:57:11 ubuntu postfix/smtp[9067]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Dec 4 15:57:11 ubuntu postfix/smtp[9067]: D8C5A81FF: to=, orig_to=, relay=none, delay=34290, delays=34290/0.03/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Dec 4 15:57:44 ubuntu pop3d: Connection, ip=[::ffff:109.255.33.110]
Dec 4 15:57:45 ubuntu pop3d: LOGIN, user=info@filmpercaso.com, ip=[::ffff:109.255.33.110], port=[49308]
Dec 4 15:57:45 ubuntu pop3d: LOGOUT, user=info@filmpercaso.com, ip=[::ffff:109.255.33.110], port=[49308], top=0, retr=0, rcvd=12, sent=39, time=0
Dec 4 15:58:44 ubuntu pop3d: Connection, ip=[::ffff:109.255.33.110]
Dec 4 15:58:45 ubuntu pop3d: LOGIN, user=info@filmpercaso.com, ip=[::ffff:109.255.33.110], port=[49313]
Dec 4 15:58:45 ubuntu pop3d: LOGOUT, user=info@filmpercaso.com, ip=[::ffff:109.255.33.110], port=[49313], top=0, retr=0, rcvd=12, sent=39, time=0
Dec 4 15:59:45 ubuntu pop3d: Connection, ip=[::ffff:109.255.33.110]
Dec 4 15:59:45 ubuntu pop3d: LOGIN, user=info@filmpercaso.com, ip=[::ffff:109.255.33.110], port=[49316]
Dec 4 15:59:45 ubuntu pop3d: LOGOUT, user=info@filmpercaso.com, ip=[::ffff:109.255.33.110], port=[49316], top=0, retr=0, rcvd=12, sent=39, time=0
Dec 4 16:00:01 ubuntu pop3d: Connection, ip=[::ffff:71.19.232.58]
Dec 4 16:00:01 ubuntu pop3d: LOGIN, user=info@filmpercaso.com, ip=[::ffff:71.19.232.58], port=[35661]
Dec 4 16:00:01 ubuntu pop3d: LOGOUT, user=info@filmpercaso.com, ip=[::ffff:71.19.232.58], port=[35661], top=0, retr=0, rcvd=18, sent=96, time=0
Dec 4 16:00:01 ubuntu pop3d: Connection, ip=[::ffff:127.0.0.1]
Dec 4 16:00:01 ubuntu pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Dec 4 16:00:01 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
Dec 4 16:00:01 ubuntu imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0

and on the mail log this:

Code:

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
4CA7D820B 1757 Sun Dec 4 14:58:16 SRS0=wG6PRr=6Q=about30.com=francesco@yourhostingaccount.com
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to end of DATA command))
test@filmpercaso.com

4E87181FB 652 Sun Dec 4 05:18:03 root@filmpercaso.com
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
info@filmpercaso.com

CE5E18209 1757 Sun Dec 4 14:42:47 SRS0=wG6PRr=6Q=about30.com=francesco@yourhostingaccount.com
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
test@filmpercaso.com

A5CE881FC 35567 Sun Dec 4 06:12:51 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
info@filmpercaso.com

7F837820F 35574 Sun Dec 4 15:32:58 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
test@filmpercaso.com

7A5258203 751 Sun Dec 4 11:53:58 info@filmpercaso.com
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to end of DATA command))
francesco@about30.com

F02E68205 35652 Sun Dec 4 14:06:45 francesco@entertainment.ie
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to end of DATA command))
test@filmpercaso.com

B4F6581FD 266432 Sun Dec 4 06:23:44 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
info@filmpercaso.com

B0EEB81FE 35575 Sun Dec 4 10:18:13 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
info@filmpercaso.com

B051D820E 35575 Sun Dec 4 15:30:03 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
test@filmpercaso.com

BD5178201 4486 Sun Dec 4 08:14:05 web2@filmpercaso.com
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=05940-07, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
francesco@about30.com

9443A8210 35576 Sun Dec 4 16:01:58 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
info@filmpercaso.com

9003A8208 35565 Sun Dec 4 14:28:35 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
test@filmpercaso.com

6563981FA 730 Sun Dec 4 08:40:07 info@filmpercaso.com
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
francesco@about30.com

D82E78200 836 Sun Dec 4 06:47:58 root@filmpercaso.com
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=05940-02, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
root@filmpercaso.com

D3D41820C 35581 Sun Dec 4 15:21:10 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
test@filmpercaso.com

D8EB08202 1642 Sun Dec 4 08:33:49 web2@filmpercaso.com
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
francesco@about30.com

D2C35820A 35596 Sun Dec 4 14:45:44 francesco@entertainment.ie
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
test@filmpercaso.com

D8C5A81FF 750 Sun Dec 4 06:25:41 root@filmpercaso.com
(connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
root@filmpercaso.com

My knowledge of Linux/Server Setups/etc is less the scarce, and before posting on this forum, I've spent one day trying to troubleshoot it myself.

Do you know what could have happened? I'm also willing to pay for a freelance (scratch that if this it is a violation of this forum) to make sure that everything is fine with my setup. Thanks in advance for your kind help

pititis 5th December 2011 05:22

Ciao,

Auguri, bel sito web!

Amavis is not running, blocked or with problems.

Try to check it with:

Code:

/etc/init.d/amavis restart
and try again. Also you can post the output from the command:

Code:

netstat -tlp
...e vediamo.

Cheers

filmpercaso 5th December 2011 15:02

Quote:

Originally Posted by pititis (Post 268815)
Ciao,

Auguri, bel sito web!

Amavis is not running, blocked or with problems.

Try to check it with:

Code:

/etc/init.d/amavis restart
and try again. Also you can post the output from the command:

Code:

netstat -tlp
...e vediamo.

Cheers

Hey, grazie mille per la risposta ;-)

I actually tried yesterday to restart amavisd but its status was already on running and it didn't change anything.
Anyhow I gave another try, but still on my mail queue I see this error:

Code:

AEB448206 35599 Mon Dec 5 06:53:29 francesco@entertainment.ie
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=16017-02, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
info@filmpercaso.com

Below is the netstat -tlp output.

Code:


root@filmpercaso:~# netstat -tlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        State      PID/Program name
tcp        0      0 vds64_ubuntu_11_1:10024 *:*                    LISTEN      16015/amavisd (mast
tcp        0      0 vds64_ubuntu_11_1:10025 *:*                    LISTEN      1694/master   
tcp        0      0 vds64_ubuntu_11_1:mysql *:*                    LISTEN      11849/mysqld   
tcp        0      0 *:http-alt              *:*                    LISTEN      11195/apache2 
tcp        0      0 *:www                  *:*                    LISTEN      11195/apache2 
tcp        0      0 *:tproxy                *:*                    LISTEN      11195/apache2 
tcp        0      0 10.8.200.1:domain      *:*                    LISTEN      2642/named     
tcp        0      0 71.19.232.58:domain    *:*                    LISTEN      2642/named     
tcp        0      0 vds64_ubuntu_11_:domain *:*                    LISTEN      2642/named     
tcp        0      0 *:ftp                  *:*                    LISTEN      2618/pure-ftpd (SER
tcp        0      0 *:ssh                  *:*                    LISTEN      434/sshd       
tcp        0      0 vds64_ubuntu_11_1:63000 *:*                    LISTEN      568/vmad-bin   
tcp        0      0 vds64_ubuntu_11_10:953  *:*                    LISTEN      2642/named     
tcp        0      0 *:smtp                  *:*                    LISTEN      1694/master   
tcp        0      0 *:https                *:*                    LISTEN      11195/apache2 
tcp6      0      0 [::]:imaps              [::]:*                  LISTEN      2534/couriertcpd
tcp6      0      0 [::]:pop3s              [::]:*                  LISTEN      2562/couriertcpd
tcp6      0      0 [::]:pop3              [::]:*                  LISTEN      2545/couriertcpd
tcp6      0      0 [::]:imap2              [::]:*                  LISTEN      2517/couriertcpd
tcp6      0      0 [::]:domain            [::]:*                  LISTEN      2642/named     
tcp6      0      0 [::]:ftp                [::]:*                  LISTEN      2618/pure-ftpd (SER
tcp6      0      0 [::]:ssh                [::]:*                  LISTEN      434/sshd       
tcp6      0      0 ::1%3735367861:953      [::]:*                  LISTEN      2642/named     
tcp6      0      0 [::]:smtp              [::]:*                  LISTEN      1694/master   
root@filmpercaso:~#

Thanks a mill for your kind help.

Grazie tante

till 5th December 2011 16:20

Quote:

ALL VIRUS SCANNERS FAILED
This indicates that calamv is not started as well. Please restart the clamav daemon.

filmpercaso 6th December 2011 18:29

It was a problem related to my hosts file configuration. This is in the process to be resolved by somebody more skilled than me. I will update you later if the solution could have a broader application than to my case only.
Cheers...

pititis 7th December 2011 05:28

Well,

really the problem was lack of memory in the vps. Some processes are killed for this reason and because there is no swap partition.

Cheers


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

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