|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Vacation?
From: Darron Froese (darron
froese.org)Date: Sat Sep 16 2000 - 17:52:57 CDT
- Next message: Craig Sanders: "Re: Anti-relay madness"
- Previous message: Wietse Venema: "Re: MX record."
- Next in thread: Ken Murchison: "Re: Vacation?"
- Reply: Ken Murchison: "Re: Vacation?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
on 9/14/00 8:09 PM, Ken Murchison at ken
oceana.com wrote:
>> Every time that I try to set up a sieve script with vacation I just get this
>> in the logs (I'm already using the "reject" and "fileinto" requires without
>> problems.):
>>
>> Sep 14 18:33:18 ans deliver[22796]: sieve parse error for darron: line 2:
>> unsupported feature
>> Sep 14 18:17:01 test2 deliver[7720]: sieve parse error for testuser: line 1:
>> unsupported feature
>
> You need to be running deliver in LMTP mode (-l switch) in order for
> vacation to be enabled. That's why it says unsupported feature. If you
> need info on how to setup LMTP mode for your MTA (sendmail, postfix,
> etc), check the list archives.
System: Postfix snapshot 20000531, Cyrus Imapd 1.6.24
I've enabled lmtp on Postfix. Here's the relevant line in my postfix
master.cf:
lmtp unix - - n - - lmtp
I've enabled lmtp in my inetd.conf:
lmtp stream tcp nowait cyrus /usr/local/cyrus-imapd/bin/deliver -e -l
Deliveries appear to be done just like normal - mail gets to my INBOX:
Sep 16 15:14:47 ans postfix/qmgr[8288]: 136D94DF3:
from=<darron
test2.fudgehead.com>, size=614 (queue active)
Sep 16 15:14:47 ans postfix/lmtp[8296]: 136D94DF3: to=<darron
froese.org>,
relay=ans.odi.ca[24.67.12.142], delay=0, status=sent (250 2.1.5 Ok)
Sep 16 15:16:46 ans postfix/smtpd[8365]: 3F0094DF3:
client=krycek.fudgehead.com[209.91.88.194]
Sep 16 15:16:46 ans postfix/cleanup[8366]: 3F0094DF3:
message-id=<20000916211838.9676A2316C
test2.fudgehead.com>
Sep 16 15:16:46 ans postfix/smtpd[8365]: disconnect from
krycek.fudgehead.com[209.91.88.194]
Sep 16 15:16:46 ans postfix/qmgr[8288]: 3F0094DF3:
from=<root
test2.fudgehead.com>, size=601 (queue active)
Sep 16 15:16:46 ans postfix/lmtp[8368]: 3F0094DF3: to=<darron
froese.org>,
relay=ans.odi.ca[24.67.12.142], delay=0, status=sent (250 2.1.5 Ok)
Sep 16 15:25:11 ans postfix/smtpd[8439]: connect from
vger.kernel.org[199.183.24.194]
Sep 16 15:25:12 ans postfix/smtpd[8439]: 325AA4DF3:
client=vger.kernel.org[199.183.24.194]
Sep 16 15:25:12 ans postfix/cleanup[8440]: 325AA4DF3:
message-id=<LAW2-F307ox7nyeKzGZ000016b0
hotmail.com>
Sep 16 15:25:12 ans postfix/qmgr[8288]: 325AA4DF3:
from=<linux-kernel-owner
vger.kernel.org>, size=2228 (queue active)
Sep 16 15:25:13 ans postfix/smtpd[8439]: disconnect from
vger.kernel.org[199.183.24.194]
Sep 16 15:25:13 ans postfix/lmtp[8443]: 325AA4DF3: to=<darron
froese.org>,
relay=ans.odi.ca[24.67.12.142], delay=1, status=sent (250 2.1.5 Ok)
BUT - no sieve filtering occurs AT ALL.
I have a .sieve script that presorts all of my mailing lists. It works just
fine when I deliver via the standard cyrus method in my master.cf:
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/local/cyrus-imapd/bin/deliver -e -m
${extension} ${user}
My .sieve looks like this:
# Requires.
require ["reject","fileinto"];
# Mailing List Filters
if header :contains ["Sender"] ["postfix"] {
fileinto "INBOX.tech.postfix";
} elsif header :contains ["Sender"] ["linux-kernel"] {
fileinto "INBOX.tech.linux-kernel";
} elsif header :contains ["Sender"] ["linux-raid"] {
fileinto "INBOX.tech.linux-raid";
} elsif header :contains ["Sender"] ["bugtraq"] {
fileinto "INBOX.tech.bugtraq";
}
Any idea what I'm missing to get sieve working with postfix/lmtp deliveries?
-- Darron darronfroese.org
- Next message: Craig Sanders: "Re: Anti-relay madness"
- Previous message: Wietse Venema: "Re: MX record."
- Next in thread: Ken Murchison: "Re: Vacation?"
- Reply: Ken Murchison: "Re: Vacation?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]