Mailing List Archive

SRS and Sendmail aliases
A couple of the local users here are actually off-site so mail is
forwarded to them using the sendmail aliases mechanism. As we run SPF
I would also like to implement SRS for these forwarded users. Looking
at "http://spf.pobox.com/srs.html" an example shows the use of
"|/usr/bin/srs ....."
in a .forward file and I believe that the syntax of the .forward and
aliases files are the same.

I have tried this but it does not work as sendmail attempts to pipe
the mail through stdin of the program specified in the aliases file,
and /usr/bin/srs does not expect this but simply generates the new
envelope-from header.

What is the best way of doing this?
Re: SRS and Sendmail aliases [ In reply to ]
On Mon, 29 Mar 2004, Graham Murray wrote:

> A couple of the local users here are actually off-site so mail is
> forwarded to them using the sendmail aliases mechanism. As we run SPF
> I would also like to implement SRS for these forwarded users. Looking
> at "http://spf.pobox.com/srs.html" an example shows the use of
> "|/usr/bin/srs ....."
> in a .forward file and I believe that the syntax of the .forward and
> aliases files are the same.
>
> I have tried this but it does not work as sendmail attempts to pipe
> the mail through stdin of the program specified in the aliases file,
> and /usr/bin/srs does not expect this but simply generates the new
> envelope-from header.
>
> What is the best way of doing this?

I suspect that the best way of doing it is for me to implement a
/usr/bin/srs-forward which does actually behave as suggested by that
document. I will do so in the next day or two and release it with version
0.31 of the software.

Thank you for your suggestion.

S.

--
Shevek http://www.anarres.org/
I am the Borg. http://www.gothnicity.org/