Afficher un message
Vieux 14/10/2006, 19h23   #3
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: auto reply with virtual users

In article <1160750997.265662.121890@k70g2000cwa.googlegroups .com>
"Mike" <sweeneym@gmail.com> writes:
>> I got only 2 accounts on the machine, but they are virtual users with
>> all mail being forwarded to another account. Is there a way for
>> sendmail to keep doing this forward AND send an autoreply at the same
>> time? I've googled and haven't found anything easy to do this with, I
>> would have thought sendmail would have supported this, and if it does,
>> great, how is it done ?


Sendmail has no builtin capability to send auto-replies at all - it's
not really a MTA task. Typically it's done with procmail or some
home-grown script that extracts the sender address and sends the message
(via sendmail).

This method is equally usable for "virtual" users - your specific
requirement of *both* sending an auto-reply and forwarding can be done
via aliases. E.g. if you have the forwarding via virtusertable now:

virtual@your.domain user@some.host

- you can just change that to

virtual@your.domain virtual_your_domain

- end then in aliases:

virtual_your_domain: "|/path/to/autoresponder <args>", user@some.host

--Per Hedeland
per@hedeland.org
  Réponse avec citation
 
Page generated in 0,05558 seconds with 9 queries