Sieve not processing

2002-01-01 Thread Jim Holmes

I don't know what I did wrong installing this time but either sieve isn't 
getting my e-mail or it's not processing them. I'm at a compleate loss, I 
don't remember having to do anything special the last time I installed 
Cyrus IMAP.

I can add rules with websive and installsieve works.

I'm using cyrus-imap-2.0.16

Jim Holmes
[EMAIL PROTECTED]




Sieve not processing

2002-11-12 Thread adam
I used the smartsieve application from source forge to create a vacation script,
 only nothing happens. :(  I don't see anything in the logs, etc

Nov 12 05:25:52 sardine timsieved[1540]: login:
sardine.morrison.iserv.net[127.0.0.1] adam PLAIN User logged in

$sieveshell --user=adam sardine
> ls
smartsieve  <- active scrip
> get smartsieve
#Mail filter rules for adam
#Generated by SmartSieve 0.3.1-devel Tuesday 12th of November 2002 04:48:23 AM
require ["vacation"];

vacation :days 2 :addresses ["[EMAIL PROTECTED]"] text:
test



Re: Sieve not processing

2002-01-01 Thread Robert Scussel

Configuration files?

B

Jim Holmes wrote:

> I don't know what I did wrong installing this time but either sieve 
> isn't getting my e-mail or it's not processing them. I'm at a compleate 
> loss, I don't remember having to do anything special the last time I 
> installed Cyrus IMAP.
> 
> I can add rules with websive and installsieve works.
> 
> I'm using cyrus-imap-2.0.16
> 
> Jim Holmes
> [EMAIL PROTECTED]
> 
> 



-- 
--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959




Re: Sieve not processing

2002-01-01 Thread Jim Holmes

here it is:


/etc/imapd.conf:
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
sasl_pwcheck_method: sasldb
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem


--On Tuesday, January 01, 2002 23:07 -0500 Robert Scussel 
<[EMAIL PROTECTED]> wrote:

> Configuration files?
>
> B
>
> Jim Holmes wrote:
>
>> I don't know what I did wrong installing this time but either sieve
>> isn't getting my e-mail or it's not processing them. I'm at a compleate
>> loss, I don't remember having to do anything special the last time I
>> installed Cyrus IMAP.
>>
>> I can add rules with websive and installsieve works.
>>
>> I'm using cyrus-imap-2.0.16
>>
>> Jim Holmes
>> [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> --
> Robert Scussel
> 1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
>

Jim Holmes
[EMAIL PROTECTED]



Re: Sieve not processing

2002-01-02 Thread Robert Scussel

Your configuration file looks fine.

Try explicitly setting the sievedir to /usr/sieve, or wherever your
sieve scripts are kept.  If installsieve is working, I assume that they
are in /usr/sieve.  

Hope this helps.

B

Jim Holmes wrote:
> 
> here it is:
> 
> /etc/imapd.conf:
> configdirectory: /var/imap
> partition-default: /var/spool/imap
> admins: cyrus
> sasl_pwcheck_method: sasldb
> tls_cert_file: /var/imap/server.pem
> tls_key_file: /var/imap/server.pem
> 
> --On Tuesday, January 01, 2002 23:07 -0500 Robert Scussel
> <[EMAIL PROTECTED]> wrote:
> 
> > Configuration files?
> >
> > B
> >
> > Jim Holmes wrote:
> >
> >> I don't know what I did wrong installing this time but either sieve
> >> isn't getting my e-mail or it's not processing them. I'm at a compleate
> >> loss, I don't remember having to do anything special the last time I
> >> installed Cyrus IMAP.
> >>
> >> I can add rules with websive and installsieve works.
> >>
> >> I'm using cyrus-imap-2.0.16
> >>
> >> Jim Holmes
> >> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> > --
> > --
> > Robert Scussel
> > 1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
> >
> 
> Jim Holmes
> [EMAIL PROTECTED]

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Sieve not processing

2002-01-02 Thread Jim Holmes

Didn't help, guess that would have just been too easy. Thanks anyway

-jlh

--On Wednesday, January 02, 2002 10:07 -0500 Robert Scussel 
<[EMAIL PROTECTED]> wrote:

> Your configuration file looks fine.
>
> Try explicitly setting the sievedir to /usr/sieve, or wherever your
> sieve scripts are kept.  If installsieve is working, I assume that they
> are in /usr/sieve.
>
> Hope this helps.
>
> B

Jim Holmes
[EMAIL PROTECTED]



Re: Sieve not processing

2002-01-02 Thread Robert Scussel

Just as a test, change the sievedir to usehomedirs, and then test a
sieve script with that. You will not be able to use installsieve, or
sieveshell in this case, because it will say "can't use home directory"
or something to that effect. I am running the same version on one of my
servers, and sieve works fine with the home directory.  Haven't tried it
the other way.  If sieve works using the home directory, it may help
narrow down the problem.

B

Jim Holmes wrote:
> 
> Didn't help, guess that would have just been too easy. Thanks anyway
> 
> -jlh
> 
> --On Wednesday, January 02, 2002 10:07 -0500 Robert Scussel
> <[EMAIL PROTECTED]> wrote:
> 
> > Your configuration file looks fine.
> >
> > Try explicitly setting the sievedir to /usr/sieve, or wherever your
> > sieve scripts are kept.  If installsieve is working, I assume that they
> > are in /usr/sieve.
> >
> > Hope this helps.
> >
> > B
> 
> Jim Holmes
> [EMAIL PROTECTED]

-- 
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959



Re: Sieve not processing

2002-01-02 Thread Jim Holmes

THis is what I get now:

/var/log/messages:

Jan  2 13:24:29 bushmills timsieved[5030]: can't use home directories

/var/log/maillog:

Jan  2 13:25:12 bushmills postfix/smtpd[5043]: connect from 
bushmills[127.0.0.1]
Jan  2 13:25:12 bushmills postfix/smtpd[5043]: 9DD957982: 
client=bushmills[127.0.0.1]
Jan  2 13:25:12 bushmills postfix/cleanup[5037]: 9DD957982: 
message-id=<96777829.1009977795@[192.168.5.111]>
Jan  2 13:25:12 bushmills postfix/smtpd[5043]: disconnect from 
bushmills[127.0.0.1]
Jan  2 13:25:12 bushmills postfix/qmgr[4408]: 9DD957982: 
from=<[EMAIL PROTECTED]>, size=853, nrcpt=1 (queue active)
Jan  2 13:25:12 bushmills postfix/lmtp[5045]: 9DD957982: 
to=<[EMAIL PROTECTED]>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], 
delay=0, status=deferred (lost connection with 
/var/imap/socket/lmtp[/var/imap/socket/lmtp] while sending end of data -- 
message may be sent more than once)
Jan  2 13:28:21 bushmills postfix/qmgr[4408]: 070817978: 
from=<[EMAIL PROTECTED]>, size=2614, nrcpt=1 (queue active)
Jan  2 13:28:21 bushmills postfix/lmtp[5053]: 070817978: 
to=<[EMAIL PROTECTED]>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], 
delay=1280, status=deferred (lost connection with 
/var/imap/socket/lmtp[/var/imap/socket/lmtp] while sending end of data -- 
message may be sent more than once)


