You can:

1) hard code the required port in mysql/dbauthmysql.c
line 59 reads:
if (mysql_real_connect (&__auth_conn, _auth_host, _auth_user, _auth_pass, _auth_db, 0, NULL, 0) == NULL)

change argument 7 from NULL into the required portnumber.

2) use rinetd or some similar port redirection to redirect port 3306.

3) use dbmail-2


Doug Stanley wrote:
How can I configure dbmail to talk to a mysql server on a port
other than 3306????

Is there a dbmail.conf directive I can try? I tried port= and sqlport=
with no luck...

I'm running dbmail 1.2.7a mysql 4.0.18

Thanks,
Doug
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to