Re: [exim] rDNS MX check

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Searcher
日付:  
To: exim-users
題目: Re: [exim] rDNS MX check
Oh lord, must be Friday
Why would I want to match the MX if I have a whitelist, eh?

So I just want a simple MX check (if the incoming IP is the MX for the
domain) - I am sure it's somewhere in the docs, but maybe someone can gimme
a quick line here

Thanks again for your patience ;)
-src-


-----Original Message-----
From: Searcher [mailto:searcher@dracon.biz]
Sent: Friday, March 28, 2008 17:12
To: 'Mike Cardwell'
Subject: RE: [exim] rDNS MX check

Well, forget the code below coz I just realized it's missing the actual
$hostname and I am working with whitelisted ip addresses but I want Exim to
perform an rDNS check on the incoming IP and match it to the MX of that
domain. If it returns true a still want it to match one of the whitelisted
ip addresses/hostnames

So for example if a domain has 3 MX servers I want to accept only one of
them - still a valid MX but only the one that's whitelisted

Yes/no?


-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] On
Behalf Of Mike Cardwell
Sent: Friday, March 28, 2008 17:04
To: Exim Mailing List
Subject: Re: [exim] rDNS MX check

Searcher wrote:

> Anyone could help me with a reverse dns check and mx matching condition

for
> ACL?
>
> deny   
>     message        = Sorry, your IP address is not an allowed MX Server
>     mx_accept      = 1.1.1.1 : 2.2.2.2 : 3.3.3.3
>     condition      = ${if match{${lookup dnsdb {>: mxh =
> $mx_accept}}}{1}{0}}


Hi. What exactly are you trying to do? I can't figure it out...

Mike

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/