On Sat, 2011-05-21 at 02:30 +0200, Reindl Harald wrote:
> i am a little bit confused
> 
> driver          = mysql
> authdriver      = sql
> host            = localhost
> sqlsocket       = /var/lib/mysql/mysqld_dbmail.sock
> 
> dbmail-postfix-policyd does not like the "host"-line
> if it should connect to a non-default "sqlsocket"
> 
> dbmail-lmtpd needs the "host"-line on the same machine
> but it does not need with default-socket /var/lib/mysql/mysql.sock
> 
> should this line not be ignored and/or left out generally
> if there is a socket-path defined, not real a problem
> this time because seperated configs but i am a little
> bit afraid of updates in the future
> 
> "does not like" means connect to default-instance instead
> the specified socket
> 
> Regards
> Harry

  I can make an exception for host=localhost.  Right now it check if
host= is set .. if so, it additionally checks for a port number
specified, and uses those for the connection; if not set, it uses the
sqlsocket (if set).  If both host= and sqlsocket= are set, it seems
you'd have to prefer one or the other; perhaps it should prefer the
socket over host?  In any case, host=localhost should be safe to ignore.



-- 
Jesse Norell - [email protected]
Kentec Communications, Inc.

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to