NOTE: please bookmark this page as since the actual location may change!

Postfix Stuff

Postfix is an open source, fast, secure and modular mail transfer agent for Unix. It aims to be a sendmail replacement that is mostly sendmail compatible from the user's point of view.


postfix-20031026-foreground.diff: a patch to add a "start-foreground" option to postfix-script (also applies against 20031204), useful when Postfix is supposed to be started from init, runit or daemontools.


Configuration and Operation

UPDATED 2006-11-23: A Bourne Shell script to find log information associated with a particular Message-ID. Modified BSD license. The new version 0.4 now supports systems that add [ID SSSS mail.SSSS] to the log (where SSSS is any character sequence). Version 0.5 avoids repeating message lines containing "... queued as 123456789A)" in wrong context blocks. A Perl script to reformat Postfix' mailq(1) output to a one-mail-per-line style, for easy grepping or quick overview. If the standard input is a terminal, the script reads via pipe from /usr/bin/mailq, otherwise it does the usual Perl <> magic, i. e. you can pipe into it, you can redirect its standard input, or you can give it a file name.

Examples: | less -S
mailq >file file | grep from=badguy A script for sh/ksh/bash-style shells to convert a vpopmail directory structure to Postfix' virtual_mailbox_maps. This prevents delayed bounces (a must) and -- unless you use quotas -- can also be used to speed up delivery by using Postfix' virtual(8) agent rather than using pipe(8) to inject the mail into qmail.

HOWTO-maildrop.html: how to configure maildrop for use with Postfix.

fix-maildrop-NO_USER.diff (against versions before 1.6.0)
fix-maildrop-NO_USER-1.6.0.diff (against 1.6.0): a patch against all recent maildrop versions up to 1.6.0 to make it return EX_NOUSER rather than EX_TEMPFAIL when it cannot find the user.
Update: Maildrop 1.6.1 no longer needs this patch.
Handy when maildrop is used as a postfix transport, because local_recipient_maps currently only apply to mail coming in via smtpd, not to mail coming in via sendmail. Only to be used IN ADDITION to local_recipient_maps!

dialup.html: tips for using Postfix in a dialup machine (or generally, machines without permanent connection to the internet)

daemontools.html: shows how to start Postfix automatically from daemontools/svscan.

maps-dul-is-wrong.html: a text by Jonathan de Boyne Pollard that tells you why you should not use MAPS' DUL service. Originally found at Note, RBL+ comprises the DUL.


vsqmail.html: my personal Postfix-vs-qmail/sendmail/exim benchmark.

bench2.html: another benchmark covering more aspects.


Matthias Andree
Icon  Name                                      Last modified      Size  
[DIR] Parent Directory - [TXT] HEADER.html 23-Nov-2006 08:50 5.1K [TXT] HOWTO-maildrop.html 17-Jun-2003 02:37 7.2K [   ] LINUX2 04-Dec-2002 00:17 2.9K [TXT] LINUX2.asc 16-Jan-2001 12:00 358 [TXT] README.html 06-Jun-2001 10:31 60 [TXT] antill_exim_unsafe.html 26-Apr-2006 23:04 3.9K [TXT] bench2.html 26-Apr-2006 23:02 16K [   ] bugtraq-1.msg 04-Dec-2001 18:42 7.0K [   ] bugtraq-2.msg 24-May-2002 13:08 5.4K [TXT] daemontools.html 24-Oct-2003 23:37 5.5K [TXT] dialup.html 27-Mar-2004 17:28 9.3K [TXT] 30-Jan-2001 02:44 3.5K [TXT] findpfconf.txt 30-Jan-2001 02:49 674 [TXT] fix-maildrop-NO_USER-1.6.0.diff 06-Sep-2003 22:09 1.6K [TXT] fix-maildrop-NO_USER.diff 20-Jun-2003 17:25 1.5K [TXT] fix-make_dirs.diff 13-Jan-2001 04:54 1.9K [TXT] fix-make_dirs.unified.diff 13-Jan-2001 04:54 1.6K [TXT] fix-postfix-inet_addr_local.c 08-Sep-2001 05:21 2.1K [TXT] issymlink.c 22-May-2000 01:09 2.7K [TXT] linux-2.4.9-fix-devinet.patch 07-Nov-2001 22:04 430 [TXT] 20-Jan-2004 01:30 2.0K [TXT] 23-Nov-2006 08:56 189 [TXT] maps-dul-is-wrong.html 19-Feb-2002 16:01 6.7K [TXT] patch-postfix-1.1.10-rfc1652.diff 28-May-2002 19:16 536 [TXT] 23-Nov-2006 08:49 3.6K [TXT] 23-Nov-2006 08:56 189 [TXT] postconf-option-l-20000519T0202.diff 19-May-2000 04:01 4.2K [TXT] postconf-option-l-20000924.diff 25-Sep-2000 16:43 4.2K [TXT] postconf-option-l.diff 25-Sep-2000 16:43 4.2K [TXT] postfix-1.1.3-postfix-script-3.diff 04-Feb-2002 23:26 960 [TXT] postfix-20030621-nonprod-fixsmtpd.diff 23-Jun-2003 15:50 1.2K [TXT] postfix-20030621-nonprod-warnchroot.diff 23-Jun-2003 12:52 15K [TXT] postfix-20031026-foreground.diff 06-Dec-2003 17:26 3.8K [TXT] postfix-snapshot-20001217-postconf-r.diff 21-Dec-2000 15:02 3.4K [   ] run 23-Jul-2001 13:28 472 [TXT] run_as.c 20-May-2003 15:21 1.8K [TXT] suse.html 30-Mar-2003 03:33 5.5K [TXT] 21-Sep-2002 18:56 3.7K [TXT] 21-Sep-2002 19:01 307 [TXT] vsqmail.html 21-May-2002 03:55 10K