On Tue, 14 Jan 2003 [EMAIL PROTECTED] wrote: > By rejecting an email address in /etc/mail/access will reject for all > users. Is there any way to reject email address for every users > independently.
What exactly are you trying to do here? > Also, is there any simple way to send mail to all the users instead of > writing the name of users in alias file. Assuming that you have set up all your system accounts with the -r flag, you can use the following to email just your real users: mail -s 'Your Subject Here' $( awk -F: '$4 >= 500 { print $1 }' /etc/passwd | xargs ) < /tmp/message_body.txt If you have been adding user and system accounts willy-nilly, then you're going to have to put some manual effort into things. -- "Of course I'm in shape! Round's a shape, isn't it?" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list