On 14 Apr 2020, at 11:42, Rick King <rk...@zimbra.com> wrote:
> We were thinking using a header_check rule, something like this; but didn't 
> work due to the "backtracking limit exceeded" warning. 

The From: header is entirely valid, and the issue is the user’s MUA is not 
showing the full header (in an effort to be ‘helpful” I assume).

> /^From:(.*)*\<*@*\> \<*@*\>/   REJECT    #Sorry, we do not allow emails with 
> multiple FROM senders

Maybe something like this:

/^From:[^<]+<[^@]+[^>]+>.*</

Basically, you are looking for a <something@soemthing> followed by another <, 
but I predict you will lose a lot of legitimate mail this way. I see quite a 
few matches in my mail.


-- 
"He has never been known to use a word that might send a reader to
        the dictionary." - William Faulkner (about Ernest Hemingway).


Reply via email to