- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 10:49 PM
10-13-2004 10:49 PM
We have sendmail configured on L2000 server running hpux-11.0. Setup is working fine.
We have maillists/aliases configured in /etc/mail/aliases with "include" option.
i.e, one sample entry looks like
all-employees: :include:/var/maillists/all-employees
so the actual list of members are in the file /var/maillists/all-employees.
Now, my question is,
is there any way we can restrict the users from using some of the maillists/aliases. i.e, I do not want all employees to have access to send mails to say "all-employees" alias. Other way, allow only managers to send mails to "all-employess" alias.
can anyone there suggest a solution?
Thanks in advance.
Sailesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 01:55 AM
10-15-2004 01:55 AM
Re: Sendmail question
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 02:24 AM
10-15-2004 02:24 AM
SolutionIf the file /var/maillists/all-employees is readble by only those people who need to use it, others won't be able to send an email to the people mentioned in that list.
say the file is owned by root:managers where root is the owner of the file and manager is the group that owns it. If you assign permission 640 to this file, root can read:modify it and anyone who is part of managers group on the system would be able to read it, but others won't be able to read it.
What it means is that if this file contains a list of addresses and is configured as an include list in the mail alias file, only root or anone from the managers group can use this list. Permission would be denied to everyone else.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 02:31 AM
10-15-2004 02:31 AM
Re: Sendmail question
http://www.list.org/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 02:04 AM
10-19-2004 02:04 AM
Re: Sendmail question
Sanjay,
I had tried your solution. But the result is as follows.
if there is no read permission for others, no users are allowed to send mails to the alias. mails will bounce with error,
--------------------------------------------
----- The following addresses had permanent fatal errors ----- :include:/usr/maillists/perm-test
(expanded from:
----- Transcript of session follows ----- 550 5.2.4 :include:/usr/maillists/perm-test... Cannot open /usr/maillists/perm-test: Permission denied
--------------------------------------------
if the permission is,
-rw-rw---- 1 root staff 8 Oct 19 18:58 perm-test
then, no users are allowed (including group members and OWNER!!)
if the permission is,
-------r-- 1 root staff 8 Oct 19 18:58 perm-test
then everyone able to send mails to alias.
Any clues?
regards,
Sailesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 02:18 AM
10-19-2004 02:18 AM
Re: Sendmail question
This is what i was trying to tell you in my original post.
If you create a include file, and you assign permissions to it. Depending on that permissions are assigned to it, perople who can read it can send mail to the mail addresses in that list.
If you assign read permissions to owner and group, only the owner and the group can send mails to that include list. If you assign world read permissions, the whole world can use that list.
I would say that is normal behavior and the permissions would be self explanatory.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2004 04:26 PM
10-19-2004 04:26 PM
Re: Sendmail question
still their mail bounces. which means, if the world has read permission, then only this works for every user including owner!
e.g, if sailesh is the owner of the include file perm-test with permission rwx for owner, still sailesh cannot send mails to this alias..it bounces.
Thanks,
Sailesh