SUMMARY: Copying all outbound mail

From: Ing. Felipe Tribaldos (felipe@pty.com)
Date: Wed Sep 25 1996 - 00:03:16 CDT


WOW, I love this list;

This problem had ben haunting me for weeks, and then all of a sudden I have
different solutions

My original question was how to copy all outbound mail from a given SMTP mailer?

Following are the replies received. The best one IMO is a command line switch for
sendmail i.e. /usr/lib/sendmail -bd -q15m -X/var/log/thoughtfile
                                                                         

My Original question......

------------------------------------------------------------------------

From: Ing. Felipe Tribaldos[SMTP:felipe@pty.com]
Sent: 25 September 1996 01:54
To: Sun Managers
Subject: Copying all outbound mail

Hi there;

A customer of ours wants to keep a copy of every outbound mail from =
their
domain. They have a SUN Netra 4 with SMI V8 Sendmail.
I'm not quite sure how to implement this, but can think of maybe
a wrapper of senmdail or perhaps rewriting a rule. Keeping copies
of all incoming mail can be done with /etc/alias entre for every
user un the manner of:
user: \user,/var/log/thoughtpolice

What is giving me a headache is being able to keep a copy of =
every
outgoing mail for the domain. SMTP outbound can be restricted to
only the netra at the router so that everyone HAS to use the =
netra
as smtp mailer. I'm kind of stuck as to how archive every single =
mail
that sendmail sends :-(

Any help would be greatly appretiated.

-------------------------------------------------------------------------
From: meritj@fincen.treas.gov (Jim Meritt)
To: felipe@pty.com
Subject: Re: Copying all outbound mail

Could you make a new mailer that dups/archives, then identify it
in the config file?

Just a wild guess....

Jim

---------------------------------------------------------------------------

To: felipe@pty.com (Ing. Felipe Tribaldos)
Date: Wed, 25 Sep 1996 09:32:51 +0200
From: Casper Dik <casper@holland.Sun.COM>

>What is giving me a headache is being able to keep a copy of every
>outgoing mail for the domain. SMTP outbound can be restricted to
>only the netra at the router so that everyone HAS to use the netra
>as smtp mailer. I'm kind of stuck as to how archive every single mail
>that sendmail sends :-(

sendmail uses mailer lines to direct outgoing mail.

What you could do is change the internet mailer definition to a
mail that does remote SMTP but also saves the message to a file.

Casper

---------------------------------------------------------------------------
From: Harry Wilson <Harry.Wilson@ncl.ac.uk>
To: "'Ing. Felipe Tribaldos'" <felipe@pty.com>
Subject: RE: Copying all outbound mail
Date: Wed, 25 Sep 1996 08:14:59 +-100

Hello,

        I'm not 100% sure how to record only outgoing mail, but you can easily =
record ALL mail sent via sendmail using the -X option on the command =
line,

e.g.

/usr/lib/sendmail -bd -q1h -X/some/location/and/file

The above will record all mail received and sent to the file =
/some/location/and/file, obviously the preceding options will be =
different for your site.

Cheers

Harry.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT