On Sat, October 20, 2007 2:45 am, Gary V wrote:

Gary,

I've been following your web resources, and, got maildrop installed,
installed your maildrop script;

but I'm still missing something in amavisd.conf, all spam and viruses
currently go to QUARANTINE /var/virusmail

what do I need to unhook spam/badh from /var/virusmail' and deliver to
user+spam ?

# grep recipient_d amavisd.conf
$recipient_delimiter = '+';  # undef disables address extensions altogether

# grep ddr_extension_spam_maps  amavisd.conf
@addr_extension_spam_maps       = ('spam');



> To get amavisd-new to rewrite the address to user+spam, in amavisd.conf,
> set:
> $recipient_delimiter = '+';
> @addr_extension_spam_maps = ('spam');
>
>
> And in main.cf, set:
> recipient_delimiter = +
>
> The addresses will be rewritten at tag2_level.
>
>
> Once the address is rewritten, what software is used to get the mail
> to a spam folder depends on what IMAP software you are using, whether mail
> is stored locally or remotely and whether you are using maildir or mbox.
> For example, if using Courier, you could configure maildrop
> to place the mail in a maildir spam folder; if using dovecot, you would use
> deliver.
>
> I see you are using Courier with virtual domains:
>
>
> "I have Postfix 2.4 and Courier IMAP/MySQL virtual domain
> all my users are in MySQL, using Courier Authlib>authodaemond>mysql"
>
> Or are you actually using virtual mailbox domains?
>
>
> I once created a system (that I document at
> http://www200.pair.com/mecham/spam/virtual.html) which uses a
> maildroprc file to direct this mail to spam folders:
> http://www200.pair.com/mecham/spam/maildroprc.txt
>

-- 
Voytek


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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