Nice! I will test it tomorrow right away with some mysql lookups. That works the same as for virtual lookups ?
2016-03-18 1:08 GMT+01:00 Wietse Venema <wie...@porcupine.org>: > Matt .: >> Is there a way to send (B)CC messages to a specified external email >> address when I send to a local address ? > > Wietse: >> To add a recipient when sending mail to example.com: >> >> /etc/postfix/main.cf: >> sender_bcc_maps = hash:/etc/postfix/sender_bcc >> >> /etc/postfix/sender_bcc: >> @example.com some...@example.net > > Matt .: >> Hi Wietse, >> Sorry for the late response, flu going around. >> But is this only on domain base or also per user doable ? > > Yes. See http://www.postfix.org/postconf.5.html#sender_bcc_maps > > Wietse