Sieve vacation does not catch alias-addresses?

paul-erik.torronen at cardinal.fi paul-erik.torronen at cardinal.fi
Mon May 14 02:49:22 EDT 2007


Hello,

I have a weird problem where sieve does not match properly the recipient
alias address when using the vacation rule.

Specifically: I run a CentOS4.4 Linux box with postfix (2.2.10-1.RHEL4.2)
+ cyrus-imapd (2.2.12-3.RHEL4.1). The rules are created via Squirrelmail
(1.4.10-1.el4) + avelsieve (1.0.1).

Cyrus-Imapd is set up to use virtual domains (which work otherwise ok) and
the users log on to read their email with the username at domain login.
Aliases (in the form of firstname.lastname at domain) has been created for
each user in Postfix (via the virtual_alias_maps-configuration).

The problem is that sieve only 'catches' messages sent to the
username at domain address, when created in avelsieve followingly:

1. Go to Options
2. Select Message Filters
3. Click Add a New Rule
4. Select All Messages, click Move on to Step 3
5. Select "Vacation", set the Addresses-textfield to
'username at domain,firstname.lastname at domain'. Click Move on to Step 4
6. Click Finish
7. Click Save Changes

When viewing through the sieveshell, the rule looks like this:

# This script has been automatically generated by avelsieve
# (Sieve Mail Filters Plugin for Squirrelmail)
#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTowO3M6NzoicmVsZWFzZSI7aToxO3M6Njoic3RyaW5nIjtzOjU6IjEuMC4xIjt9
#AVELSIEVE_CREATED1178788687
#AVELSIEVE_MODIFIED1179124924
require
["fileinto","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
if
#START_SIEVE_RULEYTo1OntzOjQ6InR5cGUiO3M6MToiNCI7czo2OiJhY3Rpb24iO3M6MToiNiI7czoxMzoidmFjX2FkZHJlc3NlcyI7czo0ODoicG9sdHNpQDc3Ny10ZWFtLm9yZyxwYXVsLWVyaWsudG9ycm9uZW5AcG9sdHNpLmZpIjtzOjg6InZ
hY19kYXlzIjtzOjE6IjciO3M6MTE6InZhY19tZXNzYWdlIjtzOjEzMDoiVGhpcyBpcyBhbiBhdXRvbWF0ZWQgcmVwbHk7IEkgYW0gYXdheSBhbmQgd2lsbCBub3QgYmUgYWJsZSB0byByZXBseSB0byB5b3UgaW1tZWRpYXRlbHkuSSB3aWxsIGdldCBiYWNrIHRvIHlvdSBhcyBzb29uIGFzIEkgcmV0dXJuLiI7fQ%3D%3DEND_SIEVE_RULE
true {
vacation :days 7 :addresses
["username at domain","firstname.lastname at domain"] text:
This is an automated reply; I am away and will not be able to reply to you
immediately.I will get back to you as soon as I return.
.
;
}

Sending a message (from another account) to the username at domain-address
works as it should, but fails when I send a message to the
firstname.lastname at domain. No notification is sent back to the original
sender.

I've also tried leaving the Address-textfield empty (in hopes of this
being a real 'match-anything'), as well as only using the
firstname.lastname at domain address, but neither works.

Is there something I have missed, or does the vacation only work with
'real' addresses?

TIA,

Poltsi




More information about the Info-cyrus mailing list