[Dovecot] sieve vacation response

bart bart at crossbar.net
Mon Aug 24 17:39:30 EEST 2009


Jure Pečar wrote:
>> Currently, you need to add all allowed aliases to the :addresses 
>> argument of the vacation command. My TODO list contains a new feature 
>> that lets you extract additional valid aliases directly from a 
>> dictionary (e.g. an SQL database). It is not at the top of my TODO list 
>> yet, but since you are not the only one needing this, I'll give it some 
>> more priority.
>>     
>
> Also :addresses ["*"] would be ok, without the need to explicitly list all
> addresses.
>
>   
You can circumvent explicitly listing all addresses by doing something
like this:

require ["variables", "envelope", "vacation"];
if envelope :matches "to" "*" {
  set "envto" "${1}";
  vacation
  :addresses ["${envto}"]
  "vacation message here...";
}


regards, bart


More information about the dovecot mailing list