* Klaus Johannes Rusch is quoted & my replies are inline below :
Troy Piggins wrote:
I'd like to try the same thing for outgoing mail. Pretty sure I've seen
solutions using mailertables and procmail. Just wondering if I'm better off
using a postfix only solution. If so, any pointers in the right direction?
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.)
Been thinking about this some more. I was thinking I'd need to set up rules
for every user. But if I was to bcc some user I set up, say I named it
"outgoing-archiver" although it doesn't matter really, I could set up a
system-wide procmail rule like:
:0:
* ! ^TO_$LOGNAME
* ^From:.*$LOGNAME
| gzip -fc9 >> $HOME/Sent_$DATE.gz
May need some tweaking in case users from same domain send mail to each other,
but you get the drift?
What do you think?
--
Troy Piggins | http://piggo.com/~troy
RLU#415538 ,-O (o- O
O ) //\ O
`-O V_/_ OOO
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail