Sieve: vacation problem

Christophe Boyanique tof at
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)
header :contains "Subject" "vacation"
vacation :days 7 :addresses ["patrick at"] text:
en vacances!^M

And with a simpler rule:

require ["vacation"];
vacation :days 7 :addresses ["patrick at"] "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 ?

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list