I am currently using amavisd-new with SA on postfix and quarantining to
local bsmtp file with following settings in amavisd.conf (amavisd-new
uses sql lookups):

$QUARANTINEDIR = '/var/quarantine';
$final_spam_destiny       = D_DISCARD;
$spam_quarantine_method = "bsmtp:$QUARANTINEDIR/spam-%b-%i-%n.bsmtp";
$spam_quarantine_to = 'spam_quarantine';  #<== comes from sql lookups,
not amavisd.conf


I would like to switch this up to have spam delivered to a 'spam'
subfolder in the recipient's mailbox.  From looking through the sample
config file, I think I need one or other of the following setups:

$final_spam_destiny = D_PASS;
@addr_extension_spam_maps   = ('spam');
$recipient_delimiter = '+';

Or else I need to:

$final_spam_destiny       = D_DISCARD;
@spam_quarantine_to_maps = (
  new_RE( [qr'^(.*)@(.*)$'i => '[EMAIL PROTECTED]'] ),
  $spam_quarantine_to,
);

My problems: 
1) I don't have a testing server, so I need to leave most accounts as-is
while I test with a few mailboxes. 
2) The first option requires setting $final_spam_destiny = D_PASS, which
is global as far as I can tell, right?  No $final_spam_destiny_maps?
This means that I can't even test this option, I think.
3) I'm confused about the @spam_quarantine_to_maps option in the second
config.  Since I'm using SQL lookups and everyone has a
"spam_quarantine_to" field set to "spam-quarantine", will that override
the value of @spam_quarantine_maps?  Is there something I can set the
"spam_quarantine_to" field to in the database that would send to a
'spam' submailbox for a particular user?


Dan Horne
Web Services Administrator
TAIS / Wilcox Travel Agency
[EMAIL PROTECTED] 



CONFIDENTIALITY NOTICE:
This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
Any unauthorized review, use, disclosure or distribution is prohibited. If you 
are not the intended recipient, please contact the sender by reply email and 
destroy all copies of the original message.
 
SPAM-FREE 1.0(2476)


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

Reply via email to