Thanx for your great help sandy ;) But it seems that spamd cannot start. i tryied : # /etc/init.d/spamd start The error given is : The -a option has been removed. Please look at the use_auto_whitelist config option instead. Laurent Renard Epicuri@ Websolutions www.epicuria.be http://epicuria.be 114, Rue Vandervelde 7033 MONS ( BELGIUM ) TEL/FAX : +32 65 31 77 81 SKYPE : leolargo2004 ------------------------------------------------ Scanned with Clamav Antivirus on Procmail Server This e-mail and any attachment thereto is confidential and are intended for the sole use of the recipient(s) named above. Any use of the information contenaid herein is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation Ce message electronique, y compris tout document joint, est confidentiel. Si vous n'etes pas le destinataire de ce message, toute divulgation, copie ou utilisation en est interdite. Si vous avez recu ce message par erreur, veuillez le detruire et en informer immediatement l'expediteur. Merci de votre collaboration Sandy Drobic wrote:
Laurent Renard wrote:
Here is a part off my mail.err : Jan 13 10:21:20 mail spamc[24768]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Excellent! That is an error message we can work with. postfix is trying to pass the mail to spamassassin and doesn't get a connect. Probably because the service isn't running.
katgar:~ # netstat -tulpen | grep spam tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 0 4095 1878/spamd -d -c -a
Here you can see that spamd is started and listening on port 783. If you don't see such a line you need to start the service first. Try to start spamassassin and give the deferred queue a kick to see if that already solves the problem.
/etc/init.d/spamd start postsuper -r ALL
Then check your maillog again to see if that solved the problem. If you you need to tell your system to start the service spamd at boot time.
I definitely recommend to install and start the package amavisd-new. It is a set of scripts that can be easily configured to run the virus scanner and spamassassin.
Sandy