On Sunday 12 September 2004 12:26, Kirti S. Bajwa wrote: > Section 4 Second paragraph reads: > > "To use MySQL or PostgreSQL with Postfix, first install the > postfix-mysql or postfix-pgsql packages (they're in Debian, > probabally also in other distros).
This post does bring up the issue that this could be documented a bit better. There's no mention of compiling from source. Fortunately the process is pretty well covered in the Postfix documentation: the MYSQL_README and PGSQL_README files. (Both of those are available online as well as in the Postfix source distribution.) I suggest adding verbiage such as this: "If you want or need to compile from source, first compile your chosen database, and then consult the appropriate file (MYSQL_README or PGSQL_README) in the Postfix documentation." I'm rather well experienced in such things now so it didn't present a problem to me, but I can recall that a few years back this would have been very confusing. Obviously it's not dbmail's job to provide step- by-step instructions for every optional package dependency, but we're not all using Debian. Slackware does not even provide postfix. Another nitpick, the last sentence in the same part of INSTALL.postfix: "Postfix will send a bounce if a recipient is not present." That's not quite accurate. Postfix refuses the mail with whatever is configured as $unknown_local_recipient_reject_code in main.cf, the default being 450. This occurs in the SMTP dialogue. If a bounce is to be sent to the envelope sender, the sending MTA is the one to send it. s/'send a bounce'/'refuse the mail'/ will fix it. Finally, and this WAS a problem for me (resolved in IRC; thanks Jesse), is that the sample sql_recipients.cf file in the 2.0RC8 INSTALL.postfix file says "table = aliases". So by following the instructions exactly it did not work. "table = dbmail_aliases" worked. -- mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header