You can use include in /etc/aliases file. 1. Create a group ( eg. admin ) 2. Add user to the group using usermod or GUI Tools ( eg. usermod -G admin user1 ) 3. Create an alias entry with include ( Include:/file in /etc/aliases ) 4. Create IncludeFile and add the users you want to this file 5. Set permission on include file or directory to group but not to every one. ( Remove read permission from everyone ) eg. chown root.GroupName IncludeFileName. chmod 640 GroupName IncludeFileName 6. Test result Win Toe Penguin Millennium ----- Original Message ----- From: <tecsupport@xxxxxxxxxxxxxxxxxx> To: <redhat-list@xxxxxxxxxx> Sent: Saturday, January 24, 2004 11:36 PM Subject: sendmail aliase help > hi ! > > I need help to secure aliases. > I am using sendmail-8.12 for my mailserver having about 600 users > belonging to various groups, say admin, group1, group2..... > I am using .forward file for aliasing. ie > /home/group1/.forward file holds the users of group1 and > group1@xxxxxxxxxxxx to send mail to every users belonging to group1. > My problem is I want to restrict the normal users from sending email to > groups and only allowing the users of group admin from doing that. > > how is this possible with sendmail? Can :Include:/file in /etc/aliases > help solve this problem? > > Thanks in advance. > > regards, > suryaman maharjan > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list