Full Mail Server Solution w/ Virtual Domains & Users - Page 11 (Secure Postfix+TLS)
B. Secure Postfix+TLSTo begin with, we're going to need to install postfix on secure-mail.example.com. This particular install doesn't need quota support (It doesn't handle local delivery), but just to keep things simple, we're going to install it the same way we did above: # dpkg -i postfix_2.3.8-2_i386.deb If/when the auto-configuration asks you questions about postfix during the installation, just select "No Configuration" dpkg is going to install all of the configuration files for Postfix into /etc/postfix, so go there, and create the file main.cf: # cd /etc/postfix The main.cf file can be edited using two different methods. You can use your favorite text editor, or you can use the built-in postfix toolpostconf. We've already used postconf once to determine our version in subsection IV.A above. The real benefit of the postconf tool is that it has some built in error checking, and it eliminates the possibility of 'weirdness' due to carriage returns, line feeds, odd quotes, etc. We'll be using it in this guide, but there really is no requirement. Start by filling in the basic information:
# postconf -e 'myhostname = secure-mail.example.com' You'll notice that this time we disabled local delivery.
Since this is basically just an outbound relay server, we
don't want it trying to 'deliver' Now we'll want to fill in the information for SASL (SMTP Authentication). This does NOT encrypt the connection, it just requires the users to log in:
# postconf -e 'smtpd_sasl_auth_enable = yes' So now your postfix install will query dovecot for all of it's authentication needs, but it's still not encrypted. Let's go ahead and change that...
# postconf -e 'smtpd_tls_cert_file =
/etc/ssl/example.com/mailserver/mail-cert.pem' Go ahead and reload postfix... # postfix reload And then let's get Dovecot up and running...
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
One number. one voicemail. Seize the lead with Sprint. Learn more
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
Sprint 4G - The Ultimate Mobile Broadband
Click here
SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial



![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)

print: 

Recent comments
5 hours 41 min ago
8 hours 32 min ago
14 hours 10 min ago
14 hours 13 min ago
14 hours 58 min ago
22 hours 1 min ago
22 hours 38 min ago
23 hours 40 min ago
1 day 3 hours ago
1 day 4 hours ago