On Tue, 2006-07-11 at 15:59 +0200, Kjetil Torgrim Homme wrote:
On Tue, 2006-07-11 at 13:59 +0100, Nigel Swinson wrote:
there are no logging actions in Sieve, but most implementations can
provide such logs without it being triggered by explicit script actions.
Well our implementation doesn't provide any end user accesible
operational logs, so using fileinto seems like an excellent low cost
implementation.
what do you gain by doing reject? no spammer ever washes their lists
based on response codes, anyway. (*perhaps* after negative response to
RCPT TO, for DATA, no way.)
I'm with Nigel on this. I would never make mail logs available to an end
user -- they are there for the system administrator to monitor the
health of the system, for compliance with company policy (e.g. the
company prohibits excessive personal use of its email system) and laws
(e.g. US federal requirements that banks log all email).
If it can't be used to deter spammers, such is life.
I don't think this is sufficient reason to allow an e-mail system to
misrepresent the delivery status.
I'm quite happy to interpret reject as "I never want to see any mail
like that ever again". If the server carries on delivering/processing
that message then I think that's up to the mail server.
RFC 2821, section 4.2.5:
When an SMTP server returns a permanent error status (5yz) code after
the DATA command is completed with <CRLF>.<CRLF>, it MUST NOT make
any subsequent attempt to deliver that message.
I don't think that's open to interpretation.
The spec was written for a less hostile environment. In the case of the
US federal law above, even spam would probably have to be logged. I
could easily see an issue coming to course and requiring some evidence
that an email was not received because it was caught by a spam filter.
So even an email rejected with a 5yz code would still need to be logged.
Is that a form of delivery? It is different if the system does it vs.
the user doing it? Does this script undermine email in some evil way:
fileinto "Rejected Mail";
reject "I think not.";
Aaron