How can I always send a vacation response with sieve?

dovecot at ptld.com dovecot at ptld.com
Sun Sep 5 00:54:34 EEST 2021


> On 09-04-2021 4:28 pm, Steve Dondley wrote:
> I don't want dovecot to wait X days before sending out another
> vacation response. However, setting the :days to "0" doesn't work.
> 
> RFC https://www.rfc-editor.org/rfc/rfc5230.html#section-4.1 says:
> 
> 4.1.  Days Parameter
> 
>    The ":days" argument is used to specify the period in which 
> addresses
>    are kept and are not responded to, and is always specified in days.
>    The minimum value used for this parameter is normally 1.  Sites MAY
>    define a different minimum value as long as the minimum is greater
>    than 0.  Sites MAY also define a maximum days value, which MUST be
>    greater than 7, and SHOULD be greater than 30.
> 
>    If ":days" is omitted, the default value is either 7 or the minimum
>    value (as defined above), whichever is greater.
> 
> 
>    If the parameter given to ":days" is less than the minimum value,
>    then the minimum value is used instead.
> 
>    If ":days" exceeds the site-defined maximum, the site-defined 
> maximum
>    is used instead.
> 
> Sorry if this is more of a sieve question and is slightly off topic.

If you are using pigeonhole then you can set it to "0" which will send a 
reply every email. What you are reading are the RFC's for what software 
developers "should" follow. But nothing makes them follow everything to 
the T. Pigeonhole allows using "0".

    https://doc.dovecot.org/settings/pigeonhole-ext/vacation/
    sieve_vacation_min_period:
    "A minimum of 0 indicates that users are allowed to make the Sieve 
interpreter send a vacation response message for every incoming message"



More information about the dovecot mailing list