[exim] once_repeat in autoreply doesn't work as it should?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Arkadiusz Miskiewicz
Fecha:  
A: exim-users
Asunto: [exim] once_repeat in autoreply doesn't work as it should?

exim 4.42

uservacation_transport:
driver = autoreply
group = mail
once = /var/mail/${local_part}/vacation.db
# to use a flat file instead of a db specify once_file_size
once_file_size = 100K
once_repeat = ${lookup mysql{SELECT user_res.period FROM user_res LEFT JOIN
user ON user.id=user_res.id WHERE user.login='${local_part}'}}

user_res.period is a text field which contains strings like 0s, 3d and so one.

My problem is that even when lookup yields ,,0s'' then reply isn't sent every
time - just first one.

The other is a question: is vacation.db format safe for dynamicly changing
once_repeat value? For example it's 1d, first email arrives from address X,
reply is sent, second email arrives from X immediately, reply is not sent,
now once_repeat is changed to 0s, third email arrives from X - will there be
reply sent?

-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/