spf-discuss
[Top] [All Lists]

RE: SPF-socketmapd

2005-02-24 05:36:49

24/02/2005:

Bug-fix: change FAIL string to have $smtp_comment be output in quotemeta
form; otherwise sendmail may strip spaces at certain places, under certain
conditions.

http://srs-socketmap.info/spf/SPF-socketmapd.0.29.tar.gz


Instead of abusing the "Email Forwarder's Protocol" thread for this,
I might as well put this under its proper heading too:

Actually, today I thought of a very easy 'hack' to get around having to
recompile sendmail. :) On your compiled binary, you would just do the
following:

sed -e 's/x400-received\(.\)/received-spf\1\1/g' sendmail > newsendmail

That does NOT mean X400-received will be replaced with Received-SPF
headers; it also does NOT mean mail can only contain 1 instance of the
X400-received header. It ONLY means that, from now on, you can use H lines
to force an extra Received-SPF header, instead of extra X400-received
headers. And when was the last time you needed to add an extra
X400-received header in a H line? :)

I know, it is dirty. :) But very effective, and provides an easy solution
for those who are not in a position to recompile their sendmail.

- Mark 
 
        System Administrator Asarian-host.org
 
---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx


<Prev in Thread] Current Thread [Next in Thread>