Re: [AMaViS-user] spam_quarantine_to problem

2007-01-16 Thread Mark Martinec
Detlev,

 I'm trying something like:
 $spam_quarantine_to = new_RE(
 [EMAIL PROTECTED] = [EMAIL PROTECTED]
 [EMAIL PROTECTED] = [EMAIL PROTECTED]
 [EMAIL PROTECTED] = [EMAIL PROTECTED] );

While Gary's post does reply exactly to your question,
I believe the original intention was different.

It looks to me you want spam mail for some recipients passed
(possibly to a dedicated user's folder) and not quarantined,
while for remaining users it should be blocked and quarantined.

For the former the settings should list these recipients as
spam lovers, optionally appending address extension (e.g. +spam)
to passed spam, and quarantining disabled.

For the rest quarantining should be enabled and spam blocked.

The subtle difference here becomes apparent with multi-recipient
messages. Quarantining works at a message level (not recipient level),
so a quarantined message contains information about all recipients
of a message. Despite the fact that there may be more than one
quarantine address, all quarantined copies are the same and are not
personalized. Feeding such directly to a user's mailbox violates
sender's privacy.

  Mark

-
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.phpp=sourceforgeCID=DEVDEV
___
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/


Re: [AMaViS-user] spam_quarantine_to problem

2007-01-15 Thread Gary V
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.phpp=sourceforgeCID=DEVDEV
___
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/


[AMaViS-user] spam_quarantine_to problem

2007-01-14 Thread Detlev Jaeger
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.

-
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.phpp=sourceforgeCID=DEVDEV
___
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/