[ale] How can I save Sendmail relayed mqueue messages?
JK
jknapka at kneuro.net
Wed Aug 30 15:50:04 EDT 2006
Jeff Lightner wrote:
> In normal operation Sendmail puts the message files in /var/spool/mqueue
> to be sent out then deletes the entries once the message is sent. On a
> new mail server this is working like a champ.
>
> However since it is a mail server which we created to handle a new
> domain for automated billing message there is a desire to see the actual
> text of the messages we are sending out. (Messages are originating from
> an Oracle process on another server and being relayed through this one
> to the outside world.)
>
> Of course a while loop could be created to try to copy the files as they
> are created but it would likely be fairly hit or miss and also would
> likely chew up a lot of CPU.
>
> I'm wondering if there is an adjustment that can be made to sendmail.cf
> that would make it either hold the messages after sent or duplicate the
> ones sent to another directory?
Of course your exect circumstances may mitigate against this,
but it seems to me that it would be simpler (as in, more
transparent to users and maintainers) to have the process that
*generates* the message write them to an archive directory,
as well as to the sendmail socket.
-- JK
More information about the Ale
mailing list