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 "[EMAIL PROTECTED]".
whitelist_from_rcvd    [EMAIL PROTECTED]               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 [EMAIL PROTECTED]   domain.com
whitelist_from_rcvd [EMAIL PROTECTED]   here2.example.com


Daryl

Reply via email to