
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Hi there,
I have problems on my SUN-Box (Solaris 9) with the vacation feature
from Sieve. Vacation does nothing on my machine. :-(
I compiled and installed successfully:
-sendmail 8.12.9
-amavis with virus-check nai+sweep
-spamassasin
-cyrus-imapd-2.0.17 with sieve
-cyrus-sasl-1.5.28
OK, everything worked fine with imap+sieve. I can do everything with
sieve (fileinto, redirect), but rejecting. Vacation did not work and I
can`t find any hint where it fails.
Is there anyone who can give me advice?
Here are some useful informations:
Sendmail is installed in /usr/lib/, it should be found by sieve.
/usr/cyrus/bin/deliver works without problems.
Sieve answers on port 2000:
telnet localhost 2000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v1.0.0"
"SASL" "LOGIN PLAIN DIGEST-MD5 CRAM-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
regex"
OK
/etc/imapd.conf:
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus wasi
sasl_pwcheck_method: sasldb
sasl_mech_list: LOGIN PLAIN CRAM-MD5
allowanonymouslogin: no
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
etc/cyrus.conf:
START {
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
}
SERVICES {
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}
EVENTS {
checkpoint cmd="ctl_mboxlist -c" period=30
delprune cmd="ctl_deliver -E 3" period=1440
}
Here is one example (I tested different ones!) created by smartsieve:
/usr/sieve/w/wasi/smartsieve.script
#Mail filter rules for wasi
#Generated by wasi using SmartSieve 0.5.1-devel 2003/11/26 21:46:43
require ["fileinto","vacation"];
if allof (header :contains "subject" "*****SPAM*****") {
fileinto "INBOX.SPAM";
}
elsif allof (header :contains "subject" "VIRUS IN MAIL FOR YOU") {
fileinto "INBOX.VIRUS";
}
vacation :days 3 :addresses ["[EMAIL PROTECTED]"] text:
Hi I am off
.
;
##PSEUDO script start
#rule&&1&&ENABLED&&&&&&*****SPAM*****&&folder&&INBOX.SPAM&&0&&&&&&
#rule&&3&&ENABLED&&&&&&VIRUS IN MAIL FOR
YOU&&folder&&INBOX.VIRUS&&0&&&&&&
#vacation&&3&&"[EMAIL PROTECTED]"&&Hi I am off&&on
#mode&&basic
OK, thatīs it
every help is appreciated
Michael
| <-- __Chronological__ --> | <-- __Thread__ --> |