st...@keptprivate.com wrote on 10/26/21 8:29 PM: > Setting the spfbehavior file to 1, did resolve the problem!
Hooray! > I can see the SPF fail in the headers of messages that used to be rejected. > I had tried to whitelist the IPs of the forwarding servers and expected > that would have resolved the problem, but is the SPF rejection happening > before the SpamAssassin whitelist? SPF is implemented by a patch to qmail, so SpamAssassin isn't involved. I found a page of documentation: https://www.saout.de/misc/spf/ which seems to suggest that whitelisting is possible. I haven't experimented with these at all, but if you can make it work, that might be the way to go. > ... I still don't understand why some > forwarded messages work and some don't. It seems like a bug somewhere. Normally, whether the message succeeds or not will depend on the SPF rules of the original domain (i.e. the one named in the 'From' line of the message). If the original domain says "accept any IP as a valid sender", then the forwarded message will succeed; if it says "only this set of IPs/domains may send mail with this domain in the 'From' line", then you'll get a failure on forwarded messages. Of course if you find that messages from the same original domain sometimes succeed and sometimes fail, then something else is going on, and that might indeed be a bug. Angus --------------------------------------------------------------------- To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com