Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Howto enable SRS?

983 views
Skip to first unread message

Rainer Sokoll

unread,
Aug 27, 2013, 11:13:20 AM8/27/13
to
Hi,

for the last hours, I've googled over and over - without luck. I want to
enable SRS rewriting of all outgoing mails, but I cannot figure out how
to achieve that.
Any help is appreciated.
sendmail 8.14.7, built from source.

Thank you,

Rainer

Carl Byington

unread,
Aug 27, 2013, 11:23:47 AM8/27/13
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 27 Aug 2013 15:13:20 +0000, Rainer Sokoll wrote:

> for the last hours, I've googled over and over - without luck. I want to
> enable SRS rewriting of all outgoing mails, but I cannot figure out how
> to achieve that.

google for 'srs milter'. There is one on github.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlIcxHAACgkQL6j7milTFsE3VgCePZcy+YdS7VY4bSGdvUK3+zRU
gNoAn0fSvsoNF3yGa9gReRckPuMkcISQ
=PyAW
-----END PGP SIGNATURE-----

Rainer Sokoll

unread,
Aug 28, 2013, 2:16:46 AM8/28/13
to
On 2013-08-27, Carl Byington <ca...@five-ten-sg.com> wrote:

>> for the last hours, I've googled over and over - without luck. I want to
>> enable SRS rewriting of all outgoing mails, but I cannot figure out how
>> to achieve that.
>
> google for 'srs milter'. There is one on github.

Hm, the only one I found is https://github.com/emsearcy/srs-milter -
with little to no documentation.
Seems it requires libsrs2 and libspf2. But even after installing both
and modifying srs-milter's source to point it to the right header files,
the milter won't compile.
Unfortunately, I am by no means a C guru :-/
I will try to contact the developer to get help.

Rainer
Message has been deleted

Rainer Sokoll

unread,
Sep 2, 2013, 5:22:01 PM9/2/13
to
On 2013-08-28, D. Stussy <spam+ne...@bde-arc.ampr.org> wrote:

> One does NOT need a milter. It can be done with rule sets, a patch, and two
> Perl external scripts:

With all respect: your solution (which is working, I am sure) is far
beyond my skills.
I do not want to patch sendmail's sources. I feel like a hero once I got
sendmail compiled from the official tarball ;-)


[...]

> SRS-encode program:
> #!/usr/bin/perl
> # Sendmail "program" map script to rewrite envelope-from
> # address to SRS0 address. Called from macro EnvFromSMTP.
> # For details: http://srs-socketmap.info/sendmailsrs.htm

Which is dead, BTW.

Anyway, with the author's help, I've got
https://github.com/emsearcy/srs-milter compiled, now I need to
understand all the options ;-)

Rainer
Message has been deleted

philipp...@gmail.com

unread,
May 18, 2016, 1:30:15 AM5/18/16
to
On Tuesday, 27 August 2013 22:13:20 UTC+7, Rainer Sokoll wrote:
> for the last hours, I've googled over and over - without luck. I want to
> enable SRS rewriting of all outgoing mails, but I cannot figure out how
> to achieve that.


I have the same problem and cannot believe that there is no way of simply enabling/including SRS in Sendmail. I don't have the time neither to play around with source code.

philipp...@gmail.com

unread,
May 18, 2016, 1:37:30 AM5/18/16
to
That seems to be the way: http://bmsi.com/python/milter.html
0 new messages