Manish,

> I am actually trying to find amavisd configuration options to achieve
> this, if there are any. I will again explain what I need to do.
> Instead of quarantining the detected spam in a directory, I pass it on
> to an email id ... [EMAIL PROTECTED] so that the mails can be examined
> for false positives. In the current scenario, a number of virtual
> domains have been hosted on this mail server and it is desirable that
> detected spam messages for every domain are passed on to a spam id  on
> the respective domains.

> I could find an option for redirecting the 
> detected spam into a separate mailbox for every recipient

I assume you found the:
  http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext

> but I am looking for a separate mailbox for every domain

It is no different, just use a different pcre map:

main.cf:

virtual_alias_maps =
  hash:/etc/postfix/virtual
  pcre:/etc/postfix/virtual_mapping_pcre

virtual_mapping_pcre:

/^(.*)\+spam@([EMAIL PROTECTED])$/      [EMAIL PROTECTED]


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