Version 10 (modified by martin.osx@…, 16 years ago) (diff) |
---|
How to set-up Postfix
- Audience: Advanced E-Mail set-up
- Requires: MacPorts >= 1.6, mail/postfix, shells/zsh-devel
Introduction
This How-to is part of the Fetchmail -> Postfix -> Dovecot advanced e-Mail set-up.
Postfix is a mail transfer agent which can distribute you in and outbound mail. The set-up described here will distribute inbound mail to Dovecot IMAP server and outbound mail to an internet service provider.
Distribution E-Mail directly to the end receiver is one of the joys of the internet which has been destroyed by SPAM.
Installation
First set-up a mail storage to store your mail into. See Dovecot for a possible set-up. Without a proper mail storage you might have difficulty access you mail later.
Z-Shell
Install Z-Shell if you are planning to use the attached command files:
sudo port install zsh-devel
Postfix
Install postfix with:
port install postfix +tls +ldap
or - alternatively - use the postfix which comes pre installed with Max OSX.
Configuration
Most of the postfix configuration is done in the main.cf file which you find either in /opt/local/etc/postfix
(macports) or /etc/postfix
(OSX).
Step 1: set hostname and domain
Optional Parts
TODO: What else can be done?
Attachments (3)
-
Restart_Postfix.command (660 bytes) - added by martin.osx@… 16 years ago.
Z-Shell script to restart postfix.
-
Test_Postfix.command (449 bytes) - added by martin.osx@… 16 years ago.
Z-Shell script to test postfix configurartion
-
main.cf (26.8 KB) - added by martin.osx@… 16 years ago.
Postfix configuration
Download all attachments as: .zip