HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Postfix with non standard mysql port (http://www.howtoforge.com/forums/showthread.php?t=33832)

gring 18th April 2009 00:50

Postfix with non standard mysql port
 
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 16: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 19: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 16:28

Different lines.


All times are GMT +2. The time now is 12:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.