Feb 1 10:13:45 websites postfix/smtp[27740]: 1EA3D7EDCF: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.02, delays=0.01/0/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting) Odd messages in my mail,log file, cant receive mail now, seems like amavis is down even though i start it? Any help appreciated...
and... Feb 1 10:17:27 websites postfix/error[28140]: 62C427EDD4: to=<[email protected]>, relay=none, delay=0.04, delays=0.03/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
Monday... I upgrade ispconfig, since then weird stuff has been happening, cant pin it down.... its all random, but only affecting mail service
it would seem amavis keeps dying ?? i stop and start it, i can telnet to that port then about 30 seconds later i cannot telnet anymore to that port and i get those errors in the logs ??
and now... Feb 1 10:32:42 mx1 amavis[2546]: (02546-01) (!)WARN: all primary virus scanners failed, considering backups Feb 1 10:32:42 mx1 amavis[2547]: (02547-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory Feb 1 10:32:42 mx1 amavis[2547]: (02547-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 115) line 613.
So i rebooted and mail seems to work for the moment... but now i see for one domain "mail loops back to myself" 2box.ca my hostname is mx1.2box.ca and in postfix myhostname is that too...
Ok, so first start to check why clamav server is not running on your system anymore. try to start it and then check if it is running and if it does not start, then check the clamav logs to find out why.
Ensure that the server hostname is also listed as myhostname in postfix main.cf and in the mydestination line in postfix main.cf.
ok was not listed in mydestination in main.cf, i added it: root@mx1:/var/log/clamav# grep mydest /etc/postfix/main.cf mydestination = mx1.2box.ca localhost, localhost.localdomain root@mx1:/var/log/clamav# grep myhos /etc/postfix/main.cf myhostname = mx1.2box.ca root@mx1:/var/log/clamav# cat /etc/hostname mx1.2box.ca
clam seems ok now after i restarted it, not sure why... I will keep an eye on it. Thanks for your help so far..