mouss wrote: > Ed Lucero wrote: >> How can I send spam to a dedicated spam respository server. >> >> I know I can send all spam to a single address by setting >> spam_quarantine_to to [EMAIL PROTECTED] But I want to maintain the recipient >> address when it gets sent, so the receiving MTA can place it in the >> correct domain, user mailbox. >> mouss wrote:
> what MTA are you using? > anyway, there are at least two methods: > [A] > 1. use address extensions as described in > http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext > 2. then use your MTA to redirect [EMAIL PROTECTED] go to wherever > you like. with postfix, this can be done via transport_maps. > [B] > if your MTA can check headers, then look for X-Spam headers and redirect > spam to wherever you want. > with posfix, this can be done using: > /[EMAIL PROTECTED]/ FILTER relay:[quarantine.domain.example]:25 While (as mouss advocates) 'plus addressing' is preferred, there is a way to use per recipient quarantines to quarantine spam to individual users on a different host: @spam_quarantine_to_maps = ( # per-recip multiple quarantines new_RE( [qr'^(.*)@example\.com$'i => '[EMAIL PROTECTED]'] ), $spam_quarantine_to, # the usual default ); The disadvantage is the sender's privacy is not preserved. Each message would show all envelope recipients in the X-Envelope-To: header. This may give some additional information on plus addressing: http://www200.pair.com/mecham/spam/plusquarantine.html 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/
