?
Solved

Restricting user access in Sendmail

Posted on 2011-03-11
3
Medium Priority
?
377 Views
Last Modified: 2012-05-11
Hi Group

I just have a question regarding sendmail. I wanted to know how you could allow certain users to have access to internal mail only. They should not be able to receive any external mail. Is there any way to configure this in sendmail?

Any suggestions would be highly appreciated

0
Comment
Question by:tuxracer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 1000 total points
ID: 35114709
Rules in  /etc/mail/access
To:userid@localhost.com                OK
To:userid@                                     DISCARD


localhost.com --> Assumed local domain named.
You can also you REJECT instead of discard
0
 

Author Comment

by:tuxracer
ID: 35114738
Hi farzanj

This is exactly what I wanted :):):)

Thank you so much!!!!!

Tuxracer
0
 
LVL 31

Expert Comment

by:farzanj
ID: 35114820
Glad to help!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question