Subject: Q1 -- How can I send mail to all users?Date: December 12, 2000 There is no magic short-cut for this. But it is not hard to set up: create an aliases entry alluser: :include:/etc/mail/allusers Don't forget to run 'newaliases'. Then list your users, one per line,
in the file '/etc/mail/allusers'. You might be able to do that with awk -F: '$3 > 100 { print $1 }' /etc/passwd > /etc/mail/allusers
|