Re: [AMaViS-user] difficulty setting outgoing policy-bank
On 4/18/08, Mark Martinec wrote:
> > Gary V wrote: > > warnspamsender => 1, > > I'm not sure if warnspamsender works here, or if it would require some > > form of warnsender_by_ccat > > If it is listed as dynamic variable at the end of amavisd.conf-default > it would work, otherwise it wouldn't (answer: it wouldn't). > The heavier cannon needs to be used, its default is: > > %warnsender_by_ccat = ( # deprecated use, except perhaps for CC_BADH > CC_VIRUS, sub { c('warnvirussender') }, > CC_BANNED, sub { c('warnbannedsender') }, > CC_SPAM, sub { c('warnspamsender') }, > CC_BADH, sub { c('warnbadhsender') }, > ); > > so the following could be used in a policy bank: > > warnsender_by_ccat => {CC_SPAM, 1}, > > > Mark
That is the syntax I would have guessed if forced to. If that's the
case, then there might be an errata in the MYNETS example in
amavisd.conf-sample (2.5.4 - have not looked at 2.6.0) where
warnbadhsender => 1, is illustrated.
--
Gary V
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:
http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:
http://www.amavis.org/howto/
Received on Fri Apr 18 10:02:46 2008
This archive was generated by hypermail 2.1.8
: Tue Jul 29 2008 - 23:11:09 EDT
|