I have setup exim to get autoreply text from an sqlite database. It is sending the autoreply just fine with the exception that I can't get new lines in the autoreply.
This is the line in the transport:
text = ${lookup sqlite{SQLDB \
SELECT body FROM autoreply WHERE \
(username='$local_part' AND domain='$domain') \
AND (sender ='$sender_address' or sender ='$reply_address' or sender ='*') \
AND enabled=1 \
AND (valid_from <= strftime('%s', 'now') OR valid_from IS NULL) \
AND (valid_to >= strftime('%s', 'now') OR valid_to IS NULL) \
LIMIT 1\
}\
}
As I mentioned, this is returning the proper text, the email just contains the actual characters \n instead of new lines.
I've tried things like \\n and nothing works.
I've been searching online for quite a while and I can't find anything about doing this or anything saying it can't be done.