[ale] How can I save Sendmail relayed mqueue messages?

Jeff Lightner jlightner at water.com
Wed Aug 30 15:59:12 EDT 2006


Have a developer alter his code rather than an Admin address its
deficiencies?  What kind of apostate are you?  :-)

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of JK
To: ale at ale.org
Sent: Wednesday, August 30, 2006 3:50 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] How can I save Sendmail relayed mqueue messages?

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

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list