|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Magnus Bäck (magnus
dsek.lth.se)
Date: Tue Feb 05 2008 - 12:49:37 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday, February 05, 2008 at 18:56 CET,
Bryan Irvine <sparctacus
gmail.com> wrote:
> I'm trying to set up a filter that takes mail for a specific domain
> and delivers the mail to a script. I've read the README but am
> confused a little.
>
> The sample shell script grabs the status of the Postfix sendmail
> command to use as the exit status when it re-injects, but since I'm
> not going to be re-injecting anything at all for this domain do I just
> always return EX_UNAVAILABLE??
If your script is successful, return a zero exit status. If your script
fails in any way and the sender must be notified, return EX_UNAVAILABLE
or some more suitable exit status. If your script fails because of a
transient error condition, return EX_TEMPFAIL to have Postfix retry the
delivery at a later time.
But if you never reinject a message, why implement this as a filter?
--
Magnus Bäck
magnus
dsek.lth.se
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]