Hi Atif,

On Fri, 20 Apr 2001, Atif Ghaffar wrote:

> Hi Tom,
> 
> does your smtp server speaks LMTP with Cyrus?

No.  It does not.  

> To get filters to work (especially for vacation) the message should be
> delivered by lmtp.

I understand this is needed for vacation.  But from numerous messages on
this list I understand LMTP is _not_ needed for basic sieve scripts.

> as I see in your logs there is an entry about lmtp.
> 
> can you telnet to port 2000 (sieve port)?

Yes, and this works as expected and allows me to upload scripts via the
installsieve or sieveshell perl scripts.

> is /var/imap/sieve the correct directory for sieve (defined in
> imapd.conf)?

Yes.   imapd.conf has:

configdirectory: /var/imap
partition-default: /var/spool/imap
sievedir: /var/imap/sieve
admins: cyrus tom
srvtab: /var/imap/srvtab
sasl_pwcheck_method: sasldb
sendmail: /usr/lib/sendmail

Thanks for your help so far.

Best Regards,


Tom.
--
Cognality Ltd.      [EMAIL PROTECTED]   Where dreams become reality....


> 
> Tom Sedge wrote:
> > 
> > Hi Atif,
> > 
> > Yes, as I said, it is active, and I've checked by looking in the sieve
> > dir:
> > 
> > $ pwd
> > /var/imap/sieve/t/tom
> > $ ls -l
> > total 4
> > lrwxrwxrwx    1 cyrus    root  21 Apr 19 12:18 default -> my.first.sieve.script
> > -rw-------    1 cyrus    root  92 Apr 19 13:45 my.first.sieve.script
> > $ cat default
> > require "fileinto";
> > if header :contains "Subject" "woof" {
> >     fileinto "INBOX.tomstuff";
> > }
> > $
> > 
> > But it (or other scripts - standard ones - don't seem to have any affect).
> > 
> > Best Regards,
> > 
> > Tom.
> > --
> > Cognality Ltd.      [EMAIL PROTECTED]   Where dreams become reality....
> > 
> > On Fri, 20 Apr 2001, Atif Ghaffar wrote:
> > 
> > > Hi tom.
> > >
> > > is your sieve script activated?
> > >
> > > Tom Sedge wrote:
> > > >
> > > > Hi,
> > > >
> > > > I've got Cyrus 2.0.12 working well.  I can install scripts ok with
> > > > sieveshell.pl & I've verified that they are being correctly activated.
> > > >
> > > > However, Sieve doesn't seem to work.  I've tried a variety of scripts
> > > > (with reject and fileinto) from known working examples but none
> > > > succeed.  All the mail is simply put into the user's INBOX.
> > > >
> > > > I'm using qmail to deliver the mail via:
> > > >
> > > > |/usr/cyrus/bin/deliver -a $LOCAL -m user.$LOCAL
> > > >
> > > > (where the username is provided by qmail in the LOCAL variable)
> > > >
> > > > All I see in the imapd.log is:
> > > >
> > > > Apr 19 13:46:24 behemoth master[31219]: about to exec /usr/cyrus/bin/lmtpd
> > > > Apr 19 13:46:24 behemoth service-lmtpd[31219]: executed
> > > > Apr 19 13:46:24 behemoth lmtpd[31219]: accepted connection
> > > > Apr 19 13:46:24 behemoth lmtpd[31219]: lmtp connection preauth'd as
> > > > postman
> > > > Apr 19 13:46:24 behemoth master[31208]: process 31219 exited, status 0
> > > >
> > > > but the sieve filtering seems to be ignored.
> > > >
> > > > What do I need to do to get the sieve scripts to run?
> > > >
> > > > Best Regards,
> > > >
> > > > Tom.
> > > > --
> > > > Cognality Ltd.      [EMAIL PROTECTED]   Where dreams become reality....
> 
> -- 
> Atif Ghaffar
> Internet Development Manager
> 4unet AG/SA/Ltd.
> -------------------------.
>         +41 21 351 53 60 ¦ voice
>         +41 78 787 51 45 ¦ mobile
>         +41 86 0796598972¦ fax
>     http://www.4unet.net ¦ www
> http://atif.developer.ch ¦ homepage
>   [EMAIL PROTECTED] ¦ email
> 
> 
> 

Reply via email to