Sieve: vacation problem
Christophe Boyanique
tof at raceme.org
Wed Jun 15 12:28:16 EDT 2005
Hi all;
I've got a problem with my Cyrus+Postfix installation. I set up on
Debian Sarge Postfix, Cyrus21, Squirrelmail and AvelSieve without any
problem. I use a pam authentication with a flat passwd-like file which
works pretty well.
My problem is that I am not able to send any vacation via Sieve scripts
at all although mail redirection and mail notification work perfectly !
Mail is delivered normally but the vacation rule seems to be ignored...
I change sender mail adress, subject and message body on each test to
avoid delivery suppression.
I tried with a rules made with avelsieve:
# This script has been automatically generated by avelsieve
# (Sieve Mail Filters Plugin for Squirrelmail)
#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTowO3M6NzoicmVsZWFzZSI7aToxO3M6Njoic3RyaW5nIjtzOjU6IjEuMC4xIjt9
#AVELSIEVE_CREATED1118832483
#AVELSIEVE_MODIFIED1118850933
require
["fileinto","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
if
#START_SIEVE_RULEYTo4OntzOjQ6InR5cGUiO3M6MToiMiI7czo2OiJoZWFkZXIiO2E6MTp7aTowO3M6NzoiU3ViamVjdCI7fXM6OToibWF0Y2h0eXBlIjthOjE6e2k6MDtzOjg6ImNvbnRhaW5zIjt9czoxMToiaGVhZGVybWF0Y2giO2E6MTp7aTowO3M6ODoidmFjYXRpb24iO31zOjY6ImFjdGlvbiI7czoxOiI2IjtzOjEzOiJ2YWNfYWRkcmVzc2VzIjtzOjE3OiJwYXRyaWNrQGFsY292ZS5mciI7czo4OiJ2YWNfZGF5cyI7czoxOiI3IjtzOjExOiJ2YWNfbWVzc2FnZSI7czoxMjoiZW4gdmFjYW5jZXMhIjt9END_SIEVE_RULE
header :contains "Subject" "vacation"
{
vacation :days 7 :addresses ["patrick at alcove.fr"] text:
en vacances!^M
.^M
;
}
And with a simpler rule:
require ["vacation"];
vacation :days 7 :addresses ["patrick at alcove.fr"] "en vacances!";
and it does not work.
If I replace it with:
require ["reject"];
reject "en vacances!";
it works perfectly well.
Here is the packages used:
admin at placid:~/work/cyrus$ dpkg -l | grep cyrus21
ii cyrus21-admin 2.1.18-1 Cyrus mail system (administrationtool)
ii cyrus21-client 2.1.18-1 Cyrus mail system (test clients)
ii cyrus21-common 2.1.18-1 Cyrus mail system (common files)
ii cyrus21-imapd 2.1.18-1 Cyrus mail system (IMAP support)
ii cyrus21-pop3d 2.1.18-1 Cyrus mail system (POP3 support)
and the imapd.conf file:
admin at placid:~/work/cyrus$ egrep -v '^#' /etc/imapd.conf | egrep -v '^$'
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
lmtp_downcase_rcpt: yes
admins: cyradm
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
sievenotifier: mailto
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd auxprop
sasl_auxprop_plugin: sasldb
sasl_auto_transition: no
tls_cert_file: /etc/ssl/certs/cyrus-global.pem
tls_key_file: /etc/ssl/private/cyrus-global.key
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
Does somebody have an idea about this difference between vacation and
reject ?
Christophe.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list