On Fri, 28 May 2004, Paul Iadonisi wrote:
But, yes, I am, in fact, here to end email forgery. Which is why I'm
using sendmail-milter-spf and why I'm attempting, however feebly ;-), to
write a socket map server for sendmail with libsrs to do SES. I will
publish the results if I/when I make headway. (Much of it is new
territory for me.)
I have a socket server in the Python SRS library:
http://www.bmsi.com/python/pysrs.html
pysrs $ python2 SRS/Daemon.py --secret=abc123 &
[1] 21247
pysrs $ python2 testd.py FORWARD stuart(_at_)bmsi(_dot_)com foo.com
SRS0=D8OL=IW=bmsi(_dot_)com=stuart(_at_)foo(_dot_)com
pysrs $ python2 testd.py REVERSE
SRS0=D8OL=IW=bmsi(_dot_)com=stuart(_at_)foo(_dot_)com
stuart(_at_)bmsi(_dot_)com
pysrs $ python2 testd.py REVERSE
SRS0=D8OI=IW=bmsi(_dot_)com=stuart(_at_)foo(_dot_)com
ERROR: Invalid hash
pysrs $
----testd.py---------
from socket import *
import sys
sock = socket(AF_UNIX,SOCK_STREAM)
sock.connect('/tmp/srsd')
sock.send(' '.join(sys.argv[1:])+'\n')
res = sock.recv(128).strip()
print res
sock.close()
---------------------
My sendmail does not yet support socket server maps, so I am still
using the program map.
--
Stuart D. Gathman <stuart(_at_)bmsi(_dot_)com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.