Mailing List Archive

How do I implement SRS
The SRS page talks just about sendmail
http://old.openspf.org/srs.html


I use postfix + cyrus
How Can I implement SRS


Thanks
Ram




-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com
Re: How do I implement SRS [ In reply to ]
On Wednesday 18 July 2007 06:42, ram wrote:
> The SRS page talks just about sendmail
> http://old.openspf.org/srs.html
>
>
> I use postfix + cyrus
> How Can I implement SRS
>
The short answer is you don't.

All of the milters that do SRS use a Sendmail specific function call to
rewrite the sender. You would need an SMTP filter implementation of SRS to
do it in Postfix and I am not aware of one.

Adding the ability to rewrite Mail Fom was briefly discussed on postfix-users
a few months ago and the idea got some positive response from Weitse Venema.
Not sure if it'll go into 2.5 or not.

Scott K

-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com
Re: How do I implement SRS [ In reply to ]
Quoting Scott Kitterman (spf2@kitterman.com):
> On Wednesday 18 July 2007 06:42, ram wrote:
> > The SRS page talks just about sendmail
> > http://old.openspf.org/srs.html
> >
> >
> > I use postfix + cyrus
> > How Can I implement SRS
> >
> The short answer is you don't.
>
> All of the milters that do SRS use a Sendmail specific function call to
> rewrite the sender. You would need an SMTP filter implementation of SRS to
> do it in Postfix and I am not aware of one.
>
> Adding the ability to rewrite Mail Fom was briefly discussed on postfix-users
> a few months ago and the idea got some positive response from Weitse Venema.
> Not sure if it'll go into 2.5 or not.

There are patches floating around to rewrite the sender address.
Its 4 lines of code if I recall. We've been doing SRS with Postifix
for several years.

I found it. Its a bit more than 4 lines but still simple. The
recipient rewrite code in this patch does not work. A lot more
work was needed to implement recipient rewriting that works in all
cases. But that's not needed for SRS anyway.

John Capo
Tuffmail.com


>
> Scott K
>
> -------------------------------------------
> -----------------------------------------------------------------------
> Sender Policy Framework: http://www.openspf.org/
> Archives at http://archives.listbox.com/spf-discuss/current/
> To unsubscribe, change your address, or temporarily deactivate your
> subscription,
> please go to http://v2.listbox.com/member/?list_id=735
> Powered by Listbox: http://www.listbox.com
Re: How do I implement SRS [ In reply to ]
On Wed, 18 Jul 2007, John Capo wrote:

> I found it. Its a bit more than 4 lines but still simple. The
> recipient rewrite code in this patch does not work. A lot more
> work was needed to implement recipient rewriting that works in all
> cases. But that's not needed for SRS anyway.

Recipient rewriting is needed for incoming DSNs with SRS. However,
a milter can do that easily.

--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com
Re: How do I implement SRS [ In reply to ]
On Wednesday 18 July 2007 14:54, Stuart D. Gathman wrote:
> On Wed, 18 Jul 2007, John Capo wrote:
> > I found it. Its a bit more than 4 lines but still simple. The
> > recipient rewrite code in this patch does not work. A lot more
> > work was needed to implement recipient rewriting that works in all
> > cases. But that's not needed for SRS anyway.
>
> Recipient rewriting is needed for incoming DSNs with SRS. However,
> a milter can do that easily.

But not with Postfix (at least unpatched).

Scott K

-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com
Re: How do I implement SRS [ In reply to ]
On Wed, 18 Jul 2007, Scott Kitterman wrote:

> > Recipient rewriting is needed for incoming DSNs with SRS. However,
> > a milter can do that easily.
>
> But not with Postfix (at least unpatched).

I knew that postfix couldn't modify the body from a milter, but if you can't
even change the recipients, what *can* you do? I guess it
probably lets you REJECT/TEMPFAIL emails, at least?

--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com
Re: How do I implement SRS [ In reply to ]
On Wednesday 18 July 2007 15:45, Stuart D. Gathman wrote:
> On Wed, 18 Jul 2007, Scott Kitterman wrote:
> > > Recipient rewriting is needed for incoming DSNs with SRS. However,
> > > a milter can do that easily.
> >
> > But not with Postfix (at least unpatched).
>
> I knew that postfix couldn't modify the body from a milter, but if you
> can't even change the recipients, what *can* you do? I guess it
> probably lets you REJECT/TEMPFAIL emails, at least?

Sorry. I misread.

I thought we were still on sender rewriting.

Yes, lots of ways to re-write recipients.

BTW, Postfix 2.4 (now released) supports modifying the body of a message, but
still not Mail From.

Scott K

-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com