[rt-users] shut down without losing mail?

Jesse Vincent jesse at bestpractical.com
Tue Apr 1 09:34:40 EST 2003


As of RT 3.0, RT should exit with "TEMPFAIL" and spool the mail until
the mailgate is happily working again. If this isn't what it's doing,
it's a bug.

	-j


On Tue, Apr 01, 2003 at 11:04:27AM +0200, Martin Schapendonk wrote:
> # Is there a clean way to stop RT (to upgrade versions for
> # example...) without dropping any inbound email?  Does
> # sendmail take some magic return value from a pipe delivery
> # as a temporary failure and retry later?
> 
> No, not really.
> 
> If you are in the middle of an upgrade and RT does not run (the most likely
> cause for that seems a misconfiguration to me), rt-mailgate generates an
> error and sendmail bounces the email back to the sender, who will hopefully
> try again in a few hours.
> 
> The cleanest solution I can think of is (untested): point the alias for RT
> to a spool file (/var/spool/mail/rt or similar) during the upgrade. After
> the upgrade, change the alias back to RT and pipe all mail in the spool file
> into rt-mailgate, with the appropriate options.
> 
> Regards,
> 
> Martin
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list