One of our faculty recently passed on. I have been asked to set up a
responder for his email that will send a short note back explaining that
the account is no longer active etc and throw away the incoming mail.
Hi Dan,
Something like this might do the trick:
:0 h
* !^FROM_DAEMON
* !^X-Loop: postmaster(_at_)yourdomain
| (formail -r -A"Precedence: bulk" \
-A"X-Loop: postmaster(_at_)yourdomain" \
-A"From: postmaster(_at_)yourdomain" ;\
cat "auto-reply") | $SENDMAIL -t -f postmaster(_at_)yourdomain
It's nice to see that some places are civil about mail handling. My
previous employer wouldn't redirect mail, instead forwarding it to
managers who would rarely reply.
Chris