Understanding SPF skipped for whitelisted relay domain

Asked by Gossamer

I'm trying to understand the reasoning behind how domains get skipped:

May 5 21:17:58 xavier policyd-spf[2883049]: prepend X-Comment: SPF skipped for whitelisted relay domain - client-ip=; helo=nam04-bn8-obe.outbound.protection.outlook.com; <email address hidden>; receiver=<UNKNOWN>

Nothing in the above log entry appears on anything in my policyd-spf.conf file:

HELO_reject = Fail
Mail_From_reject = Fail
PermError_reject = False
TempError_Defer = False
skip_addresses =,,::ffff:,::1,,,,,
Domain_Whitelist = harrimanre.com,ventusnetworks.com,digi.com,magicwrighter.com
Reject_Not_Pass_Domains = harrimanre.com

Where does policyd-spf get this information?

The problem I'm having is with amavisd and SA - when SPF is bypassed, my welcomelist_auth entries fail, even though SPF_PASS is triggered.

Question information

English Edit question
SPF Engine Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Scott Kitterman (kitterman) said :

he key to figuring this out is "whitelisted relay domain". In your Domain_Whitelist you have harrimanre.com. It's SPF record is:

harrimanre.com. 300 IN TXT "v=spf1 include:spf.protection.outlook.com -all" is listed in the spf.protection.outlook.com SPF record.

Since that address passes SPF for a whitelisted domain, it is skipped.

Revision history for this message
Gossamer (gossamer) said :

Thanks so much. I thought the whitelist was relative to emails originating from those domains, not that it would somehow inherit the SPF record of whatever domain we were whitelisting for all emails, regardless of originating domain.

I've disabled all whitelist entries and will monitor it over the coming days.

Can you help with this problem?

Provide an answer of your own, or ask Gossamer for more information if necessary.

To post a message you must log in.