Re: [exim] Vacation rule frm to date

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Evgeniy Berdnikov
日付:  
To: exim-users
題目: 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