On Thu, Jan 8, 2009 at 12:59 PM, Noel Jones <njo...@megan.vbhcs.org> wrote: > maddae...@gmail.com wrote: >> >> Hi All, >> >> I'm hoping for a little guidance with this. My apologies for not >> doing a proper search on this first, but I'm a bit pressed for time. >> >> I've been asked to build a mail server for the purpose of sending mail >> from various machines within a LAN to anywhere on the Net. I'm >> guessing that this would be considered a "relay" in a sense, since the >> server will not be receiving mail from the outside, but please correct >> me if I'm wrong. >> >> My first question is, is this a do-able solution? I've only built 1 >> Postfix server previously, and it took me awhile and didn't quite work >> as expected (due to my own lack of configuration, not with Postfix.) >> I'm not going to use Exim or Qmail, as I believe this setup would be >> very simplistic, and Postfix should be more than able to handle this, >> along with any potential add-ons later on (automatically archiving all >> outbound messages to another address, adding virus scanning, etc.) >> >> Is there any documentation available on how to get this setup? Again, >> my apologies for not researching this in more detail, but I need to >> get an answer out as soon as possible, and I figured this list would >> be my best bet. >> >> TIA, >> >> ~MD > > This is very do-able, and is very nearly the default configuration. To > accept mail from only your local network, use something like: > # main.cf > mynetworks = 127.0.0.0/8 192.168.0.0/16 > smtpd_recipient_restrictions = > permit_mynetworks > reject > > with appropriate adjustments to the mynetworks setting. > Or just firewall port 25 from the internet. > > Documentation to get you started: > http://www.postfix.org/BASIC_CONFIGURATION_README.html > http://www.postfix.org/STANDARD_CONFIGURATION_README.html > http://www.postfix.org/documentation.html > > If you have more specific questions later, please see > http://www.postfix.org/DEBUG_README.html#mail > > -- > Noel Jones >
Awesome, thanks! ~MD