From: Michelle K. <lin...@fr...> - 2005-11-17 13:28:28
|
Hello Sunil, Am 2005-11-14 18:23:58, schrieb Sunil Shetye: > procmail has a way of returning with an error. You may append the > lines below to your procmailrc for error handling. > > ========================================================================== > > # if procmail has reached here, delivery has failed. return with a > # temporary failure code from <sysexits.h>. > # 75 = EX_TEMPFAIL > EXITCODE=75 > :0 > /dev/null > ========================================================================== This is, what I was searching for. > WARNING: the above recipe works only when the program invoking > procmail handles the exit code gracefully. Otherwise, all your mails > will be trashed. > > fetchmail will not delete these mails. Even, most SMTP servers should I use only fetchmail + courier-mta while the MTA receives regulary messages and fetchmail collect (at $USER request) messages from other ISP's > queue up such mails for a few days before bouncing them back. But, if > you have other programs invoking procmail, you will need to check if > they handle such exit codes gracefully. So I think, courier-mta will work to. Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com) |