[exim] Vacation rule frm to date

Pàgina inicial
Delete this message
Reply to this message
Autor: Sławomir Dworaczek
Data:  
A: exim-users
Assumpte: [exim] Vacation rule frm to date
Helo
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 \
                   vacations.mailbox_id=mailboxes.id AND \
                   mailboxes.active=1 AND \
                   mailboxes.local_part='${quote_mysql:$local_part}' AND \
                   mailboxes.domain_id=domains.id AND \
                   domains.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

regards