Greetings,
I have a working mail server with sieve 1:1.2.9-1ubuntu6.5 working just fine. My commercial dept. has asked me to set a vacation message for comercial@domain.tld, but this is an alias to jhon@domain.tld and meggie@domain.tld. I have created a sieve_global_path = /etc/dovecot/global.sieve and it works, but not the intended way: it sends two vacation messages, each From: each employee, and not From: comercial@domain.tld alias.
Is there how to make dovecot send only one vacation message From: comercial@domain.tld or will I have to survive with one message from jhon and another from meggie? Also, is there how to have a dovecot.lda-dupes for the alias instead the users?
/etc/dovecot/global.sieve:
require ["vacation"]; # rule:[Ferias coletivas] if anyof (header :contains "To" "comercial@domain.tld") { vacation :days 7 :subject "FĂ©rias coletivas de 20/12/2012 a 07/01/2013" text: bla bla bla. ; stop; }
Thanks in advance and nice holidays.
-- Marcio Merlone