This is a discussion on Re: [AMaViS-user] One more question regarding policy bank configuration: quarantine via smtp within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Sven, > I've been trying to set up policy banks that quarantine to an > email address. Using the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Sven,
> I've been trying to set up policy banks that quarantine to an > email address. Using the setting > $policy_bank{} = { > *_quarantine_method => "quarantine\@mydoma.in" > } > or => "local:quarantine\@mydoma.in" > doesn't seem to work. The GTUBE mail gets tagged, but then > passed on to the original recipient. > $QUARANTINEDIR is set to a local path. > > Would I need to use the *_quarantine_to_maps to make this > work? The *_quarantine_method is just a documentation shorthand, you need to supply the specific variables, i.e.: virus_quarantine_method, spam_quarantine_method, banned_files_quarantine_method, bad_header_quarantine_method. The value of these variables look like 'local:virus-%m', and not like "quarantine\@mydoma.in". What you had in mind was variables: virus_quarantine_to, banned_quarantine_to, bad_header_quarantine_to, spam_quarantine_to which can supply a main address if the corresponding *_quarantine_method is 'local:...'. See http://www.ijs.si/software/amavisd/a...tml#quarantine Btw, you must supply a policy bank name, e.g. $policy_bank{'MYNETS'}, the $policy_bank{} is syntactically wrong. Mark ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |