On Mon, 12 Mar 2001, Jon Leonard wrote:
> > Mar 12 17:20:19 mail deliver[925]: [ID 887166 local6.info] sieve parse
> > error for tuupola
> Do you still have a "reject" action enabled? If so, try removing it. The
> vacation/reject combination is invalid.
No. I only had the vacation lines. I believe the errormessage
was caused by broken sendmail configuration file (I missed
the z flag in CYRUS_MAILER_FLAGS). Fixed the configuration
file. Interesting parts now are:
define(`confLOCAL_MAILER', `cyrus')
define(`CYRUS_MAILER_FLAGS', `A5@/:|wSmXz')dnl
define(`CYRUS_MAILER_PATH', `/usr/local/cyrus/bin/deliver')
define(`CYRUS_MAILER_ARGS', `deliver -l')
MAILER(`smtp')
MAILER(`cyrus')
Now I dont't get the parse errors anymore. But i don't
get any vacation replies either. I even tried from
an account which I hadn't tried before. The sieve
script is:
require "vacation";
vacation :days 1 :addresses "[EMAIL PROTECTED]"
"I'am on vacation...";
I believe the lmtp is now working properly since mails
get delivered and I have these in cyrus logs:
Mar 12 19:18:44 mail deliver[3818]: [ID 685068 local6.debug] lmtp
connection preauth'd as postman
Now doing some more testing I discovered that after
changing to lmtp delivery even the old sieve scripts
which worked before silently stopped working. No error
messages, no anything. One example I'm talking about
is:
>cat .sieve
require ["reject","fileinto"];
if address :is :all "From" "[EMAIL PROTECTED]"
{
reject "testing";
}
I do have sieveusehomedir: true in /etc/imapd.conf
and I see X-Sieve: cmu-sieve 1.3 in the mail headers.
Is there something I am totally missing in here?
--
Mika Tuupola http://www.appelsiini.net/~tuupola/