Thanks to all who responded - I got so many replies I won't list all of the
names but will summarize the results.
Original Question:
How to set up an e-mail account in Sendmail that allows e-mail to be sent
but not be received for purposes of sending out notices announcements, etc.
Answer:
There are a couple of ways to do this.
Define an alias for the account in /etc/mail/aliases to /dev/null. It would
look like this in the aliases file:
sendonly:/dev/null
After that, run the newaliases command to update the database.
You can test if it works by going to the following directory and typing:
/usr/lib/sendmail -bv sendonly
Here is a second method:
Set up procmail. Have procmail (either system-wide or in foo's home
directory) /dev/null any incoming mail destined to foo.
Have a virtusertable block mail destined TO foo.
A sendmail alias of /dev/null for foo.
A cron job which issues a "cat /dev/null >/var/mail/foo" every
"X" number of minutes.
Again, thanks to all who responded.
Sincerely,
Nadine Langlois
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:19 CDT