- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restrict user to send mail.
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
Discussions
Discussions
Forums
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
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
тАО05-09-2010 10:36 PM
тАО05-09-2010 10:36 PM
Restrict user to send mail.
In my env, I ve sendmail with version 8.11.1(HP-UX 11.23).I ve to restrict sendmail access for a perticular user.As per my knowledge I ve followed below steps .
Consider a user "test" for whom I wana restrict sendmail access.So i followed below steps
1]Added entry in /etc/mail/access
test@domain.com REJECT
2]Recreated access.db file.
makemap dbm /etc/mail/access < /etc/mail/access.
3] Sendmail restarted
After following above steps as well , I m still getting the mails from the user "test"
Kindly Help me to guess what went wrong in my above stpes?
Thanks in advance !!
Rgds
YOgesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2010 10:57 PM
тАО05-09-2010 10:57 PM
Re: Restrict user to send mail.
makemap hash /etc/mail/access.db < /etc/mail/access
From man makemap:
makemap handles up to three different database formats, selected using
the maptype parameter. They may be:
dbm DBM format maps. (.pag,.dir)
btree B-Tree format maps. (.db)
hash Hash format maps. (.db)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2010 11:12 PM
тАО05-09-2010 11:12 PM
Re: Restrict user to send mail.
Your implementation would not be enough (of course with hash format maps). This would not restrict your user to use another smtp server for sending email. So he will be able to send emails.
It will only reject emails sent to the specified user.
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 01:15 AM
тАО05-10-2010 01:15 AM
Re: Restrict user to send mail.
Check this link .. which given procedure to restict one user.
http://docs.hp.com/en/5969-4321/5969-4321.pdf
Gudluck
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 01:58 AM
тАО05-10-2010 01:58 AM
Re: Restrict user to send mail.
I ve already tried all option mentioned.I ven't get my ans yet !!
Rgds
Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 06:31 AM
тАО05-10-2010 06:31 AM
Re: Restrict user to send mail.
> a perticular user [...]
Why? What, exactly, is the problem which you
are trying to solve?
> [...] I m still getting the mails from the
> user "test"
A user does not need to use "sendmail" to
_send_ an e-mail message. It can be done
using many different programs, including,
for example, a Telnet client.
> [...] I ven't get my ans yet !!
Perhaps you're asking the wrong question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 06:56 AM
тАО05-10-2010 06:56 AM
Re: Restrict user to send mail.
Thnx for reply...If I am no wrong My question is pretty simple and self explainatory...
more specific :
I just want user "test" should not send mail from its own login but others should.
Rgds
Yogesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 07:19 AM
тАО05-10-2010 07:19 AM
Re: Restrict user to send mail.
> mail from its own login but others should.
Ask him politely not to send e-mail messages?
There may be a way to stop him (on the system
where the e-mail message originates), but I
don't know what it would be. Certainly,
playing with "sendmail" (on the system where
the e-mail message originates) can _not_ stop
him (because he does _not_ need to use
"sendmail" there to send an e-mail message).
You might be able to use some kind of network
access control to restrict SMTP connections
(port 25) from the sending system to some
particular e-mail server system, and then
configure "sendmail" (or some similar
program) on that server to reject messages
from your problem user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 07:33 AM
тАО05-10-2010 07:33 AM
Re: Restrict user to send mail.
Consider not running the sendmail daemon.
It is needed for inbound, not outbouond mail.
The flaw in your process is the m4 daemon is not being run to rebuild your sendmail configuration.
http://hpux.ws/buildmail.hpux.text
Shows how to do that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com