Maurizio,
> this is a squeeze box fully updated
> i would use blacklist_from and blacklist_to to block mails in and out for
> some mail addresses. i have tried to insert them into
> /etc/spamassassin/local.cf
It should work.
> adding them at the end like here
>
> [code]
> blacklist_from someone at somedomain . com
> blacklist_to someone at somedomain . com
> endif # Mail::SpamAssassin::Plugin::Shortcircuit
> [/code]
The blacklist_from has nothing to do with Plugin::Shortcircuit,
don't enclose it in its conditional section. Also, no spaces
around dots in an mail address domain.
> but amavis does not take it in account ;(
> it is like it should be or am i missing some piece?
Test it first with a command-line spamassassin,
running under the same username as amavid, e.g.:
# su vscan -c 'spamassassin -t <test.msg'
Mark
|