Viktor Dukhovni via Postfix-users:
> On Fri, Feb 06, 2026 at 05:49:57PM -0500, Wietse Venema via Postfix-users
> wrote:
>
> > /etc/postfix/recipient_bcc.pcre:
> > /^(.*)@example\.com$/ ${1}@db.example.com/
>
> The OP should note that, the "/" at the end of the line is a cut/paste
> typo.
>
> > /etc/postfix/lmtp_generic.pcre:
> > /^(.*)@db.example.com ${1}@example.com
>
> Here a required "/" is missing and the RE needs a bit of hardening:
>
> /^(.*)@db(\.example\.com)$/ ${1}@${2}
No:
/^(.*)@db\.(example\.com)$/ ${1}@${2}
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]