Re: Sieve vacation does not catch alias-addresses ? [auf Viren überprüft]
FORMER 03 | Baltasar Cevc
baltasar.cevc at former03.de
Wed May 16 13:50:47 EDT 2007
Hi,
On 16.05.2007, at 18:57, paul-erik.torronen at cardinal.fi wrote:
>> 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
> username at domain in
> the brackets, and send a message to username at domain, 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.
As far as I know, sieve checks the To-Header in order to determine
whether
the mail was personally addresses and sends vacation notices only if
they
were.
Maybe try something like the following - this is created by a Horde Ingo
and I assume it should work:
I don't use vacation at the moment
68: # Abwesenheitsnachricht
69: if allof ( not exists ["list-help", "list-unsubscribe", "list-
subscribe", "list-owner", "list-post", "list-archive", "list-id"],
not header :comparator "i;ascii-casemap" :is "Precedence"
"list,bulk" ) {
70: vacation :days 7 :addresses ["baltasar DT cevc AT former03 DT
de", "baltasar AT cevc-topp DT de] :subject "Out of office" "I'm not
here at the moment.
71: ";
72: }
Hope that helps,
Baltasar
--
Baltasar Cevc
_____ FORMER 03 GmbH
_____ infanteriestraße 19 haus 6 eg
_____ D-80797 muenchen
_____ http://www.former03.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070516/a4aafb1b/PGP.bin
More information about the Info-cyrus
mailing list