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 >&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 _ __ (_) __ _ __ _ ___ | '_ \| |/ _` |/ _` |/ _ \ | .__/|_|\__, |\__, |\___/ |_| |___/ |___/ |
|
|||
|
* 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 _ __ (_) __ _ __ _ ___ | '_ \| |/ _` |/ _` |/ _ \ | .__/|_|\__, |\__, |\___/ |_| |___/ |___/ |
|
|||
|
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 | |
![]() |
| Thread Tools | |
| Display Modes | |
|
|