OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: after-queue content filter question

From: mouss (moussnetoyen.net)
Date: Tue Feb 05 2008 - 13:57:42 CST


Bryan Irvine wrote:
> This server has lots of virtual domains, and I want all inbound mail
> on a single domain only to go to a script for processing.
>
> I've set up a pipe, and was following the after-queue content filter
> readme for examples on the proper way to handle the mails.
>
> Is this the wrong track I'm on?
>

don't use a filter. use a transport. This way, only mail for the
selected domain will go to your script. and since you don't refeed mail
to postfix, you won't have a loop.