5 msgpostconf not displaying all options
3 msgempty_address_recipient not mapped by virtual o...
5 msgstop smtp from anyone unless sasl auth?

'piped' aliases & DSNs
\ Jeff McCombs (23 Jul 2007)
. \ Victor Duchovni (23 Jul 2007)

12 msgStrange From: in headers
5 msgMail - Access Denied
4 msgqpsmtpd support service for postfix
39 msgpix workaround broken?
2 msgX-Original-To after bcc contains wrong address
8 msg/usr/lib/sendmail delivery status/message id's ...
23 msgRecommended Filesystems?
8 msgMail going to backup server instead main server
3 msgoutgoing rate control
5 msgmail forwarding loop: how do I prevent this?
5 msgServer relaying existing virtual mailbox
1 msghow can I rewrite the Mail From
3 msgConstant connections from user unknown sending ...
2 msgsporadic deferrals
8 msgtransport_maps: different behavior if discard o...
4 msgAddress verification questions
Subject:'piped' aliases & DSNs
Group:Postfix-users
From:Jeff McCombs
Date:23 Jul 2007


 
Gang,

It's probably easier to give some background first, then ask my
question.

We're sending messages through a postfix system with the
'sendmail -Nsuccess,failure -f<someuser>' command from some automated
scripts. DSNs are processed by another script by way of a pipe from
/etc/aliases, e.g:

<someuser>: "|/path/to/script"


What I'm looking for, is a way to keep the DSN on the queue if
the script fails for whatever reason. Is there a exit/return code that
the script can spit back that will keep the message on-queue and retry
the DSN delivery after a time period? Right now if the script isn't
executable, or has some sort of error, the DSN message is lost.

Thanks,
-Jeff

---

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeff McCombs Trondent Development Corp
Manager, Network Operations 1300 S. Grove, STE 204
jmccombs Barrington IL, 60010
Office: (847) 898-9183 http://www.trondent.com
Mobile: (224) 361-6946 Fax: (847) 277 0805
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

If you try to fail and you succeed, what did you just do?



© 2004-2008 readlist.com