OSEC

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

From: Wietse Venema (wietseporcupine.org)
Date: Fri Apr 06 2007 - 12:10:13 CDT


Jorn Argelo:
>
> On Fri, 6 Apr 2007 11:20:02 -0400, Victor Duchovni <Victor.DuchovniMorganStanley.com> wrote:
> > On Fri, Apr 06, 2007 at 05:13:00PM +0200, Jorn Argelo wrote:
> >
> >> Thanks for pointing out the postcat command Shel. Unfortunately
> >> I already have the mails in human readable format and they should be
> >> converted back to postfix format prior to moving them back to postfix's
> >> queue. I don't think that that's possible with the postcat command
> >> according to the man page.
> >
> > Submission of mail into the queue is via SMTP or the sendmail(1) command.
>
> I was thinking about that too, but if I send it again with the
> sendmail command or via SMTP doesn't that mean my mail flow starts
> all over again, effectively creating a loop?

The FILTER_README examples already solve this problem.

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

        Wietse