queuereturn=51d
-OTimeout.queuewarn=0 -q
The -OTimeout.queuereturn=51d causes the time-to-live in the queue to be extended
to 51 days or one day longer than the oldest held message. This prevents the held
mail from wrongly bouncing when you try to deliver it, should the site not really be
up yet.
* We fudge on this command. It actually moves all mail from the current queue to the new queue directory.
You might have to supply other arguments to qtool.pl to select specific qf files to move. See the manual page,
called contrib/qtool.8, for more information.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
438 | Chapter 11: Manage the Queue
The -OTimeout.queuewarn=0 prevents nondelivery warnings from being sent that
might confuse the sender.
11.9.1.2 Move mail with queue groups
To move mail to a new queue with queue groups, the process is exactly the same as
we have shown already, but with a few wrinkles. You have to stop sendmail, move
the messages to a queue from which sendmail will not deliver, and then restart sendmail.
The key differences between this approach and the one described in the previous
section are:
??? Th esendmail program should not be running when you move the messages out
of the queue with qtool.pl.
??? When the down site comes back up, stop sendmail again, and move the messages
back to the queue from where they came with qtool.
Pages:
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787