Solved

Restricting user access in Sendmail

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
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…

734 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