Re: Questions regarding RFC 5228
2008-10-20 06:28:05
Arnt Gulbrandsen wrote:
Stephan Bosch writes:
Hello,
I am finishing up a first release of my Sieve implementation, and one
of the TODO items that yet remains is getting some answers to
questions that arose during development. I've collected these into a
file an now I submit them to this list to get some clarification. Any
help is greatly appreciated.
* RFC 5228 (Sieve) : 5.1. Test address:
"Implementations MUST restrict the address test to headers that
contain addresses, but MUST include at least From, To, Cc, Bcc,
Sender, Resent-From, and Resent-To, and it SHOULD include any other
header that utilizes an "address-list" structured header body."
-> Will this cause a compile error, or are the disallowed headers
simply ignored? My implementation currently considers this to be a
compile error.
So does mine.
My implementation allows "address" on any header - it will just try to
parse it as an email address.
-> Given the variables extension, sometimes the specified header
names aren't known until runtime. If the previous answer was to cause
a compile error, should this abort the script at runtime?
I don't have variables (yet?). I expect that I would try to give an
error at compile time and to avoid runtime errors.
How would you do that if you supported variables? Are you just going to
reject the second parameter because it contains a variable reference?
|
|