Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-13-2006, 08:25 AM   #1
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, 03:24 PM   #2
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/ 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.


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

All times are GMT -5. The time now is 11:02 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