[Dovecot] Sieve problem: No vacation message when mail is addressed to an alias of the mailbox.

Pascal Volk user+dovecot at localhost.localdomain.org
Mon Jul 13 11:27:52 EEST 2009


On 07/13/2009 10:06 AM M. Bobkiewicz wrote:
> Hi,
> I?m facing here a wierd problem: We have a vacation messaging system 
> using sieve. When activated the system forwards incomming messages to a 
> given address and sents an out of office reply to the sender. This works 
> like a charm when the mail is addressed to mailbox at domain. When the 
> incomming mail ist addressed to alias.to.mailbox at domain the mail is 
> delivered to the mailbox, it is forwarded to the given reciepient but 
> there is no auto reply going out to the sender!
> Our setup: CentOS 5.2 + postfix 2.5.6 + dovecot 1.1.11 with domain and 
> accounts stored in a mysql database.
> The script:
> 
> require ["fileinto", "vacation"];
> redirect "mailbox2 at domain";
> keep;
> vacation
>          :days 1
>          :subject "Out of Office reply"
> "
> The auto reply text.
> 
> ";
> 
> Any advice is welcome,
> 

You have to add the alias addresses to the :addresses list. For example:

    require ["fileinto", "vacation"];
    redirect "mailbox2 at domain";
    keep;
    vacation
         :days 1
         :subject "Out of Office reply"
         :addresses ["1st.alias at domain", "2nd.alias at domain"]
    "
    The auto reply text.

    ";

See also: <http://wiki.dovecot.org/LDA/Sieve#Vacation_auto-reply-1>


Regards,
Pascal
-- 
The trapper recommends today: fabaceae.0919410 at localdomain.org


More information about the dovecot mailing list