spf-discuss
[Top] [All Lists]

Re: SRS for postfix yet?

2005-05-16 16:02:16
Quoting Mark Jeftovic (markjr(_at_)easydns(_dot_)com):

I was wondering what happened to the list, until I figured out today
that one of my procmail receipes was misfiling all the posts.

So this may be a clueless question at this juncture: has there been
a successful SRS implementation under postfix 2.x ?

I implemented SRS in Postfix with Mail::SRS, a policy daemon, and
a patch to Postfix that implements a REWRITE action.  The guts of
the policy daemon:

 if ($attr{"sender"} ne '')
 {
    return ("SENDER_REWRITE " . $SRS->forward($attr{"sender"}, 
'srs-forwarder.mumble.net'));
 }

 return "DUNNO";

The REWRITE action patch came from here:

   http://rmxf.comm.pl/

The rewrite is the result of a Postfix restriction and it must be
done after final destination is determined.  In my case I do the
rewrite in a Postfix instance running on my outbound customer SMTP
servers and use transport maps on the MX servers to direct forwarded
mail to the rewriter.

I don't forward much mail so a perl implementation works OK for me.
For volume a SRS implementation in C with a tcp_table map daemon
would be more efficient.

Its messy but it works.  I do believe a native Postfix implementation
will be even more messy.

John Capo
Tuffmail.com

-mark

-- 
Mark Jeftovic <markjr(_at_)easydns(_dot_)com>
Co-founder, easyDNS Technologies Inc.
ph. +1-(416)-535-8672 ext 225
fx. +1-(866) 273-2892

-------
Sender Policy Framework: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Read the whitepaper!  http://spf.pobox.com/whitepaper.pdf
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com