Some users complain to block email from particular email address. This address may not be junk mail for other users. So how can I block emails for particular users only, not all users.
On 14 Jan 2003 at 4:39, Todd A. Jacobs wrote: > 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 With Regards Nabin Limbu System Administrator HealthNet Nepal Ph : 977-1-429722 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list