LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix, relay sender restriction (http://www.linuxquestions.org/questions/linux-software-2/postfix-relay-sender-restriction-483060/)

barghota 09-13-2006 07:25 AM

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

ramram29 09-13-2006 02:24 PM

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.


All times are GMT -5. The time now is 07:12 AM.