LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix Config (https://www.linuxquestions.org/questions/linux-software-2/postfix-config-882944/)

toosoon 05-26-2011 08:38 PM

Postfix Config
 
I have currently setup the latest version of postfix in a development environment as a relay server to Exchange on the internal network... all seems to be working like a charm (postfix will only reside on the internal network)



I now have the requirement to setup three different senarios


1) Setup internal clients by ip range ie 10.10.10.0/8 to be able to relay to Postfix for which it will only deliver internally to the exchange server (no outbound messages)

2) Setup internal clients by ip Hostname to be able to relay to Postfix for which it will then deliver via a MCafee Appliance in the DMZ before it passes the message onto clearswift appliance that resides on the DMZ

3) Setup internal clients by ip Hostname to be able to relay to Postfix for which it will only deliver directly to the clearswift appliance in the DMZ


We have multiple zones in our environment simply need some guidance on where to get start and where to look


Any help would be greatly appreciated

Zetec 05-26-2011 09:35 PM

Here would be a good start for you: http://www.postfix.org/SMTPD_ACCESS_README.html

Another example:

Quote:

/etc/postfix/main.cf:
mynetworks_style = subnet (default: authorize subnetworks)
mynetworks_style = host (safe: authorize local machine only)
mynetworks = 127.0.0.0/8 (safe: authorize local machine only)
mynetworks = 127.0.0.0/8 168.100.189.2/32 (authorize local machine)

toosoon 06-09-2011 07:16 PM

At this point have decided to remove multiple hops and send the mail to one location


All times are GMT -5. The time now is 07:54 PM.