On Fri, 29 May 2009, Rolandas Juodzbalis wrote: > 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?
Use multiple instances as already suggested, or remove this elusive 'spam flag' before re-submitting mail to the current Postfix instance so it doesn't trigger the loop. -- Sahil Tandon <[email protected]>
