Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to provide 3 SMTP servers for clients to use for printers and scanners that require an SMTP server to send email out, they will be load balanced with DNS round robin. All I need it to do is send out email as an open relay (it will be behind a firewall). I have yet to find documentation on how to do this easily.

share|improve this question

closed as not constructive by Sven, mdpc, dyasny, Scott Pack, Falcon Momot Jun 25 '13 at 18:54

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Why do you need three servers for this? Have you started to read any documentation? –  Sven Jun 25 '13 at 16:07
    
Welcome to Server Fault! Generally, we expect questions to show that you have done at least some research, and are encountering a specific problem or quandary. Though this question will likely be closed, please feel free to open a new one if you have a specific stumbling block. –  Falcon Momot Jun 25 '13 at 18:53

1 Answer 1

Ubuntu postfix is about as easy and simple as it gets:

https://help.ubuntu.com/13.04/serverguide/postfix.html

Installation

To install Postfix run the following command:

$ sudo apt-get install postfix

Simply press return when the installation process asks questions, the configuration will be done in greater detail in the next stage.

Basic Configuration

To configure postfix, run the following command:

$ sudo dpkg-reconfigure postfix

The user interface will be displayed. On each screen, select the following values:

Internet Site
mail.example.com
steve
mail.example.com, localhost.localdomain, localhost
No
127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24
0
+
all

Replace mail.example.com with the domain for which you'll accept email, 192.168.0.0/24 with the actual network and class range of your mail server, and steve with the appropriate username.

Now is a good time to decide which mailbox format you want to use. By default Postfix will use mbox for the mailbox format. Rather than editing the configuration file directly, you can use the postconf command to configure all postfix parameters. The configuration parameters will be stored in /etc/postfix/main.cf file. Later if you wish to re-configure a particular parameter, you can either run the command or change it manually in the file.

To configure the mailbox format for Maildir:

sudo postconf -e 'home_mailbox = Maildir/'

This will place new mail in /home/username/Maildir so you will need to configure your Mail Delivery Agent (MDA) to use the same path.

share|improve this answer
    
sure thing, ubuntu documentation links are very stable tho. –  JERiv Jun 25 '13 at 17:30
    
thx for code blocking too –  JERiv Jun 25 '13 at 17:35
    
Thanks for updating your answer. Much better! I know it seems like a little thing but if the content of that site goes away or changes then your answer becomes less relevant. The idea with the SE sites is that the Q's and A's should coexist together and should remain meaningful. Gave you a +1 for the effort. Keep up the good work! –  slm Jun 25 '13 at 17:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.