--On Wednesday, January 02, 2002 12:32 -0500 Robert Scussel 
<[EMAIL PROTECTED]> wrote:

> Just as a test, change the sievedir to usehomedirs, and then test a
> sieve script with that. You will not be able to use installsieve, or
> sieveshell in this case, because it will say "can't use home directory"
> or something to that effect. I am running the same version on one of my
> servers, and sieve works fine with the home directory.  Haven't tried it
> the other way.  If sieve works using the home directory, it may help
> narrow down the problem.

Jim Holmes
[EMAIL PROTECTED]



Re: Sieve not processing

2002-01-02 Thread Ken Murchison



Jim Holmes wrote:
> 
> I don't know what I did wrong installing this time but either sieve isn't
> getting my e-mail or it's not processing them. I'm at a compleate loss, I
> don't remember having to do anything special the last time I installed
> Cyrus IMAP.
> 
> I can add rules with websive and installsieve works.
> 
> I'm using cyrus-imap-2.0.16

Are you the only person having a problem, or is this a site-wide
problem?

Without knowing this, here are a few things to look for:

- Check your personal sieve directory (/usr/sieve/...) and make sure
that you have a symlink from 'default' to an actual script.  lmtpd looks
for 'default' as the active script, and if it doesn't find one (or
doesn't have read perms on it), it will assume that you don't have an
active script.  Websieve sometimes screws this up if you use it to
create an initial script.

- Check the syntax of your script using the sieve/text.c program.  If
the parser fails on a script, it will ignore it.

- Check to make sure you aren't using any unsupported Sieve options,
like using vacation without using LMTP directly from your MTA.  If the
parser fails on a script, it will ignore it.

- Make sure you aren't getting screwed by duplicate delivery
suppression.  Don't keep trying to test a script with the same
message-id.

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Sieve not processing

2002-01-02 Thread Jim Holmes

Ken wrote:


> Are you the only person having a problem, or is this a site-wide
> problem?

I am the only user
>
> Without knowing this, here are a few things to look for:
>
> - Check your personal sieve directory (/usr/sieve/...) and make sure
> that you have a symlink from 'default' to an actual script.  lmtpd looks
> for 'default' as the active script, and if it doesn't find one (or
> doesn't have read perms on it), it will assume that you don't have an
> active script.  Websieve sometimes screws this up if you use it to
> create an initial script.

The script is directly there (/usr/sieve/j/jlh/default) no sym link

>
> - Check the syntax of your script using the sieve/text.c program.  If
> the parser fails on a script, it will ignore it.

This is the script (test version):

# Mail rules for user jlh
# Created by Websieve version 0.61h
require ["fileinto"];

if allof (address :contains ["Cc","CC","To","TO"] "jlh") {
 fileinto "INBOX.spam";
}

else {
 keep;
}

--

INBOX.spam does exist


>
> - Check to make sure you aren't using any unsupported Sieve options,
> like using vacation without using LMTP directly from your MTA.  If the
> parser fails on a script, it will ignore it.

using LMTP directly from postfix-20011226

>
> - Make sure you aren't getting screwed by duplicate delivery
> suppression.  Don't keep trying to test a script with the same
> message-id.

generating new e-mail every time

>
> Ken
>

Thanks.

-jlh




Re: Sieve not processing

2002-01-02 Thread Ken Murchison



Jim Holmes wrote:
> 
> Ken wrote:
> 
> > Are you the only person having a problem, or is this a site-wide
> > problem?
> 
> I am the only user
> >
> > Without knowing this, here are a few things to look for:
> >
> > - Check your personal sieve directory (/usr/sieve/...) and make sure
> > that you have a symlink from 'default' to an actual script.  lmtpd looks
> > for 'default' as the active script, and if it doesn't find one (or
> > doesn't have read perms on it), it will assume that you don't have an
> > active script.  Websieve sometimes screws this up if you use it to
> > create an initial script.
> 
> The script is directly there (/usr/sieve/j/jlh/default) no sym link

Is it /usr/sieve/j/jlh/default or /usr/sieve/j/jlh/default.script.  If
its the latter, it won't work.

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: Sieve not processing

2002-01-03 Thread Jim Holmes



--On Wednesday, January 02, 2002 16:32 -0500 Ken Murchison <[EMAIL PROTECTED]> 
wrote:


>> The script is directly there (/usr/sieve/j/jlh/default) no sym link
>
> Is it /usr/sieve/j/jlh/default or /usr/sieve/j/jlh/default.script.  If
> its the latter, it won't work.


Sigh that was it, thanks!!

Jim Holmes
[EMAIL PROTECTED]



Re: Sieve not processing

2002-11-12 Thread Dave O

Note that if you use a -m with the deliver program (as invoked from
sendmail, procmail, etc), it appears to bypass Sieve.  Hope that helps..

On Tue, 12 Nov 2002 [EMAIL PROTECTED] wrote:

> I used the smartsieve application from source forge to create a vacation script,
>  only nothing happens. :(  I don't see anything in the logs, etc
>