Exactly
What does law say,
When you use postfix in postquee trafic is this:
->postfix1(smtp)->amavis->postfix2(smpt) (10026/tcp for example)->
Postfix1 can be used to stop and do any prefiltering, therefore, amavis wont
have heavy load after postfix1 has discard some basic rules.
There is not difference using postfix because it is a daemon, ifyou want to
use amavis in prequeue you should use a milter. The problem is that here,
amavis will have all load and then postfix will only relay mail.
On Tuesday 16 December 2008 08:08:08 Ralf Heidenreich wrote:
> 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?
>
> Thanks and greetings
> Ralf
>
> ---------------------------------------------------------------------------
>--- 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
> [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/
------------------------------------------------------------------------------
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
[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/