Thanks to all who responded - I got so many replies I won't list all of the
names but will summarize the results.
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.
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:
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.
U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
. unsubscribe sun-managers firstname.lastname@example.org
L To view an archive of this list please visit:
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:19 CDT