[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:network_services:postfix_dovecot_mysql:postfix [2015/02/16 01:36 (UTC)] – intermediate edit astrogeekhowtos:network_services:postfix_dovecot_mysql:postfix [2015/09/25 01:10 (UTC)] – [Configuring The Postfix MTA] fixed smtpd_tls_key_file path astrogeek
Line 1: Line 1:
-===== Installing The Postfix MTA =====+====== Installing The Postfix MTA ======
  
-<note important>This article is under construction and not complete! Please return later...</note>+This page is supplemental to main article: [[howtos:network_services:postfix_dovecot_mysql|Creating a Virtual Mail Server with Postfix, Dovecot and MySQL]]
  
 Postfix is a popular and secure mail transport agent, or MTA. Postfix is a popular and secure mail transport agent, or MTA.
Line 41: Line 41:
 Copy the package file to the target platform if necessary and install: Copy the package file to the target platform if necessary and install:
 <code>installpkg {path-to/}postfix-2.11.3-x86_64-1_SBo.tgz</code> <code>installpkg {path-to/}postfix-2.11.3-x86_64-1_SBo.tgz</code>
-===== Configuring The Postfix MTA ===== +====== Configuring The Postfix MTA =====
-You should become familiar with the [[http://www.postfix.org/documentation.html|postfix documentation]] in order to properly configure and administer your mail server.+ 
 +You must become familiar with the [[http://www.postfix.org/documentation.html|postfix documentation]] in order to properly configure and administer your mail server. Additionally, a complete set of online documentation for your version is installed from the package to /usr/doc/postfix-2.11.3/html/, learn what is there. 
 + 
 +<note important>You //must// become familiar with the tools available to you in order to safely admin and maintain your mail server! Take the time necessary to //read the man pages// - man postfix, man postconf, man master at minimum. And become familiar with the resources available through **man postfix:SEE ALSO** section, //before// you start your mail server! </note>
  
 What follows is a minimum configuration to safely operate a virtual email server on the internet, but you will surely want to adapt it to your specific needs. What follows is a minimum configuration to safely operate a virtual email server on the internet, but you will surely want to adapt it to your specific needs.
Line 85: Line 88:
 relay_domains = relay_domains =
  
 +# We have no local users, so no local notifications #
 biff = no biff = no
-append_dot_mydomain = no 
 </code> </code>
  
Line 97: Line 100:
 # SSL certificates will be created at these locations when we configure dovecot # # SSL certificates will be created at these locations when we configure dovecot #
 smtpd_tls_cert_file = /etc/ssl/localcerts/dove.pem smtpd_tls_cert_file = /etc/ssl/localcerts/dove.pem
-smtpd_tls_key_file = /etc/ssl/localcerts/dove.key+smtpd_tls_key_file = /etc/ssl/private/dove.key
  
 #Accept only secure smtp connections #Accept only secure smtp connections
Line 197: Line 200:
 </code> </code>
  
-After creating the aliases file, you must use the postmap utility to build the local aliases database...+After creating the aliases file, you must use the newaliases utility to build the local aliases database...
  
-<code>postmap /etc/aliases</code>+<code>newaliases</code>
  
 This will create the file /etc/aliases.db in format useable by postfix. This will create the file /etc/aliases.db in format useable by postfix.
Line 206: Line 209:
  
 [[howtos:network_services:postfix_dovecot_mysql|Return to main article page]] [[howtos:network_services:postfix_dovecot_mysql|Return to main article page]]
 +
 +====== Sources ======
 +  * Based primarily on [[http://www.postfix.org/documentation.html|Postfix documentation]]
 +  * Originally written by [[wiki:user:astrogeek | astrogeek]]
 {{tag>howtos postfix dovecot mysql}} {{tag>howtos postfix dovecot mysql}}
 howtos:network_services:postfix_dovecot_mysql:postfix ()