Silly question. Currently I have Postfix using Spamassassin as a content
filter thus;

smtp      inet  n       -       -       -       10       smtpd
        -o content_filter=spamassassin
...
spamassassin unix -     n       n       -       -       pipe
        user=spamd argv=/usr/bin/spamc -f -e
        /usr/sbin/sendmail -oi -f ${sender} ${recipient}

It's nice and dandy but could this be changed to filter and reject at an
SMTP level rather than after accepting the message? My thoughts are
along this line;

Spamassassin is much slower in processing than Postfix and there will be
a bottleneck

Spamassassin is a content filter and can only work *after* the LF . LF

Then to offset this;

I'm only running a small server with a few mails per minute - so it's
not going to kill it.

I can block at SMTP level with Postfix native Body Filter.

The reason I ask is this bounce;

...
<ia...@varna.net>: host mail.varna.net[217.145.80.1] said: 550 5.7.1
Blocked by
    SpamAssassin (in reply to end of DATA command)
...

I'm still discovering great things with Postfix everyday, so my
experience is no way as good as most people here - so excuse the stupid
question. Each day is a learning curve.

Reply via email to