Philip Prindeville wrote:
> Matt Kettler wrote:
>
>   
>> Philip Prindeville wrote:
>>  
>>
>>     
>>> There's no way to whitelist just the empty address then?  Rather than
>>> everything?
>>>
>>> -Philip
>>>
>>>  
>>>    
>>>
>>>       
>> Not given the simple file-glob format of the whitelist commands. You'd
>> need a regular expression and negation.
>>
>> You could do it with a rule...
>>
>> header __NULL_RETURN   From !~   /./i
>> header __RCVD_MYHOST   Received =~ /<insert Received header regex
>> matching your servers exchanging..>/
>> meta MY_NULL_RETURN   (__NULL_RETURN && __RCVD_MYHOST)
>>
>>
>>  
>>
>>     
>
> It's not the From, but rather the EnvelopeFrom.
>   
A rule matching "header From" should match any "from like" header,
including Return-Path.

Unless you're calling SA before the return-path header is created, in
which case you can't match it with SA at all.
>
>
>   

Reply via email to