We have an always_bcc setup in place for incoming mails: recipient_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
/^(.*)@charite\.de$/ backup+${1}=charite.de@backup.invalid Now I tried to redirect mails from my private address sent to anybody at charite.de to be redirected to someone else in the organisation, like this: rxlf.hildebra...@gmail.com REDIRECT toscx.hrn...@charite.de Now the following happened: The mails was not sent to the original recipient (that was expected), but it also wasn't sent to toscx.hrn...@charite.de -- but instead it went the way of the always_bcc, but wan't delivered but bounced (according to the logs below). But in fact it didn't bounce (at least I didn't get anything back). Jul 31 09:24:13 mail-cbf-int extern/smtpd[2663640]: NOQUEUE: redirect: RCPT from mail-ej1-f49.google.com[209.85.218.49]: <rxlf.hildebra...@gmail.com>: Sender address triggers REDIRECT toscx.hrn...@charite.de; from=<rxlf.hildebra...@gmail.com> to=<ralf.hildebra...@charite.de> proto=ESMTP helo=<mail-ej1-f49.google.com> Jul 31 09:24:13 mail-cbf-int extern/smtpd[2663640]: 4WYk9n2SK3z20ycy: client=mail-ej1-f49.google.com[209.85.218.49] Jul 31 09:24:13 mail-cbf-int postfix/cleanup[2659314]: 4WYk9n2SK3z20ycy: info: header From: Ralf Hildebrandt <rxlf.hildebra...@gmail.com> from mail-ej1-f49.google.com[209.85.218.49]; from=<rxlf.hildebra...@gmail.com> to=<ralf.hildebra...@charite.de> proto=ESMTP helo=<mail-ej1-f49.google.com> Jul 31 09:24:13 mail-cbf-int postfix/cleanup[2659314]: 4WYk9n2SK3z20ycy: info: header Date: Wed, 31 Jul 2024 09:24:01 +0200 from mail-ej1-f49.google.com[209.85.218.49]; from=<rxlf.hildebra...@gmail.com> to=<ralf.hildebra...@charite.de> proto=ESMTP helo=<mail-ej1-f49.google.com> Jul 31 09:24:13 mail-cbf-int postfix/cleanup[2659314]: 4WYk9n2SK3z20ycy: message-id=<CAN3ODnhTG4mAuh_2ZeqY10FXwHi0Mnqcwk==wjmiua_hed_...@mail.gmail.com> Jul 31 09:24:13 mail-cbf-int postfix/cleanup[2659314]: 4WYk9n2SK3z20ycy: info: header Subject: Test an ralf.hildebra...@charite.de from mail-ej1-f49.google.com[209.85.218.49]; from=<rxlf.hildebra...@gmail.com> to=<ralf.hildebra...@charite.de> proto=ESMTP helo=<mail-ej1-f49.google.com> Jul 31 09:24:13 mail-cbf-int postfix/cleanup[2659314]: 4WYk9n2SK3z20ycy: info: header To: "Ralf Hildebrandt (hildeb)" <ralf.hildebra...@charite.de> from mail-ej1-f49.google.com[209.85.218.49]; from=<rxlf.hildebra...@gmail.com> to=<ralf.hildebra...@charite.de> proto=ESMTP helo=<mail-ej1-f49.google.com> Jul 31 09:24:13 mail-cbf-int postfix/qmgr[1615285]: 4WYk9n2SK3z20ycy: from=<rxlf.hildebra...@gmail.com>, size=3810, nrcpt=2 (queue active) Jul 31 09:24:13 mail-cbf-int postfix/error[2664442]: 4WYk9n2SK3z20ycy: to=<toscx.hrn...@charite.de>, orig_to=<backup+ralf.hildebrandt=charite.de@backup.invalid>, relay=none, delay=0.62, delays=0.57/0.02/0/0.03, dsn=5.1.1, status=bounced (User unknown) Jul 31 09:24:13 mail-cbf-int postfix/qmgr[1615285]: 4WYk9n2SK3z20ycy: removed Also note that is says "nrcpt=2", but is only being delivered (sort of) once. Postfix 3.10-20240724 I'm aware that is is some sort of bizarre edge-case. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration Invalidenstraße 120/121 | D-10115 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | https://www.charite.de _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org