On Fri, May 29, 2009 9:27 am, Rolandas Juodzbalis said:

> I have postfix on one server and amavis on another. On postfix I'm using
> transport_maps to deliver depending on spam flag in database. If spam
> flag is on, then query returns following output:
> smtp:ip_of_amavis:10024. If spam flag is off, then it returns word
> virtual. Problem begins when amavis tries to submit mail back to postfix
> on port 10025 - transport_maps is used again and starts looping. Is
> there any way to avoid using transport_maps when feeding mail from
> amavis back to postfix via port 10025? Or maybe another alternative of
> communicating between amavis and postfix?

The transport table is global for the whole Postfix instance. Per-user
routing thus requires two Postfix instances.

http://www.postfix.org/MULTI_INSTANCE_README.html

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to