You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Daryl C. W. O'Shea" <sp...@dostech.ca> on 2007/08/14 09:55:08 UTC

Re: more than one mx record whitelist_from_rcvd option

On 8/14/2007 2:23 AM, Gokhan ALKAN wrote:
> hi all ;
> 
>    i have used "whitelist_from_rcvd" option for spamassassin and it 
> works successfully if domain has only one mx record . for instance i 
> have domain.com and it has only one mx record . the below line is used 
> users who have email address  "*@domain.com".  
> 
> whitelist_from_rcvd    *@domain.com               domain.com
> 
> what i wonder is what will happen if the "domain.com" has more than one 
> mx record ?
> 
> how should i configure local.cf if the domain has more than one mx record ?

whitelist_from_rcvd has nothing to do with MX records.  It matches an 
address to a server host name pattern.

If an email domain emits mail from multiple hosts with differing domain 
names you can simply use more than one whitelist_from_rcvd entry...

whitelist_from_rcvd *@domain.com	domain.com
whitelist_from_rcvd *@domain.com	here2.example.com


Daryl