Main Page
From Postfix Wiki
Welcome to Postfix Wiki, the document collector that anyone can edit.
We are currently working on 6 articles.
About PostfixWhat is Postfix? It is Wietse Venema's mailer that started life as an alternative to the widely-used Sendmail program. Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail compatible enough to not upset existing users. Thus, the outside has a sendmail-ish flavor, but the inside is completely different. About Postfix WikiPostfix Wiki tries to collect all available documentation on Postfix. This seems like a big task, and without your help it's going to be. If you want to learn the wiki style please use this Sandbox and not the documents that are published. |
Documentation
Postfix Manuals and Documentation
- Postfix Documentation by Wietse and contributors
The online documentation at www.postfix.org is for the current official release. Postfix 2.x users should find the documents largely applicable to their systems, with features that require later releases noted in the tutorials or configuration parameter reference guide. Postfix 1.x users will more frequently find that the recipes in the tutorials require modifications or that the features described are not available.
When in doubt consult the documentation that is included with the source code of your release. This is typically installed with binary software packages. The location of the HTML documents is recorded in the "html_directory" configuration parameter. Postfix 1.x configuration samples were also found in the "sample_directory".
Everyone should be familiar with:
Then understand how Postfix rewrites addresses and selects the delivery method for each recipient:
Then choose a baseline configuration from one of the common cases:
Support for virtual domains is described in:
To understand in more detail how the pieces fit together:
The documentation of each configuration parameter is at www.postfix.org/postconf.5.html#parameter_name
Keep it simple initially, don't build the complete configuration in one go, add a few features at a time and test. Use simple indexed files first, get used to the various tables that drive Postfix, and only then consider using LDAP, MySQL, PostgreSQL, ... to configure the tables:
If you run into trouble and need help, ask good questions:
Back-end options discussion.
Howtos
- Virtual Users and Domains with Courier-IMAP and MySQL
- Virtual Users and Domains with Courier-IMAP and PostgreSQL
- OpenBSD PostfixAdmin Guide
FAQs
- Kyle Dent's Postfix resources.
- Ralf Hildebrandt's Postfix shrine.
Training
- Guru Labs class GL275 covers Postfix, email theory, DNS, SMTP Auth, STARTTLS, SpamAssassin, POP3/IMAP4 daemons, and Webmail with Squirrelmail.
MS Exchange Integration
- Running commands on the Exchange server and then copying the result to the Postfix box (by Steve Friedl).
- Running a PERL-based LDAP client on the Postfix box that queries the Active Directory domain controllers (by Chris Covington).
- relay_recipient_maps using LDAP against Active Directory by Jim Woodworth
TLS
- Postfix TLS Support in Postfix 2.2 and later by Postfix TLS developers.
- Postfix TLS with free CAcert.org certificates howto by Petri T. Koistinen.
- Postfix SASL Authentication and TLS howto by Patrick Koetter.
- Supplement to Patrick Koetter's document by Adam Shostack.
- Postfix SASL + TLS + OpenBSD howto by Jeffrey Posluns.
- Postfix SASL + TLS + FreeBSD howto by Tim Yocum.
SASL
- Postfix/SASL/TLS HowTo for Debian Sid and Sarge howto by Jose Carlos Garcia Sogo, strongly based on howto by Patrick Koetter.
- Postfix SASL Authentication and TLS howto by Patrick Koetter.
- Cyrus-SASL-2.1.19 + checkpw.c CRYPT PATCH + MySQL-3.23.x + Postfix-2.x howto by Cody Tubbs.
- Postfix SASL + TLS + OpenBSD howto by Jeffrey Posluns.
- Postfix SASL + TLS + FreeBSD howto by Tim Yocum.
- Postfix SASL for Slackware by Henryk Liniowski (Linio).
- Postfix SMTP Authentication howto by Devin L. Ganger.
- Postfix SMTP Authentication with SASL+MySQL+Virtual domains+encrypted passwords on Debian 3.1/sarge howto by Luca Gibelli.
- Cyrus+SASL howto by Haim R. Dimermanas.
- Postfix+SASL+OpenSSL howto for Solaris 8 by Andy Barclay.
- Postfix SASL + Courier authdaemond + MySQL + MD5 on Debian howto by Fred from Linox.BE
UCE/Virus
- Gentoo mailfiltering gateway guide.
- Filtering spam with Postfix with spf, postgrey and Amavis by Kirk Strauser.
- How to get Dspam, Postfix, and Procmail to play well together by John Locke.
- Postfix Anti-UCE Cheat-Sheet by Jim Seymour.
- My Understanding Of How UCE Actually Works by Meng Wong.
- Anti-SPAM Gateway Using OpenBSD, Postfix, Amavisd-new, SpamAssassin, Razor and DCC by Scott Vintinner.
- Postfix UCE/anti-spam guide by Jeffrey Posluns.
- UCE and other howtos by Ralf Hildebrandt.
- Header/body junk mail patterns by Jesus Climent.
- Spam filtering configuration for Postfix by Petri T. Koistinen.
- Postfix and MailScanner are corrupting e-mails: choose the good MailScanner version to play well with Postfix by Fred from Linox.BE
- See also the add-on software page for SpamAssassin etc.
POP/IMAP and the kitchen sink
- Gentoo Virtual Mailhosting System with Postfix Guide.
- MAC OS X howto for using Postfix with the (ugh) UW IMAP server.
- GNU pop3d howto by Jørgen Thomsen.
- RedHat 7.1 + Postfix + Courier Maildrop + Courier IMAP howto by Robin Whittle.
- Cyrus+SASL howto by Haim R. Dimermanas.
- Postfix+Cyrus+Web-cyradm howto by Luc de Louw.
- Postfix+LDAP+Courier-IMAP howto by Jeroen Vriesman.
- Postfix+MySQL+Courier-IMAP howto by Phil Pereira.
- Postfix+MySQL+Courier-IMAP howto by Mischa Peters.
- Postfix+MySQL+Courier-IMAP howto by Kirby Menzel and Lucas Peet.
- Postfix+MySQL+Courier-IMAP+Maildrop+SpamAssassin howto by Serge Stepanov.
- Postfix+MySQL+Courier-IMAP+Amavis howto by Christoph Haas.
- Postfix+MySQL+Courier-IMAP+Amavis howto by Martin List-Petersen.
- Postfix+MySQL+Cyrus+SASL+Openmailadmin+Spamassassin+Amavisd howto by W-Mark Kubacki.
- Postfix+MySQL+Courier+Courier-authlib+SpamAssassin+Clamav+Amavisd-new+SASL+Maildrop+AncyraPM(Ancyra Postfix Manager) howto by Genco YILMAZ. Uses the Ancyra PostfixManager user management tool.
- Postfix+OpenLDAP+Dovecot-IMAP+Jamm+Cyrus-SASL+SSL/TLS+SquirrelMail howto by Peter Lacey.
- Postfix+ClamAV+SpamAssassin+MailScanner howto by Janet Bindner.
Mac OS X Specific
Resources
Install
Misc Scripts
Linux Specific
Resources
Install
Misc Scripts
- Basic SpamAssassin Integration with Postfix
- Postfix + SpamAssassin with SPAM Quarantine
- .forward with Reply to mail automatically (Vacation Reply)
- Making a mail responder in Postfix (a single address for testing email)
- Adding a Disclaimer to Email Messages
RedHat
Resources
Install
Misc Scripts
- Archiving Incoming and Outgoing Mail
- More INPUT NEEDED
