how to debug sieve
Dieter Kluenter
dieter at dkluenter.de
Sat Apr 30 14:35:10 CEST 2005
Hi,
I hav e created a sieve script[1], injected and activated ist, using
xemacs and gnus-sieve, the script is activated, that is the symlink
default.bc is set to myscript.bc, I can login with sivtest and
sieveshell, but still incoming mail ist not filed into my
subfolders. Sieve is not logging anything, how can I debug sieve to
see what is going wrong?
By the way, I tested both delimiter versions with no avail.
-Dieter
Footnotes:
[1]
,----[ mysieve.siv ]
| require "fileinto";
| if header :is "X-Mailinglist" "suse-linux" {
| fileinto "INBOX/suse-linux";}
| elsif header :is "X-Mailinglist" "suse-isdn" {
| fileinto "INBOX.isdn";}
| elsif header :is "X-Mailinglist" "suse-amd64" {
| fileinto "INBOX.amd64";}
| elsif allof (header :contains "Sender" "owner-info-cyrus at list",
| address :contains :localpart ["to", "cc", "bcc"] "info-cyrus"){
| fileinto "INBOX.imap";}
| elsif header :contains "List-ID" "openldap-software at OpenLDAP.org" {
| fileinto "INBOX.openldap";}
| elsif header :contains "X-BeenThere" "kolab-users at kolab.org"{
| fileinto "INBOX.kolab";}
| else {fileinto "INBOX";
| }
`----
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:01443B53
More information about the users
mailing list