SM wrote:

>At 18:56 13-11-2006, Philip Prindeville wrote:
>  
>
>>I recently saw an email get bounced that was legitimately coming
>>    
>>
>>from Microsoft:
>
>[snip]
>
>
>  
>
>>I've put into my spamassassin/sa-mimedefang.cf file:
>>
>>whitelist_from_rcvd             [EMAIL PROTECTED] smtp.microsoft.com
>>
>>
>>What am I missing at this point?
>>
>>Does the 2nd arg to the whitelist_from_rcvd need to be
>>maila.microsoft.com instead?
>>    
>>
>
>Yes.
>
>Regards,
>-sm 
>
>  
>

The problem with this is that the DNS returns the response (of the multiple
PTR records) in no particular order, so looking up the rDNS can return
one of three different names...

# nslookup
> set type=any
> server ns4.msft.net.
Default server: ns4.msft.net.
Address: 207.46.66.126#53
> 212.115.107.131.in-addr.arpa
Server:         ns4.msft.net.
Address:        207.46.66.126#53

212.115.107.131.in-addr.arpa    name = mail1.microsoft.com.
212.115.107.131.in-addr.arpa    name = smtp.microsoft.com.
212.115.107.131.in-addr.arpa    name = maila.microsoft.com.
> 


So, if I put:


whitelist_from_rcvd     [EMAIL PROTECTED] mail1.microsoft.com
whitelist_from_rcvd     [EMAIL PROTECTED] smtp.microsoft.com
whitelist_from_rcvd     [EMAIL PROTECTED] maila.microsoft.com


will that work?  Or will each command clobber the previous one?

-Philip


Reply via email to