Thanks!
<user>
<usertofowardto>
then both will get a copy
Bill Wheatley
Director of Development
AEPS INC
Allaire ColdFusion Consulting Partner
Allaire Certified ColdFusion Developer
http://www.aeps.com
ICQ: 417645
http://www.aeps2000.com
954-472-6684 X303
IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee. It is confidential and may contain legally privileged
information. No confidentiality or privilege is waived or lost by any
mistaken transmission to you. If you receive this e-mail in error, please
immediately delete it from your system and notify the sender. You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient. The RTA is not responsible for any unauthorized alterations to
this e-mail or attachment to it
> > Is there a way to "always_bcc" emails coming from a specific address?
> > For example, all emails coming from "so...@address.com" be copied to
> > another email address, and the original email be deliveried to its
> > destination.
The original mail will go to it's destination anyway.
Use procmail for the user who receives the always_bcc messages, and set
up a simple .procmailrc:
/etc/postfix/main.cf:
always_bcc = bigbr...@localdomain.com
~bigbrother/.forward:
"|IFS=' ' && exec /usr/sbin/procmail -f- || exit 75 #bigbrother"
~bigbrother/.procmailrc (untested):
:0:
* ^From.*so...@address.com
! ano...@email.address
:0:
/dev/null
How do you BCC just certain outgoing mail? i would love to use that too =)
Bill Wheatley
Director of Development
AEPS INC
Allaire ColdFusion Consulting Partner
Allaire Certified ColdFusion Developer
http://www.aeps.com
ICQ: 417645
http://www.aeps2000.com
954-472-6684 X303
IMPORTANT NOTICE:
This e-mail and any attachment to it is intended only to be read or used by
the named addressee. It is confidential and may contain legally privileged
information. No confidentiality or privilege is waived or lost by any
mistaken transmission to you. If you receive this e-mail in error, please
immediately delete it from your system and notify the sender. You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient. The RTA is not responsible for any unauthorized alterations to
this e-mail or attachment to it
----- Original Message -----
> How do you BCC just certain outgoing mail? i would love to use that too =)
You can't, in postfix. That's why the little detour via procmail (or
something equivalent, like maildrop) is required.
Not yet.
> For example, all emails coming from "so...@address.com" be copied to another
> email address, and the original email be deliveried to its destination.
Postfix has always_bcc. This adds one bcc recipient to all mail
regardless of origin or destination.
At one point I was discussing a way to implement sender_bcc_maps
and recipient_bcc_maps that would allow you to add one extra recipient
to all mail from or to specific accounts (left-hand map side is
the specific sender or recipient; right-hand side is the bcc address).
However, the context was law enforcement, and that is not what the
Postfix always_bcc feature was designed for - mail deliveries will
be reported to the sender. An automatic bcc that creates a separate
message with a different sender is much more complicated to implement.
Automatic bcc per sender or recipient would be great for help desks,
though.
Wietse
That should be: mail delivery PROBLEMS will be reported to the sender.
> André Luiz dos Santos:
> >
> > Is there a way to "always_bcc" emails coming from a specific address?
>
> Not yet.
If you can take the performance hit - this should be easy pushing the
always_bcc recipient through procmail
Alternatively forward the always_bcc recipient to a PC(or several) running
FreeBSD/Linux/<whatever> & do the procmail filtering there
- Rafi
>
> > For example, all emails coming from "so...@address.com" be copied to another
> > email address, and the original email be deliveried to its destination.
>
> Postfix has always_bcc. This adds one bcc recipient to all mail
> regardless of origin or destination.
>
> At one point I was discussing a way to implement sender_bcc_maps
> and recipient_bcc_maps that would allow you to add one extra recipient
> to all mail from or to specific accounts (left-hand map side is
> the specific sender or recipient; right-hand side is the bcc address).
>
> However, the context was law enforcement, and that is not what the
> Postfix always_bcc feature was designed for - mail deliveries will
> be reported to the sender. An automatic bcc that creates a separate