Sieve vacation does not catch alias-addresses?

2007-05-14 Thread paul-erik . torronen
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 [EMAIL PROTECTED] login.
Aliases (in the form of [EMAIL PROTECTED]) 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
[EMAIL PROTECTED] 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
'[EMAIL PROTECTED],[EMAIL PROTECTED]'. 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
["[EMAIL PROTECTED]","[EMAIL PROTECTED]"] 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 [EMAIL PROTECTED]
works as it should, but fails when I send a message to the
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] address, but neither works.

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

TIA,

Poltsi



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Sieve vacation does not catch alias-addresses ? [auf Viren überprüft]

2007-05-16 Thread paul-erik . torronen
> I'm not sure. Maybe you have to put more than a address into brackets
> ("addr","addr") to group them.

What really is bothering me is that if I only have the [EMAIL PROTECTED] in
the brackets, and send a message to [EMAIL PROTECTED], the rule works. But
if there is either only the firstname.lastname alias, or both
firstname.lastname  alias and the username address, then it does not work.
So I'm thinking that I have two problems interacting, the proper way to
manage multiple addresses in the vacation filter itself (several addresses
not working), as well as (postfix) problem with the alias-managing where
the address is translated with the help of the virtual_aliases-rules.

Poltsi


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html