* Juerg Reimann <[email protected]>: > Hello everybody, > > Please excuse my probably rather novice question but I couldn't find any hint > on this. The document at http://www.postfix.org/SMTPD_PROXY_README.html says > it should be possible to reject an email with a before-queue content filter > ... but how would I exactly accomplish this? > > What I want to do is reject what spamassassin considers spam (ok, I know the > cons, but I really want to do it this way), so what I have in my master.cf is: > > smtp inet n - n - - smtpd > -o content_filter=spamfilter:dummy > spamfilter unix - n n - - pipe > flags=Rq user=spamfilter argv=/.../spamfilter -f ${sender} -- ${recipient}
That's not possible to use in a smtp_proxy_filter setup, since it uses a "pipe" instead of a filter that speaks SMTP. Use a milter or amavisd-new (or, for that matter, any filter solution that speaks SMTP). -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 [email protected] | http://www.charite.de
