keeping copies of outgoing mail

This is a discussion on keeping copies of outgoing mail within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Currently I'm archiving incoming mail like this procmail recipe: DATE=`date '+%y%m'` # archive autmatically :0c: | gzip -fc9 >&...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008
Troy Piggins
 
Posts: n/a
Default keeping copies of outgoing mail

Currently I'm archiving incoming mail like this procmail recipe:

DATE=`date '+%y%m'`
# archive autmatically
:0c:
| gzip -fc9 >> $HOME/mbox_$DATE.gz

I'd like to try the same thing for outgoing mail. A user on
the procmail list suggested this:

* Klaus Johannes Rusch:
> The recipient_bcc_maps option in postfix allows directing mail to
> additional addresses; you may want to split the incoming and
> outgoing mailservers so you only bcc for outgoing. (If you only
> want to implement this for your own account, most mailers have an
> automatic BCC option as well.)


Not sure how to set up postfix to split incoming and outgoing
servers.

Any tips or better ideas?

--
Troy Piggins | http://piggo.com/~troy _ __ (_) __ _ __ _ ___
| '_ \| |/ _` |/ _` |/ _ \
| .__/|_|\__, |\__, |\___/
|_| |___/ |___/
Reply With Quote
  #2 (permalink)  
Old 02-22-2008
Troy Piggins
 
Posts: n/a
Default Re: keeping copies of outgoing mail

* Troy Piggins :
> Currently I'm archiving incoming mail like this procmail recipe:
>
> DATE=`date '+%y%m'`
> # archive autmatically
>:0c:
>| gzip -fc9 >> $HOME/mbox_$DATE.gz
>
> I'd like to try the same thing for outgoing mail. A user on
> the procmail list suggested this:
>
> * Klaus Johannes Rusch:
>> The recipient_bcc_maps option in postfix allows directing mail to
>> additional addresses; you may want to split the incoming and
>> outgoing mailservers so you only bcc for outgoing. (If you only
>> want to implement this for your own account, most mailers have an
>> automatic BCC option as well.)

>
> Not sure how to set up postfix to split incoming and outgoing
> servers.
>
> Any tips or better ideas?


Actually, should that be sender_bcc_maps instead of
recipient_bcc_maps?

--
Troy Piggins | http://piggo.com/~troy _ __ (_) __ _ __ _ ___
| '_ \| |/ _` |/ _` |/ _ \
| .__/|_|\__, |\__, |\___/
|_| |___/ |___/
Reply With Quote
  #3 (permalink)  
Old 02-23-2008
Martin Gregorie
 
Posts: n/a
Default Re: keeping copies of outgoing mail

Troy Piggins wrote:
> * Troy Piggins :
>> Currently I'm archiving incoming mail like this procmail recipe:
>>
>> DATE=`date '+%y%m'`
>> # archive autmatically
>> :0c:
>> | gzip -fc9 >> $HOME/mbox_$DATE.gz
>>
>> I'd like to try the same thing for outgoing mail. A user on
>> the procmail list suggested this:
>>
>> * Klaus Johannes Rusch:
>>> The recipient_bcc_maps option in postfix allows directing mail to
>>> additional addresses; you may want to split the incoming and
>>> outgoing mailservers so you only bcc for outgoing. (If you only
>>> want to implement this for your own account, most mailers have an
>>> automatic BCC option as well.)

>> Not sure how to set up postfix to split incoming and outgoing
>> servers.
>>
>> Any tips or better ideas?

>
> Actually, should that be sender_bcc_maps instead of
> recipient_bcc_maps?
>

I just take a single feed to my archive via "always_bcc". This contains
both incoming and outgoing mail.

Its only drawback is that if you use a subsidiary service (e.g. running
spamc under the control of postfix) with its output returned to the
incoming SMTP queue you are likely to find each message duplicated in
the always_bcc output stream.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0