Hi
It seems you did not start sieve.
have a look at your /etc/services.
you need to find a line like :
sieve 2000/tcp
then, have a look to /etc/cyrus.conf
you should have lines containing sieve. here is the content of my own file. you can
find it
somewhere in the
tarball of cyrus-imap :
bash-2.04$ more /etc/cyrus.conf
# standard standalone server implementation
START {
# do not delete these entries!
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=1
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# LMTP is required for delivery
lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}
EVENTS {
# this is required
checkpoint cmd="ctl_mboxlist -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="ctl_deliver -E 3" period=1440
}
then, stop and start cyrus.
The best way to test is by telneting :
telnet localhost sieve
bash-2.04$ telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v1.0.0"
"SASL" "PLAIN DIGEST-MD5 CRAM-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress regex"
OK
logout
Ok "Logout Complete"
Connection closed by foreign host.
if it's good, sieve works. note that I've never been able to make installsieve work. I
just
used websieve instead :)
Prune
John XING wrote:
> Hi,
>
> I need more help.
>
> My problem is: could not get either installsieve or sieveshell work!
>
> I have tried both cyrus-imapd 2.0.7 and 2.0.12 with postfix on redhat 7.0.
>
> Here is what I got:
>
> [xing@eyre rpm_build]$ sieveshell 127.0.0.1
> connecting to 127.0.0.1
> connect: Connection refused
> unable to connect to server: network initialization failed at /usr/bin/sieveshell
>line 149.
>
> Examined the perl code of /usr/bin/sieveshell, it seems that
> I need to run acapd. Do I really need to run acapd?
> Also what is the role of timsieved?
>
> The docs in cyrus packages are awefully out of date.
>
> I would really appreciate if you can kindly show me
> (1) what daemon(s) to run
> (2) how to configure them
> in order to be able to install sieve scripts.
>
> The cyrus-imapd has been running very nicely for a long time.
> However, I do want to use sieve for fitlering and forwarding.
>
> Thanks a lot.
>
> John
>
> On Mon, Mar 05, 2001 at 07:16:07PM +0100, Atif Ghaffar wrote:
> > Hi John.
> > I took my recipies from here.
> > http://www.cyrusoft.com/sieve/scripts/simple-anti-spam.txt
> > http://www.cyrusoft.com/sieve/hillen-sieve-script-001.txt
> > http://www.cyrusoft.com/sieve/maro-sieve-script-001.txt
> >
> > You may also want to download and install the GUI to make rules.
> > http://24.112.168.35/websieve/
> >
> >
> > My vacation test rule was
> > require "vacation";
> > vacation "Gone away";
> >
> >
> > let me know if you need more help
> >
> > John XING wrote:
> > >
> > > Hi,
> > >
> > > I am struggling to have sieve work under cyrus.
> > > Could you share your recipe? Even a few lines
> > > will help a lot. I could not find proper doc for it.
> > >
> > > Thanks a lot
> > >
> > > John
> > > On Mon, Mar 05, 2001 at 03:20:51PM +0100, Atif Ghaffar wrote:
> > > > Hi.
> > > > Just compiled and installed 2.0.12 and lost vacation support.
> > > > Everything else "fileinto", "reject" etc are working fine.
> > > >
> > > > I am using Postfix+Cyrus+LDAP.
> > > > Delivery is done over LMTP.
> > > >
> > > > All but vacation is working fine.
> > > >
> > > > PS: Vacation was working in 2.0.9
> > > > shall I downgrade again?
> > > >
> > > > thanks for any info.
> > > >
> > > > --
> > > > Atif Ghaffar
> > > > Internet Development Manager
> > > > 4unet AG/SA
> > > >
> > > > -------------------------.
> > > > +41 78 787 51 45 ¦ voice
> > > > +41 24 441 09 03 ¦ fax
> > > > http://www.4unet.net ¦ www
> > > > http://atif.developer.ch ¦ homepage
> > > > [EMAIL PROTECTED] ¦ email
> > > >
> >
> > --
> > Atif Ghaffar
> > Internet Development Manager
> > 4unet AG/SA
> >
> > -------------------------.
> > +41 78 787 51 45 ¦ voice
> > +41 24 441 09 03 ¦ fax
> > http://www.4unet.net ¦ www
> > http://atif.developer.ch ¦ homepage
> > [EMAIL PROTECTED] ¦ email
> >
> > Do you speak Unix?
> >