I'll try to be more precise:

We use "/^Sender:/ IGNORE" in *smtp_header_checks *to remove the
sender-field in outgoing mails.

We also use the file *sender_bcc *to get copies of outgoing mails for
specific sender. As far as we know, the sender_bcc uses the sender-field
if present.

It seems like the sender_bcc is applied before the smtp_header_checks.

*How can we get a bcc to the sender according to the from-field?*

On 9/27/19 3:07 PM, Jaroslaw Rafa wrote:
> Dnia 27.09.2019 o godz. 08:56:01 Bill Cole pisze:
>> Generally speaking, that would be something done by an IMAP server
>> component like Dovecot's "pigeonhole" sieve implementation or a
>> delivery agent like procmail, NOT by Postfix.
> It *can* be done using Postfix only, at least in some cases. I did it for
> real system users using Maildirs to store mail. This solution can probably be
> adapted to virtual mailboxes as well (in fact, it uses configuration for
> virtual mailboxes, but delivers to real system mailboxes), but I haven't
> tried it (also have no setup to try on :)).

-- 
Cedric Freiberger
IT-Administration

Rheinwerk Verlag GmbH | Rheinwerkallee 4 | 53227 Bonn
Telefon +49 228 42150-709 | Fax +49 228 42150-77
E-Mail cedric.freiber...@rheinwerk-verlag.de
www.rheinwerk-verlag.de 

Amtsgericht Bonn, HRB 8363
Geschäftsführer: Stephan A. Effertz, Judith Stevens-Lemoine, Tomas Wehren

❕  KKON – Die erste Rheinwerk Konferenz für Kotlin | März 2020 in Köln | Jetzt 
Tickets sichern! ❕

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to