Ben, thanks for the explanation.

> opt BOFHSPFHELO=pass,none,neutral,softfail,unknown
> opt BOFHSPFMAILFROM=pass,none,neutral,softfail,unknown
> opt BOFHSPFFROM=pass,none,neutral,softfail,unknown
> opt BOFHSPFTRUSTME=1
>

So as suggested I changed the rules to include only "pass" instead of 
"pass,none,neutral,softfail,unknown"

And suddenly courier started rejecting just all messages that came in. 
Including messages forwarded from a relay for my domain (in this case, I 
have server1.americasnet.com relaying to another server).

Here's my spf config in DNS:

americasnet.com. IN TXT "v=spf1 a mx a:email1.americasnet.com 
a:server1.americasnet.com a:server2.americasnet.com mx:americasnet.com ~all"

But after I changed the bofh settings, my mail.log is filled with errors 
like this:
Mar  2 11:32:27 email1 courieresmtpd: 
error,relay=::ffff:72.34.231.91,from=<>: 417 SPF none 
server1.americasnet.com: Address does not pass the Sender Policy Framework

Why is it failing since it is configured in SPF?

Thanks
Ricardo 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to