Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2012, 07:51 PM   #1
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
Question How to block incoming email


I have a postfix server in my office runnning in centos

My obbjective is to have one domain name to be used in our internal and external email communication

Some users are permitted to send and recieve coming from outside (External and Internal)
and some users are permitted only internal

so if the user attempt to send outside and with no permission the server will blocked it because its only internal and that was so good.

and this is my question even internal permission has capable to receive email coming from outside or other domain name. Is there a way to block it all incoming if the user are internal permission only.

Old 01-10-2012, 10:13 AM   #2
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 186

Rep: Reputation: 31
yes it's possible with Postfix, but too long for a post.

You can start reading here :

You could define rules for every user or user groups. The Postfix documentation should tell you all you need : you may look at the "SMTP Relay/access control" paragraph first.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bridging firewall, how to block incoming traffic? zyprexa Linux - Networking 3 05-03-2010 12:23 PM
Block all incoming mail traffic except certain addresses jennyzon Linux - Networking 1 01-13-2009 07:35 AM
block incoming proxy? vicious_pucca Linux - Newbie 5 03-22-2006 07:23 PM
Block incoming port Iptables cli_man Linux - Networking 5 08-11-2003 09:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration