Detlev wrote:
> Hello,
> I finally managed to operate amavisd-new in dual mailer mode. This works very
> good, but I have a problem with the spam-quarantine.
> It's not a real amavis-problem, it's a "regular expression problem":
> I'm trying something like:
> $spam_quarantine_to = new_RE(
> [EMAIL PROTECTED] => [EMAIL PROTECTED]
> [EMAIL PROTECTED] => [EMAIL PROTECTED]
> [EMAIL PROTECTED] => [EMAIL PROTECTED] );
> Can someone please guide me a way to the exact expressions ?
> Thanks in advance!
> Detlev.
Assuming your amavisd-new is not ancient, an example is in
amavisd.conf-sample:
#$spam_quarantine_to = "[EMAIL PROTECTED]";
#
[EMAIL PROTECTED] = ( # per-recip multiple quarantines
# new_RE( [qr'^(.*)@example\.com$'i => '[EMAIL PROTECTED]'] ),
# $spam_quarantine_to, # the usual default
#);
But there is no need to use regex in this particular case:
$spam_quarantine_to = '[EMAIL PROTECTED]';
@spam_quarantine_to_maps = (
{ '[EMAIL PROTECTED]' => '[EMAIL PROTECTED]',
'[EMAIL PROTECTED]' => '[EMAIL PROTECTED]',
},
$spam_quarantine_to,
);
Gary V
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/