Adam Tauno Williams wrote:
On Mon, 2008-09-29 at 12:11 -0400, Jeff wrote:
Jeff wrote:
I have recipient_bcc_maps set up and configured correctly on a per-user
basis:
[EMAIL PROTECTED] [EMAIL PROTECTED]
How would I do this for an entire domain? Would it be:
[EMAIL PROTECTED] [EMAIL PROTECTED]
Or would it be
@domain.tld [EMAIL PROTECTED]
http://www.postfix.org/postconf.5.html#recipient_bcc_maps
I'm unclear on that (multiple original recipients,
You aren't alone. :) I've spent a fair amount of time trying to get
this too work.
or multiple destination
bcc's?). Does it mean that multiples can only be handled by using
always_bcc then?
You can do it like,
[EMAIL PROTECTED] postfix]# postconf recipient_bcc_maps
recipient_bcc_maps = regexp:/etc/postfix/recipient_bcc
[EMAIL PROTECTED] postfix]# cat /etc/postfix/recipient_bcc
#/(.*)@([EMAIL PROTECTED])/ [EMAIL PROTECTED]
#/(.)/ [EMAIL PROTECTED]
/(.+)@(.+)/ [EMAIL PROTECTED]
If you use the complex rules and then want to put all that in one
place/folder you can use an SMTP generic rule to rewrite that address.
you don't need generic. just use address extensions.
But you loose the envelope so it isn't very useful for real archiving,
it's just better than nothing.
<http://www.arschkrebs.de/postfix/postfix_archive.shtml> is informative,
but he's just stuffing the messages into an mbox which perhaps makes a
difference.