Score:1

Redirection - from one account to two via canonical

tf flag

On a handful of servers in my environment I've got the following in /etc/postfix/canonical:

if !/[email protected]/i
/.+/ [email protected]
fi

Now I'm being asked to do add another email to ignore from getting converted. From what I understand I can't do a simple:

if !/DoNotReply[AB]@example.com/i 

I'm tempted to do a:

if !/DoNotReply(.*)@example.com/i 

to handle any case they might come up with in the future but that's more wide open and would accept anything that starts with "DoNotReply" in it.

I've seen mention of updating /etc/postfix/virtual with something like:

[email protected]   [email protected]
[email protected]   [email protected] 

and then in the canonical maybe have a line like:

/.+/ [email protected] 

but not sure of the order of processing.

Any suggestions?

anx avatar
fr flag
anx
I suggest to instead entirely eradicate anything called "do not reply". It is about as appropriate as walking up to peoples doors, ringing the bell and ditching.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.