spf-discuss
[Top] [All Lists]

Re: purely dual-format approach

2004-10-30 08:58:00
Frank Ellermann wrote:

And where does its effect stop, at the end ?

At the next scope modifier and at the end of the record.

Then you have this problem with m1 m2 m3 in scope s1 and m2 m3 m4 in s2.
You could solve it with scope-start and scope-end modifiers:

No problem: v=spf1 sc=s1 m1 sc=s1,s2 m2 m3 sc=s2 m4

And yery easy to program: when encountering the "sc" modifier set the flags
accordingly. No need of look-ahead.

But if you'd take the not so brain-dead Sender-ID definition,
then it's much shorter to get the same effect with spf2.0:

m1 only=s1 m2 m3 m4 only=s2

In other words m1 only in s1, m2 & m3 always, m4 only in s2.

Why is m1 not in s2? "m1" is followed by "only=s2" and therefore according
to the Sender-ID definition it is in s2.

Roger