Hi David,
At 14:29 17-10-2009, David MacQuigg wrote:
Is it permissible to abort data transfer before the end of data, say
after you have received all headers, and you know the DKIM sig is bad?
RFC-5321 section 3.3 says:
If the verb is initially accepted and the 354 reply issued, the DATA
command should fail only if the mail transaction was incomplete (for
example, no recipients), if resources were unavailable (including, of
course, the server unexpectedly becoming unavailable), or if the
server determines that the message should be rejected for policy or
other reasons.
That paragraph is about the DATA command. You haven't received any
headers yet. You don't know whether the DKIM signature is bad. This
is more of a SMTP question though. You can do anything you wish for
policy reasons. As long as you adhere to the RFC 5321, you won't
cause interoperability or hard to debug problems. I suggest not
aborting the data transfer to avoid such problems.
Regards,
-sm