Ralf Heidenreich a écrit :
> Hello,
> 
> i have a problem. I have a mailserver (postfix), and amavis is working.
> I am receiving mail for several domains. Some customers want the spam 
> delivering mode "taganddeliver" or reject. I have this realized with 
> policy banks. Amavis in post-queue mode works fine.
> Due to a law, I must use amavis in pre-queue mode.
> Thats the problem.
> In the past it was the following:
> Postfix receives the mail, and depend on a lookup table, the mail is 
> given to amavis on several ports. One port is for taganddeliver, an one 
> port is for reject. If a mail comes to amavis throug the defined port, 
> amavis loads the policy.
> Will I use amavis in pre-queue mode, all mails must going to amavis.
> Amavis must load the right policy for taganddeliver or reject.
> My current config is
> @local_domains_maps = ( [".$mydomain","localhost"], 
> read_hash("/etc/postfix/virtual_domains") );
> I need 3 hashes.
> One for the domains there is reject used
> One for the domains there is taganddeliver used
> One for the domains there is nofilter used.
> Howe can I realize that?
> 


If you have multiple IPs, the simplest solution would be to use
different MXes. Otherwise, one problem is what to do if a single mail is
destined to multiple recipients with different actions: you can't reject
and deliver at the same time!


A somewhat related discussion:
        http://marc.info/?l=amavis-user&m=104639986104274&w=2


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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/ 

Reply via email to