-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi David,
| I am trying to use a simple sieve filter to handle backscatter | e-mails. If the return path is "empty" (i.e., just <>), then I | want to file it into a different folder: I'm not totally sure, but I think that the return-path is inserted after the sieve filtering. For example your mail's headers contain: ~ Return-Path: <[EMAIL PROTECTED]> ~ Received: from mail.juz-kirchheim.de (cyrus.juz-kirchheim.de ~ [10.111.222.4]) by cyrus.juz-kirchheim.de (Cyrus v2.1.13) with LMTP; ~ Thu, 30 Dec 2004 06:02:38 +0100 ~ X-Sieve: CMU Sieve 2.2
It should contain the envelope addresses - so you should try to check the envelope sender adress. The example from the RFC for envelope tests is: ~ require "envelope"; ~ if envelope :all :is "from" "[EMAIL PROTECTED]" { ~ discard; ~ } So it would probably be ... if envelope :all :is "from "" { ...
Hope that helps, Baltasar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB0+5Lp2YsmzTbIwYRAsuPAKCJA1VWt7kakb4nyIknwNilHFQuqgCePLoa imEX79gcDY5oinzP5dVHXl8= =U+YV -----END PGP SIGNATURE----- --- 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