PDA

View Full Version : Postfix with non standard mysql port


gring
18th April 2009, 01:50
Hi,

I've changed the port of mysql server, and I tried to change the postfix configuration in the files /etc/postfix/mysql-virtual_*.rc

Now, when I try to set the host:

hosts = unix:/var/run/mysqld/mysqld.sock

I doesn't work, does it mean that ispconfig configures postfix to run in a chroot jail?

Otherwise, how can I specify the port?

hosts = 127.0.0.1:<port>

doesn't work, and I can't find the syntax in the postfix documentation.

Thanks

falko
18th April 2009, 17:11
Try port =
Please note that whenever you update ISPConfig and tell the updater to reconfigure your services, it will use the old MySQL port again.

gring
18th April 2009, 20:18
Hi, thanks for your answer.

should I put in on the same line
(ie
hosts = <host> port = <port>)

or on two different lines? I still can't get it to work...

thx.

falko
19th April 2009, 17:28
Different lines.