On Wed, 4 Feb 2026, Marco Moock wrote:
On 03.02.2026 18:00 Uhr Tom Yates wrote:
Does anyone use this combination? I think I've found a bug in
pyspf-milter, but it may just be that i've failed to configure it
correctly, and thought I'd ask if anyone had any experience before
proceeding.
I use it and I've also talked to the maintainer in the past.
Please specify your issue and the version you are using.
thank you so much! i'm on debian 12, using sendmail (8.17.1.9) and
pyspf-milter (3.0.4) from the standard repositories.
my understanding was that, as long as localhost was defined as an internal
host:
$ grep -i internal /etc/pyspf-milter/pyspf-milter.conf
InternalHosts = 127.0.0.1
mail from remote users who had authenticated via SMTP AUTH for the
purposes of using me as a MSA would not fall foul of SPF filtering.
however, this doesn't seem to be the case.
2026-02-03T15:30:25.017308+00:00 lory sm-mta[526953]: STARTTLS=server,
relay=hari-24-b2-v4wan-171381-cust242.vm1.cable.virginm.net [82.6.40.243],
version=TLSv1.2, verify=NO, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
2026-02-03T15:30:25.089697+00:00 lory sm-mta[526953]: AUTH=server,
relay=hari-24-b2-v4wan-171381-cust242.vm1.cable.virginm.net [82.6.40.243],
[email protected], mech=PLAIN, bits=0
2026-02-03T15:30:25.120920+00:00 lory milter-greylist: User
[email protected] authenticated, bypassing greylisting
2026-02-03T15:30:25.199534+00:00 lory pyspf-milter[525053]: 5.7.23 Message rejected
due to: SPF fail - not authorized. Please see
http://www.openspf.net/Why?s=mfrom;[email protected];ip=82.6.40.243;r=<UNKNOWN>
if it's not immediately obvious what i'm doing wrong, what would help?
the whole config file? more logs? something else?
--
Tom Yates - https://www.teaparty.net