Re: [exim] match the "From: " domain, not "Return-Path: " (l…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tomasz Chmielewski
日付:  
To: Mike Cardwell
CC: exim-users
題目: Re: [exim] match the "From: " domain, not "Return-Path: " (lookup{$sender_address_domain})
Mike Cardwell wrote:
> Tomasz Chmielewski wrote:
>
>>>> Right now, I can look up the sender's domain in "Return-Path: " with
>>>> lookup{$sender_address_domain}.
>>>>
>>>> I would like to decide about what happens with a mail based on its
>>>> "From: " address, rather than "Return-Path: ".
>>>>
>>>> Can I do a similar check for a domain name used in the "From: " field?
>>> Instead of $sender_address_domain, use ${domain:$h_From:}
>> Hmm, doesn't seem to work properly.
>>
>> headers_add = Test: $domain:$h_From:
>
> I said: "${domain:$h_From:}" ... "$domain:$h_From:" has a completely
> different meaning.


I must be blind - works perfectly - thanks!


--
Tomasz Chmielewski
http://wpkg.org