On Mon, 3 Mar 1997, Tim Cutts wrote:
>
> Would someone be so kind to supply me with an example of how to use the
> autoreply transport? I can't make head nor tail of the documentation at
> all. My machine accepts mail for a number of domains, some of which are
> positively ancient, and I'd like to phase them out. Ideally, I would like
> exim to automatically deliver messages using the obsolete domains, but to
> also send a warning back telling the sender what domain name to use in
> future. This sounds to me to be exactly the sort of thing that the
> autoreply feature is for, but I'm having great difficulty in understanding
> how to implement it. Any advice would be much appreciated!
Very hastily, off the top of my head, E&OE:
reply:
transport = autoreply;
file = /file/with/message/in/it,
from = "postmaster@???",
to = "$sender_address",
subject = "Obsolete mail address",
user = exim
old_domains:
domains = old.domain1:old.domain2,
driver = smartuser,
transport = reply,
unseen
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714