-   Linux - Software (
-   -   Postfix, relay sender restriction (

barghota 09-13-2006 08: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 03: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/ 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 02:32 AM.