Am 20.05.2011 16:54, schrieb Jesse Norell:
>> removing the "host"-line does not force the socket as hoped, even on a
>> machine where mysqld is running on
>> standard-port/socket it would not connect while dbmail do not need the line
>>
>> fatal: DBI
>> connect('dbname=dbmail;host=/var/lib/mysql/mysqld_dbmail.sock','dbmailro',...)
>> failed: Unknown MySQL
>> server host '/var/lib/mysql/mysqld_dbmail.sock' (1) at
>> /usr/sbin/dbmail-postfix-policyd line 146#012
>> fatal: DBI
>> connect('dbname=dbmail;host=/var/lib/mysql/mysql.sock','dbmail',...) failed:
>> Unknown MySQL server host
>> '/var/lib/mysql/mysql.sock'
>>
>> cat /etc/dbmail-postfix-policyd.conf
>> [DBMAIL]
>> driver = mysql
>> authdriver = sql
>> host = localhost
>> sqlsocket = /var/lib/mysql/mysqld_dbmail.sock
>> user = dbmailro
>> pass = *******************************
>> db = dbmail
>> table_prefix = dbmail_
>> encoding = utf8
>> default_msg_encoding = utf8
>
> Try again, with/after commit 8724b18b823c52c38ba1perfect - now it works without the "host"-line with "host = localhost" it does not but i guess this line should not be even in the dbmail-config if working with sockets so there are two bugs killed: * if mysql-socket is available the host-line is not needed * the configured socket will be used thank you again! p.s.: now i am going to fight with http://www.barracudanetworks.com/ that their spamfirewall-appliance respect this too instead saying "250 OK" to the sender too soon and forcing the bounce we want to eliminate with the policyd but this is another game and the policyd is the puzzle to make this possible at all, i am waiting on a answer from them and guess they begin to hate me because my bugreports and wiki/rfc-links if they try to point to a solution that is not one :-)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
