On 12/04/2012 01:12 AM, Albert Shih wrote:
>       :0:
>       |/usr/bin/rt-mailgate --queue Support --action correspond --url 
> https://ULR_OF_RT
> 
> 
> the problem is sometime the RT website is down (power failure) and in that
> case the mail is lost. 
> 
> How can I tell rt-mailgate (or procmail) to send the mail to humain.address 
> only if the rt-mailgate failed

Your rt-mailgate procmail recipe should start with :0w not :0:  The w
indicates procmail should wait for rt-mailgate to return and use its
exit code.
--------
We're hiring! http://bestpractical.com/jobs

Reply via email to