Cyrus writes logs to the local6 syslog facility. Capturing local6.debug to a file in your syslog.conf (as the documentation suggests) will give you loads of logging information.
--On Thursday, November 29, 2001 08:07:20 PM -0800 Erik Steffl <[EMAIL PROTECTED]> wrote: > I have cyrus 1.6.24 and I would like to use sieve to filter mail. > However I cannot get sieve to work, at least I don't see any filtering > and have no idea how to troubleshoot since I cannot find any logs from > cyrus. > > my main question is: how to troubleshoot cyrus? is there any way to > make it create some logs? or any kind of feedback? I'd appreciate any > info regarding this issue. > > here's my setup (as I said, mail delivery is working, I can view the > email using netscape mail MUA, only sieve is not working, as far as I > can tell): > > linux, debian unstable, kernel 2.4.14 > cyrus 1.6.24 > postfix 0.0.20011115.SNAPSHOT > > postfix is set up to use lmtp, it appears to be working, I receive > email (into INBOX). I set up cyrus to use ~/.sieve and tested ~/.sieve > using test (from cyrus source, test under sieve directory). > > here are the relevant parts of config files: > > ------------------------- /etc/postfix/main.cf > ... > mailbox_transport = lmtp > ... > ------------------------- /etc/postfix/master.cf > ... > lmtp unix - - n - - lmtp > ... > ------------------------- /etc/imapd.conf > ... > sieveusehomedir: true > ... > ------------------------- /etc/services > ... > cfinger 2003/tcp lmtp # GNU Finger / Local > Mail Transfer Protocol > ... > ------------------------- /etc/inetd.conf > ... > lmtp stream tcp nowait cyrus /usr/sbin/cyrdeliver > /usr/sbin/cyrdeliver -l > ... > ------------------------- /home/erik/.sieve (whole file is below) > require "reject"; > > if header :contains "subject" "123 testing sieve" { > reject "testing sieve message rejected!"; > } > > > TIA > > erik > >