Re: [AMaViS-user] Mapping spam to two different mail account

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 ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-18-2008
Jeremy Laidman
 
Posts: n/a
Default Re: [AMaViS-user] Mapping spam to two different mail account

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/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0