On Mon, Feb 21, 2022 at 08:17:17PM -0500, billy noah wrote:

> /^([^@]+)@[a-zA-Z0-9_]+\.[a-zA-Z0-9_]+$/ $1...@example.com
> 
> This works great, however I have an email address nob...@example.com that
> I'd like to *exclude* from this configuration.  How can I configure
> sender_bcc_maps to *completely ignore* a specific sender's address.

I hope the rather non-specific domain match is never applied to incoming
mail from outside, and this is an exclusively "outbound" MTA...

Note that valid email domain names don't contain "_" characters, you can
leave these out of the "domain part" of the address.  Also matching is
case insensitive by default.  Domain names can contain "-" characters,
but perhaps yours don't, in which case:

    if !/^nobody@/
    /^([^@]+)@[a-z0-9]+\.[a-z0-9]+$/ $1...@example.com
    endif

-- 
    Viktor.

Reply via email to