Re: Sieve 2.2 not working

2005-05-11 Thread Scott M. Likens
uh bypassing procmail? very simple. deliver via lmtp mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp On Thu, 12 May 2005 00:44:18 +0100 "John Lane" <[EMAIL PROTECTED]> wrote: > Ok, As I was getting nowhere I delved into the code. > > This is what is happening... > > When I send a mes

RE: Sieve 2.2 not working

2005-05-11 Thread John Lane
Ok, As I was getting nowhere I delved into the code. This is what is happening... When I send a message "deliver" is used to send it into cyrus. Code in "imap/lmtpd.c" gets executed in a function called "deliver". This has two bits of code for mail delivery, the first is "case 1: shared mailbox

RE: Sieve 2.2 not working

2005-05-11 Thread Dan Mack
I am having a slightly different problem with my new sieve 2.2 install. When I issue the 'list' command, I get nothing. What could cause that problem? If anyone knows how to put sieve into debug mode, please let us know. Dan On Wed, 11 May 2005, John Lane wrote: Try to make a 'cc' rule so that

RE: Sieve 2.2 not working

2005-05-11 Thread John Lane
> Try to make a 'cc' rule so that sendmail gets called and sends an >email. Also make sure you have activated the default script, perhaps >between the tests you have omitted to adctivate the script. My sieve script is loaded and activated: -bash-2.05b# sieveshell -a testuser -u testuser localhos

Re: Sieve 2.2 not working

2005-05-11 Thread Cristian Mitrana
John Lane wrote: I think I have the sendmail binary set up ok. Here is my imapd.conf: -bash-2.05b# cat /etc/imapd.conf # Begin /etc/imapd.conf configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: tr

RE: Sieve 2.2 not working

2005-05-11 Thread John Lane
> My guess is that Sieve can't find your "sendmail" binary to process the > rejection message, which causes the script to fail, thus doing an > implicit keep (delivering to INBOX). Try setting the "sendmail" option > in imapd.conf to the explicit path of the "sendmail" program/script > provided b

Re: Sieve 2.2 not working

2005-05-10 Thread Ken Murchison
John Lane wrote: Hello, I have been trying to get Sieve working, to no avail. Having scoured the mailing lists / google, I've found other people with the same problem but can't find a solution. My configuration comprises postfix, procmail and cyrus-imap. It is all working as expected except for Sie

Re: Sieve 2.2 not working

2005-05-10 Thread Scott M. Likens
require "fileinto"; if address :contains :all ["from"] "[EMAIL PROTECTED]" { fileinto "INBOX.Servers.Periodic";} elsif address :contains :all ["to", "cc", "bcc"] "[EMAIL PROTECTED]"{ discard;} elsif address :contains :all ["to", "cc", "bcc"] else {

Sieve 2.2 not working

2005-05-10 Thread John Lane
Hello, I have been trying to get Sieve working, to no avail. Having scoured the mailing lists / google, I've found other people with the same problem but can't find a solution. My configuration comprises postfix, procmail and cyrus-imap. It is all working as expected except for Sieve. I'm runnin