procmail
[Top] [All Lists]

Systems Alias

2001-06-05 02:33:41
I have implemented a system alias to which our users can send test
messages but I _don't_ really love the way I've implemented it.

I have created an account called 'test' on the system and given in
/bin/nonexistent as the shell so that noone can login with it if they
hacked the password.
I have a .forward in the home directory and a .procmailrc that responds
with some stuff to anyone who sends e-mail to test(_at_)our(_dot_)domain(_dot_)
I would wish to have the name 'test' as a system alias in
/etc/mail/aliases rather than give it a home directory on the system.
Is there a way to get the recipe I am using for this user excecuted from
some other place on the system by calling it from the aliases file, e.g.

test:   "|/usr/local/bin/procmail some_args_here"

MTIA

-Wash

--
Odhiambo Washington
Wananchi Online Ltd.,
wash(_at_)wananchi(_dot_)com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.

I agree with every word you write, and I can prove this in no better way than 
by taking your advice from beginning to end. 
-Ellen Glasgow, Letters of Ellen Glasgow 

Attachment: pgpmkjFgerMt5.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>