How to duplicate a copy of all incoming and outgoing mail

Eric Anderson anderson at centtech.com
Tue Oct 4 04:35:50 PDT 2005


Patrick Dung wrote:
> Thanks for reply.
> Wow, postifx got their power. Very simple.
> 
> But I really want to know about Sendmail, because it's default in many 
> Unix.
> Checking out http://www.technoids.org/procmailfilter.html but it seems 
> quite complex.

I think you want sendmail's -X option:

-X logfile
Log all traffic in and out of mailers in the indicated log file. This 
should  only be used as a last resort for debugging mailer bugs.  It 
will log a lot of data very quickly.

Eric




> Edwin Groothuis wrote:
> 
>> On Tue, Oct 04, 2005 at 05:00:12PM +0800, Patrick Dung wrote:
>>  
>>
>>> It is system wide, not specific user (~/.forward)
>>> Is it possble with Sendmail?
>>> How about Postfix and Qmail?
>>>   
>>
>>
>> Grep for bcc in the output of postconf for postfix:
>>
>>    [~] edwin at k7>postconf | grep bcc
>>    always_bcc =    recipient_bcc_maps =    sender_bcc_maps =
>> Edwin
>>  
>>
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------


More information about the freebsd-hackers mailing list