Jonathan Nichols wrote:

BTW I would not recommend using that how-to for the following reasons.

1. clear text passwords
2. archaic/no user management
3. Uses Postfix 2.1 sql syntax which won't work in 2.2
4. Several technical shortcomings due to mailman integration.


I wonder why they still have that how-to up there. Hrm.

I think getting Gentoo updates updating is hard if you don't know Guide XML and the original guy is gone.

I think that what would be quite useful is a "If you followed that how-to, here's how to migrate to a new setup.." howto. ;)

Which SQL syntax won't work in 2.2? I had put off upgrading to 2.2 because of laziness, but if there are serious reason to not upgrade, I'm interested in hearing them. I didn't find anything in the forums.

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

kashani
--
[email protected] mailing list

Reply via email to