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

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to