| |||||||||||||||||||||||||||||||
|
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