This was my question:
> Two of my users get email under one alias. I want to know if I can set
> something up that sends an informational message (via vacation mail?) back
> when someone sends mail to this alias.
I ended up installing procmail. It works great!
The reponses follow.
My thanks to all of you,
From: "Marcelo N. Halpern" <email@example.com>
Check if you have 'filter' on your machine. With that package you can reply,
filter out the mail and do other fancy stuff. Warning: As of Ultrix4.4, it's
From: "Sidaway, Tony" <firstname.lastname@example.org>
This can be done at mail transport level by most mail transport agents.
I have just installed smail on my linux system, so I know you can
selectively route mail to a process, which can do whatever it likes with
the mail--this can also be used to implement mailing lists. I'm sure
sendmail also allows something of the sort to be done, but the maintenance
of sendmail is one of the few remaining true "black arts" of system
administration, as that intimidatingly thick O'Reilly book indicates.
From: Rich Casto <email@example.com>
Yes. Read the manpage for vacation.
From: firstname.lastname@example.org (Frank Pardo)
From: Jim Harmon <email@example.com>
I would research how to use "filter" with Sendmail.
The Alias must point ultimately to a login directory.
In that directory, you would created a filter file that redirects mail
for one person to his "vacation" mailbox, and the mail for the other to
that person's "vacation" mailbox.
Filter gives you lots of flexibility in how to redirect mail. You can
automatically file incoming mail, discard known junkmail, even create
special handling routines (such as page you or ring your keyboard bell)
when urgent messages or "system emergency" messages come in.
I'd like to give details, but I can't put my hands on my records of
using filter at this location. I used it extensively at previous ones.
From: firstname.lastname@example.org (Banks B J)
I tried to get vacation to work once and failed miserably. Thanfully
I found something called procmail, a general mail filter, which will
do all vacation will and a lot more besides.
~ Rasana Atreya Voice: (415) 476-3623 ~
~ System Administrator Fax: (415) 476-4653 ~
~ Library & Ctr for Knowledge Mgmt, Univ. of California at San Francisco ~
~ 530 Parnassus Ave, Box 0840, San Francisco, CA 94143-0840 ~
~ Rasana.Atreya@library.ucsf.edu ~
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:42 CDT