Re: sieve (and cyrus) - doesn't work - how to troubleshoot?
Dave Carrigan wrote:
>
> Erik Steffl <steffl@bigfoot.com> writes:
>
> > does cyrus create any log?
>
> Not that I know of, sadly. If there's a problem with the sieve file,
> cyrus silently behaves as if there is no sieve file.
that's extremely sad.
> > postfix. it has the lmtp transport method, but how do I set the cyrus
> > side?
>
> What version of cyrus? If it's 2.x, then it should be defined in
unofficial deb 1.6.24
> /etc/cyrus.conf; either lmtp or lmtpunix, or both. In fact, lmtp is the
> only way to deliver mail with 2.x. For 1.x, you run 'deliver -l' out of
> inetd. Test either version by telnetting to port 2525.
would this work for 1.6 (as I understand it there's quite a difference
between 1.5 and 1.6)? I haven't found it anywhere, I guess I'll go over
to cyrus web site for some more digging... do you know what's the line
for cyrus deliver -l in /etc/inetd.conf?
> Also, make sure that you set postfix's local delivery transport to be
> lmtp.
ok, so currently I use method cyrus with the following line:
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension}
${user}
but there's also following line there:
lmtp unix - - n - - lmtp
so as far as the postfix goes I should just change the:
/etc/postfix/main.cf:mailbox_transport = cyrus
to mailbox_transport = lmtp and that's it (as far as postfix goes)?
> There is also a sieve test program that comes with the cyrus source. You
> feed it a mail message and a sieve script and it'll tell you what it
> would do.
do you know the name of it? I can't find anything like that in
installed packages or cyrus source tree.
thanks a lot and thanks some more in advance:-)
erik
Reply to: