Sahil Tandon wrote:
Steve Lowe <[EMAIL PROTECTED]> wrote:

I am testing a new entry in my header_checks file:

/^Return-Path:.*mjhunter=aurora\.edu*/ DISCARD From Address Rejected 018

Sorry for the wrapping above. PCRE right? You don't need the second "*", so the following should work:

/^Return-Path:.*mjhunter=aurora\.edu/

But even with the extraneous "*", the PCRE hits here with postmap -q.


The bigger problem is that the Return-Path header isn't present in the original mail, so header_checks is the wrong tool here.

Steve will need to use a check_sender_access map to reject unwanted envelope senders.

--
Noel Jones

Reply via email to