[rt-users] rt-mailgate fallback
Thomas Sibley
trs at bestpractical.com
Tue Dec 4 13:45:24 EST 2012
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.
More information about the rt-users
mailing list