Postfix

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "= Installation = * If sendmail was installed, stop it first. <pre> $ /etc/init.d/sendmail stop </pre> * Install Postfix. <pre> $ apt-get install postfix </pre> * Select <code...")
Line 11: Line 11:
* Select <code>Internet Site</code>
* Select <code>Internet Site</code>
 +
* Enter the domain for the mail server.
If receiving email should be done by Google Apps instead of Postfix, edit <code>/etc/postfix/main.cf</code> file.
If receiving email should be done by Google Apps instead of Postfix, edit <code>/etc/postfix/main.cf</code> file.

Revision as of 11:55, 1 August 2013

Installation

  • If sendmail was installed, stop it first.
$ /etc/init.d/sendmail stop 
  • Install Postfix.
$ apt-get install postfix 
  • Select Internet Site
  • Enter the domain for the mail server.

If receiving email should be done by Google Apps instead of Postfix, edit /etc/postfix/main.cf file.

mydestination = localhost.localdomain, localhost
fallback_transport = relay
$ service postfix restart 
Personal tools