Solved

Restricting user access in Sendmail

Posted on 2011-03-11
3
375 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 250 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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.
Article by: Dermot
The life of crime is over for 22 year-old Christian Ian Salvador, a student from Isabela State University in the Philippines.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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…

707 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