Solved

how can i restrict internal user to send and receive email from other/outside domain?

Posted on 2001-09-04
7
337 Views
Last Modified: 2013-12-17
how can i restrict internal user to send and receive email from other/outside domain? The only emails that he can only get is internal mail. We're having pop3 server on machine1 and smtp on machine2.
0
Comment
Question by:mlgatchalian
  • 2
  • 2
7 Comments
 

Author Comment

by:mlgatchalian
Comment Utility
linux sendmail issue
0
 
LVL 2

Accepted Solution

by:
ksemat earned 150 total points
Comment Utility
Sending is easy. You can simply make sendmail masquerade all mail form your smtp server to appear as user@your.domain.com edit /etc/sendmail.cf and change this line to:

# Who I masquerade as ( null for no masquerading)
DMyour.domain.com

now all mail sent through this server will appear to come from his username@you.domain.com even when he explicitly sets another domain in his mailer.

But you then have to restrict his internet access so that he cannot use public services like yahoo and hotmail otherwise he is through. Which may not be practical.
However you can block him using ipchains rules such that he cannot connect to ports 25 and 110 of any other servers other than yours in the firewall.


0
 
LVL 2

Expert Comment

by:ksemat
Comment Utility
Actually a better way to block the users os to do an ipchains redirect such that all connections to port 110 anywhere are redirected to your local pop servers 110 and all connections to port 25 are also redirected to port 25 on your local smtp server.
0
 
LVL 15

Assisted Solution

by:samri
samri earned 150 total points
Comment Utility
i think by blocking outgoing SMTP, POP, and maybe IMAP on your firewall (if you have any) and only allow incoming/outgoing for your SMTP servers, will deny your local users while allowing your SMTP/POP server to still operate.  (just like ksemat suggestion).

Next step is to ADVERTISE it to your users.

I would say that port redirection will confuse your user even more.  Just tell them that they can't access POP/SMTP to external servers.

good luck.
0
 
LVL 15

Expert Comment

by:samri
Comment Utility
any luck on this?
0

Featured Post

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

When it comes to providing great business solutions, IBM and Microsoft are the two top companies excelling in the art. Both launch similar products aimed at a wide audience set and have a good customer satisfaction rate. Since their products are qui…
Utilizing an array to gracefully append to a list of EmailAddresses
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now