Luis Daniel Lucio Quiroz wrote:
Hi Mice,

As I've set up postfix+amavisd with content_filter option, I'd like to have some exceptions, some users wont passed to amavisd, instead next-hope will be forwarded,

Is there a easy way to do this?
TIA
LD

The easy way is to set those users as virus lovers and spam lovers in amavisd-new.

To completely bypass amavisd-new, you need two postfix instances and use transport_maps to route messages either to the amavisd-new or to the postfix back end. The content_filter setting is no longer used - routing decisions are made by the transport table. This is a more complicated but very flexible setup. Multiple postfix instances are supported in every version of postfix, but greatly simplified in postfix 2.6 and newer.


Reply via email to