Re: Question abour SRS in sendmail

"Stuart D. Gathman" <[email protected]> Mon, 1 Aug 2005 09:36:08 -0400 (EDT)
Newsgroups gmane.mail.spam.srs.general
Message-ID <[email protected]>
On Mon, 1 Aug 2005, Mike Markley wrote:

> On Tue, Jul 19, 2005 at 10:08:50AM -0300, Fernando Trindade Xavier - Fumsoft <[email protected]> wrote:
> >     I've read about the Mail SRS and the problem of the forwarded
> > e-mail. I thing I got this problem. Some accounts in my server needs to
> > be forwarded to anothers accounts, and that servers wich have spf
> > records are rejecting these forward e-mail's. I guess that the solution
> > is rewriting the sender address, but how can I do that in sendmail ???
> >  
> >     I use the sendmail 8.13 with smtp auth, and there are few articles
> > about the implementation on it.
> >  
> >     I supose that the forum could help me.
> 
> I have also written a sendmail HACK() to do this; see
> http://www.madhack.com/~madhack/srs.m4 . It does require the
> command-line srs tools.

pysrs provides a socketmap implementation, and a HACK to go with it:

http://bmsi.com/python/pysrs.html

sendmail.mc looks like this:

define(`NO_SRS_FILE',`/etc/mail/no-srs-mailers')dnl
dnl define(`NO_SRS_FROM_LOCAL')dnl
HACK(`pysrs',`/var/run/milter/pysrs')dnl

The rpms are for Redhat, but should work with other sysvinit systems.

-- 
	      Stuart D. Gathman <[email protected]>
    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.