kashani wrote:
Syntax with postfix 2.1
user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = alias
select_field = goto
where_field = address
Syntax with postfix 2.2.x:
user = postfix
password = postfix
hosts = localhost
dbname = postfix
query = SELECT goto FROM alias WHERE address='%s' AND active = 1
this page gives both forms, but doesn't exactly match the Gentoo how-to.
However you can use it as a guide to make your changes.
http://postfixwiki.org/index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL#Postfix_Setup
I've got a box running postfix-2.2.5 that was upgraded from 2.1.x using the
"old" syntax (setup from the Gentoo guide). It still works just fine.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
[email protected] mailing list