This is a discussion on Re: [AMaViS-user] Mapping spam to two different mail account within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On 3/18/08, Harald ARNOLD <listen@arnold.at> wrote: > > I inserted a "!" that ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 3/18/08, Harald ARNOLD <listen@arnold.at> wrote:
> > I inserted a "!" that all correct > mails should go to spamadmin: .... > [qr'!^spamall@arnold\.at$'i => 'spamadmin@arnold.at'] ); I don't believe you can use "!" like this in a hash list, only in an ACL list. However, because the hash list is processed in order, you can simply include a catch-all clause second, like this: [BEGIN] $spam_quarantine_to = new_RE( # per-recip multiple [qr'^spamall@arnold\.at$'i => 'spamall@arnold.at'], [qr'^' => 'spamadmin@arnold.at'] ); [END] Cheers Jeremy ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/ |