cyrus-imap + sieve

Kjetil Torgrim Homme kjetilho at ifi.uio.no
Wed Jul 20 12:23:29 EDT 2005


On Sat, 2005-07-09 at 16:53 +0200, Sebastian Fohler wrote:
> I sent a mail from my crusader at far-galaxy.de account where this line
> is in the header: 
> 
> Return-Path: <crusader at far-galaxy.de>
> so it should work, but it doesn't.

you need to use the envelope test, Return-Path is not added to the
message until it is written to disk  e.g., if you use the redirect
action in your Sieve script, the forwarded message MUST NOT include the
Return-Path header.

        require "envelope";
        
        if envelope "From" "crusader at far-galaxy.de" {
         ....
        }

-- 
Kjetil T.

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




More information about the Info-cyrus mailing list