cyrus-imapd 2.1.15, sieve, lmtpd, and return-path header
Rob Siemborski
rjs3 at andrew.cmu.edu
Wed Sep 24 09:30:52 EDT 2003
On Wed, 24 Sep 2003, Pat Lashley wrote:
> > Forgetting about Return-path for the moment. At the minimum the X-Sieve
> > header should be available (and probably the received header, since the
> > message was received before it was processed by sieve).
>
> I thought you said above that sieve runs before the 200 result. So
> arguably, the message hasn't been -completely- recieved by lmtp until
> sieve is finished.
The message has been recieved, but not accepted.
> > Why not? If I had a sieve implementation that was stand-alone and I
> > wanted it to work as a local delivery agent, I think it would make sense
> > for it to work exactly as procmail does.
>
> Because it doesn't properly handle the envelope? Because pipes could
> be used instead of writing temporary files; with all of the race-
> condition potential security holes that come with using temp files?
> (No, I can't think of anything particularly dangerous that could be
> done by maliciously tampering with the temp file. But that doesn't
> mean that nobody can. And I suspect the potential would depend greatly
> on the specific stand-alone sieve implementation.)
[snip]
> That much is reasonable. The mail filtering program certainly needs
> some way to return various error conditions (and a positive success
> condition.) But using exit codes implies the need to fork a new copy
> for each message processed; which eliminates the potential for a 'sieved'.
> (Not that I'm not particularly advocating a sieved for a stand-alone
> sieve implementation; I just don't see any particular reason to eliminate
> the possibility or make it needlessly comples.)
Sieve implementations are not required to implement the envelope
extention. Local delivery agents similar to procmail have been used for
quite some time. They're certainly not high performance, but they're far
from obsolete.
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list