Postfix with non standard mysql port

Discussion in 'Installation/Configuration' started by gring, Apr 18, 2009.

  1. gring

    gring Member

    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. gring

    gring Member

    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.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Different lines.
     

Share This Page