We have just decided to try Exim and we ARE impressed, we run eight
domains on a Linux server and this has got rid of all our sendmail
problems to date.
I am just ensuring that the rest of the required functionality is
in place and the only other thing we need at the moment is autoreply
The exact functionality required is this:
If a file called .autoreply exists in the users home directory as
defined in /monza/clients/${domain}/etc/passwd then the contents
of the .autoreply must sent back to the message originator, with
a reply-to equivalent to the original recipient. If that recipient
also has a .forward file the original inbound message must still
be forwarded to the the location specified in that .forward.
I have had several attempts but not got it right. I have attached
the transport and directors components of configuration file below
Thanks in advance to anyone who can help with this.
rgds
davidw
######################################################################
# TRANPORTS CONFIGURATION #
######################################################################
# ORDER DOES NOT MATTER #
######################################################################
virtual_localdelivery:
driver = appendfile
file = /monza/mail/${domain}/spool/${local_part}
user = ${local_part}
group = mail
mode = 0660
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
address_reply:
driver = autoreply
remote_smtp:
driver = smtp
command_timeout = 1m,
connect_timeout = 10s
end
######################################################################
# DIRECTORS CONFIGURATION #
######################################################################
# ORDER DOES MATTER #
######################################################################
userforward:
driver = forwardfile
file = .forward
no_verify
check_ancestor
filter
virtual_localuser:
driver = aliasfile
transport = virtual_localdelivery
domains = lsearch;/monza/mail/domains
file = /monza/clients/${domain}/etc/passwd
search_type = lsearch
virtual_alias:
driver = aliasfile
domains = lsearch;/monza/mail/domains
file = /monza/mail/${domain}/mail.aliases
search_type = lsearch*
qualify_preserve_domain
end
######################################################################
--
*** Exim information can be found at
http://www.exim.org/ ***