LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-13-2006, 07:25 AM   #1
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
Postfix, relay sender restriction


Hi all, I have a Postfix, and i would like to configure it so that all the users in my network send emails inside the network, and permit some users to send mail to the internet, and the other are not permitted, they are restricted to the network only, i.e. can't send to the internet.

Thanks Alot
 
Old 09-13-2006, 02:24 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I've done this before. You will need to create a hash table of restricted senders then specify it with the check_sender_access defitinion in /etc/postfix/main.cf. You'll need to specify the domain inside the hash table and then specify each individual user that you want to reject sending to the outside. You'll have to create a new class to accomplish this. I can't remember exactly how but I did implement it as I learned it from one of my books.
 
  


Reply


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
POSTFIX how to block/delete mail from sender... hct224 Linux - Newbie 5 12-29-2009 10:11 PM
postfix 554 validating sender exodist Linux - Networking 3 06-26-2006 12:29 PM
Sendmail - How to only relay if mx resolves for sender. jrbush82 Linux - Software 4 10-21-2005 10:48 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
Postfix - Sender address includes localhost buskmann Linux - Software 1 05-04-2005 07:56 AM


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

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