On Fri, Dec 15, 2000 at 02:18:16PM +0000, Neil Rowett wrote:
> I'm new to exim and have little knowledge on the subject, but would like
> to know how to create an auto response for emails.
>
> I anyone could help it would be much appreciated...
What particular type of autoreply? A "I'm on vacation" autoreply? In
which case, we use this:
vacation_transport:
driver = autoreply
user = ${local_part}
once = ${home}/vacation-once.db
once_repeat = 2d
file = ${home}/vacation.txt
log = ${home}/vacation-log.txt
return_message = true
text = "\
------ ------\n\n\
This message was automatically generated by email software\n\
The delivery of your message has not been affected.\n\n\
This message will be repeated no more often than every 2 days.\n\n\
------ ------\n\n"
#to = "${sender_address}"
to = "${if def:h_Errors-To: {$h_Errors-To:} {$sender_address}}"
subject = "${if def:h_Subject: {Autoreply: $h_Subject:} {I am on vacation}}"
# This director handles automagic vacation messages
vacation:
driver = localuser
transport = vacation_transport
require_files = ${home}/vacation.txt
unseen
no_expn
no_verify
user = ${local_part}
# do not reply to errors or lists
senders = "! ^.*-request@.*:\
! ^owner-.*@.*:\
! ^.*-admin@.*:\
! ^postmaster@.*:\
! ^listmaster@.*:\
! ^mailer-daemon@.*"
# do not reply to errors and bounces or lists
condition = "${if or {{match {$h_precedence:} {(?i)junk|bulk|list}} \
{eq {$sender_address} {}}} {no} {yes}}"
--
+ Steve Haslam | W: +44-20-7447-1839 +
+ /excite/intl/uk/prodeng | M: +44-7775-645618 +
. NP: Meat Beat Manifesto - Everything counts [] .