Re: [exim] Vacation rule frm to date

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Evgeniy Berdnikov
Datum:  
To: exim-users
Betreff: Re: [exim] Vacation rule frm to date
On Tue, Mar 03, 2020 at 02:36:54PM +0100, Sławomir Dworaczek via Exim-users wrote:
> i use wxim with mysql and rule for vacation
> uservacation:
>     driver = accept
>     domains = ${lookup mysql{SELECT domains.fqdn AS domain FROM domains,mailboxes,vacations WHERE \
>                    vacations.active=1 AND \

[...]
>                    domains.fqdn='${quote_mysql:$domain}'}}

>
> it's possible add start date and end date autoreply ?
> eg. if current date > startdate and current date < stopdate


Use for comparison variables $tod_epoch and/or $tod_zulu,
and similarly formatted fields in mysql database.
--
Eugene Berdnikov