--------
Daniel Garcia <dgarcia@hollyfeld.org> writes:
% Not even worth putting in a script:
% cut -f1 -d':' /etc/passwd > /usr/public/majordomo/lists/allusers
You might want to have a filter file that has all the
users that you don't want to get email, like root,bin,synch
And so then this would become:
cut -f1 -d':' /etc/passwd | fgrep -v -f mail.filter > /usr/public/majordomo/lists/allusers
-----
John Sechrest . Helping people use
PEAK - . computers and the Internet
Public Electronic . more effectively
Access to Knowledge,Inc .
850 SW 15th Street . Internet: sechrest@peak.org
Corvallis Oregon 97331 . (541) 754-7325
. http://www.peak.org/~sechrest
References:
|
|