> On May 30, 2017, at 9:23 AM, Peter West <li...@pbw.id.au> wrote:
> 
>> If the return-path is <> ( empty ) then do the following ;
>> 
>> if domain is robbya.be or robbyb.be route via mailrobby.test.com ; if domain
>> is robbyc.be then route via mailrobby2.test.com
>> 
>> if /^Return-Path...

This is misconceived from the get-go.  The "Return-Path:" header is not
present in email in transit.  It is added at the time email is stored
into a mailbox (i.e. by the final-delivery agent) and records the
envelope sender of the message.

Therefore tests "Return-Path" are broken by design, the header is
normally absent.  Instead of header checks, use "check_sender_access".

-- 
-- 
        Viktor.

Reply via email to