Re: Is it possible to log outgoing mail in sendmail?

From: Andrzej Filip (anfi@bigfoot.com)
Date: 06/18/02


From: Andrzej Filip <anfi@bigfoot.com>
Date: Tue, 18 Jun 2002 09:12:00 +0000

http://www.sendmail.org/faq/section4.html#4.20
Subject: Q4.20 -- How can I automatically copy messages based on sender
or recipient addresses?

Sample milter provided in sendmail distribution can add "bcc:" (extra
"rcpt to:").

Mile Blenton wrote:

>On 17 Jun 2002 13:44:27 +0100, Tim Haynes <usenet@stirfried.vegetable.org.uk>
>wrote:
>
>>>(maybe not just the right group, but I'll try it anyway...)
>>>
>>(Quite probably not.)
>>
>
>In danger of abusing the group I'll follow up :)
>
>>file:/var/log/maillog would be first port of call, rapidly followed by
>>sendmail(8).
>>
>
>
>I admit, I was not very precise.
>
>The problem is I need the complete body of an outgoing message (header,
>attachments, the works...).
>
>Purpose: backup all outgoing mail - have a record (copy) of it.
>(/var/log/maillog would've been to easy :)
>
>
>Thanks,
>Regards,
> Mario
>
>
>
>P.S.
> Incoming mail logging was solved using procmail (/etc/procmailrc).
>
>

-- 
Andrzej [Andrew] A. Filip  anfi@box43.pl  http://www.polbox.com/a/anfi/
366A 5DD7 7707 379C 9251  32AE C948 0BD2 7D99 688A  expires: 2003-01-25
I may disagree with the following *random epigram* :
He looked at me as if I were a side dish he hadn't ordered.
		-- Ring Lardner



Relevant Pages


Quantcast