Šis baigi noderēja:
Re: group in /etc/aliases
Mark Faine wrote:
> I've been searching all day for some way
> to put a group in /etc/aliases,
> the fact that I haven't found much leaves
> me thinking there may be
> none, or at least no practical way.
Perhaps this would be helpful. It is a way to create
an "all users"
alias. I found this on the net some years ago.
You may be able to
modify the idea to suit your needs.
Create an aliases entry
alluser: :include:/etc/mail/allusers
Don't forget to run 'newaliases'
List your users, one per line, in the file '/etc/mail/allusers'
You can do that with
awk -F: '$3 > 100 { print $1 }' /etc/passwd > /etc/mail/allusers