This is pyspf specific.
In addition to making get_header() RFC4408 compliant :-}, I have
provided for adding additional x-name=val pairs to the header.
Typical usage is like this:
gres = 'pass'
hres = 'neutral'
self.add_header('Received-SPF',q.get_header(
q.result,receiver,bestguess=gres,helo_spf=hres),0)
For the custom keys, 'x-' is prepended and '_' becomes '-'. So
bestguess becomes 'x-bestguess=pass' and helo_spf becomes
'x-helo-spf=neutral'.
Is that good? Should I not force the custom keys to have 'x-'?
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?list_id=1007
In addition to making get_header() RFC4408 compliant :-}, I have
provided for adding additional x-name=val pairs to the header.
Typical usage is like this:
gres = 'pass'
hres = 'neutral'
self.add_header('Received-SPF',q.get_header(
q.result,receiver,bestguess=gres,helo_spf=hres),0)
For the custom keys, 'x-' is prepended and '_' becomes '-'. So
bestguess becomes 'x-bestguess=pass' and helo_spf becomes
'x-helo-spf=neutral'.
Is that good? Should I not force the custom keys to have 'x-'?
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?list_id=1007