Michael Bacon wrote: > > 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.
thank you, I enabled the local6 facility, here's the relevant line from /etc/syslog.conf: local6.* /var/log/cyrus.log the file is created but the only message from deliver I see is: Dec 1 05:23:19 localhost deliver[25638]: connection from [198.144.206.234] there are also imapd messages: Nov 30 22:51:42 localhost imapd[13585]: login: localhost[127.0.0.1] erik plaintext Nov 30 23:21:42 localhost imapd[13585]: PROTERR: idle for too long which is not helpful in troubleshooting sieve. Is there any way to make cyrus more talkative? or any other ideas on how to test sieve? (my setup is quoted below). TIA erik > > --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 > > > >