On Thu, 20 Jan 2000, Ian Douglas wrote:
:~>Date: Thu, 20 Jan 2000 11:52:36 -0500 (EST)
:~>From: Ian Douglas <[EMAIL PROTECTED]>
:~>Reply-To: [EMAIL PROTECTED]
:~>To: [EMAIL PROTECTED]
:~>Subject: [expert] Email autoresponder, easiest method?
:~>
:~>Hey all.
:~>
:~>We have a user on our system who hasn't checked her Email sing the end of
:~>September, 1999. I'd like to set up an autoresponder for her account that sends
:~>back a message saying "Your Email has been received, but this user does not
:~>check their account very often, you'd be better to call her instead."
:~>
:~>Any ideas?
Here is a part of my .procmailrc file, which is responsible for
autoreplying:
# autoreply :0 Whc: autoreply.lock
* !^FROM_DAEMON
* !^X-Loop: [EMAIL PROTECTED]
| formail -rD 8192 vacation.cache
:0 ehc # if the name was not in the cache
| (formail -rA"Precedence: junk" \
-A"X-Loop: [EMAIL PROTECTED]" ; \
cat ~/.plan \
) | $SENDMAIL -oi -t
It is rather good - it checks the sender before replying - if someone
sends 10 letters, he will not receive 10 replies, but only one.
hope this helps
Denis
-----------------------------------------------------
Mag^H^H^HDr. Denis Havlik <http://www.ap.univie.ac.at/users/havlik>
University of Vienna ||| e-mail: [EMAIL PROTECTED]
Austria (@ @) tel: (++431) 4277/51179
-------------------oOO--(_)--OOo---------------------