On Tue, July 24, 2018 10:27, Phil Stracchino wrote:
> On 07/24/18 09:59, Phil Stracchino wrote:
>> On 07/24/18 08:42, Viktor Dukhovni wrote:
>>>> On Jul 24, 2018, at 8:36 AM, Phil Stracchino
>>>> <[email protected]> wrote:
>>>>
>>>> ....EXCEPT when mail is being queued through my secondary MX
>>>> because I'm
>>>> offline. Then it's a problem, which I'm now trying to figure out
>>>> how to
>>>> fix.
>>>
>>> You MUST NOT filter inbound traffic via your secondary MX.
>>> If that MX host is too liberal in what it accepts, find another,
>>> or live without a secondary MX.
>>
>> I'm not TRYING to filter traffic from my secondary MX. I'm just not
>> sure of the best way to set things up such that it does NOT get
>> filtered.
>
> Also, for clarification, all of this was working â i.e. mail queued
> through my backup MX was correctly delivered â *UNTIL* I added SPF
> filtering a year or two ago. I only recently discovered that this
> created a problem when the MX backup flushed queued mail. The single
> thing that I am specifically trying to figure out is how to set things
> up to *NOT* SPF-filter mail coming in through my MX relay, without
> turning off SPF checking altogether. Theory says that adding the MX
> relay to HELO_whitelist should have accomplished this, but it appears
> it
> didn't.
>
> Do I need a smarter SPF filter than pypolicyd-spf?
> *IS* there a different SPF filter?
> Or am I just missing something in my configuration that *should* be
> obvious?
>
>
From: policyd-spf.conf
# Whitelist: CIDR Notation list of IP addresses not to check SPF for.
# Example (default is no whitelist):
# Whitelist = 192.168.0.0/31,192.168.1.12
# Domain_Whitelist: List of domains whose sending IPs
# (defined by passing
# their SPF check should be whitelisted from SPF.
# Example (default is no domain whitelist):
# Domain_Whitelist = pobox.com,trustedforwarder.org
Domain_Whitelist = bellnexxia.net,lcbo.com
# Domain_Whitelist_PTR: List of domains to whitelist against SPF
checks base
# on PTR match.
# Example (default is no PTR whitelist)
# Domain_Whitelist_PTR = yahoo.com
. . .
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:[email protected]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3