[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix MTA and amavisd-new (Debian) calls clamd and spamassassin on a mailgateway (success)


You don't use Amavis? If it's a production box, plaese don't. On the clamd homepage ist written (FAQ) that rogue e-mails may crash the clamd, preventing furter mail from being delivered and scanned. It's the (experimental) clamd feature "ScanMail". Workaround: Let Amavis unpack the attachments and use clam only for scanning. (I had a stuck MTA every two weeks)

To "activate" amavis use something like this:

content_filter = smtp-amavis:[]:10024
(see: /usr/share/doc/amavisd-new/README.postfix.gz)

With Spamc/d you could also think about:

cat /etc/procmailrc
# Spamassassin
| /usr/bin/spamc

I weant spam only to be filtered when delivered locally, i.e. I don't want outgoing mail to be tagghed as spam, this sometimes happened. Amavis alterntively has a "local domains" variable.



Andreas John
net-lab GmbH
Luisenstrasse 30b
63067 Offenbach
Tel: +49 69 85700331


Reply to: