Re: Return-Path in Sieve Scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

--On 16. Mai 2008 14:20:09 +0200 Nikolaus Rath <Nikolaus@xxxxxxxx> wrote:

I am delivering mail to cyrus from exim using lmtpd.

Apparently lmtpd adds the Return-Path header only after the sieve
scripts have been processed, because in the scripts I cannot match
this header.

If I add the return-path using exim before the message is delivered to
lmtpd, the sieve script works. However, lmtpd then adds a second
return-path header. This is does not cause any actual problems, but I
do not like it nevertheless.

Is there a way to forbid lmtpd to add a second return-path header or,
alternatively, to have it add the header earlier, so that I can use it
in sieve scripts?

I can't answer your question, but I don't think it's a good idea to even try it like that. That's what the "envelope" test in RFC 5228 is for ...

require "envelope";
if envelope :all :is "from" "tim@xxxxxxxxxxx" {
               discard;
}

<http://tools.ietf.org/html/rfc5228#section-5.4>

So the better question would be IMO if and when Cyrus will support that test.
--
    .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.
                  .:.:.:.Skype: shagedorn.:.:.:.

Attachment: pgpY2o897nr4m.pgp
Description: PGP signature

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux