spf-discuss
[Top] [All Lists]

Re: SRS and secondary MX

2004-03-23 12:58:08
On Tue, 23 Mar 2004, Alain Knaff wrote:

begin  Tuesday 23 March 2004 18:29, Mark quote:
I really like the extra IsSrs macro; it saves resources not having to call
the srs2envtol script when we already know we are not dealing with an SRS
address. :) With your permission, I'd like to add this useful macro to my
"sendmail integration" page.

No problem, go ahead

Moreover, I suggest a minor change:

    Kis_srs regex ^<?SRS[0-9]=.*

To:

    Kis_srs regex ^<?SRS[01]=.*

How future-proof is this? Do we risk having SRS2, SRS3, etc. one day?

One would hope not. We didn't originally expect to have 0 and 1, but we 
put the digit in there just in case. Using [0-9] won't hurt.

People writing Perl applications should be using the exported $SRS0RE and 
$SRS1RE from Mail::SRS. *poke* *poke*

Perhaps I should also provide a $SRSRE. Any takers?

This thread has now gone to srs-discuss.

S.

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