Hi,

    Since today I'm using Spamsassasin 3.1.8 in a machine with two mysql
servers, one in port 3306 (socket: /tmp/mysql.sock) and another in port 3308
(socket: /tmp/mysql.sock2) with no problems. 
 
  Mysql stores the Scores, Autowhitelist and bayes information and I
configure this in "local.cf":
   user_scores_dsn               DBI:mysql:spamassassin:localhost:3308
   user_awl_dsn                 DBI:mysql:spamassassin:localhost:3308
   bayes_sql_dsn                      DBI:mysql:spamassassin:localhost:3308

 AND to work with SPAMD it was necesary to ADD the 
                     $ENV{MYSQL_UNIX_PORT} = "/tmp/mysql.sock2";

  at the beggining of the "/usr/bin/spamd" because by default it uses the
"/tmp/mysql.sock" (or the 3306 port).

  Today I install the version 3.2.0 and this solution is NOT working, anyone
have the same problem?

  The debug is:
 dbg: auto-whitelist: sql-based unable to connect to database
(DBI:mysql:spamassassin:localhost:3308) : Can't connect to local MySQL
server through socket 'in/lesspipe.sh %s' (2)
 
  I see that socket es taken randomly, some times is 'in/lesspipe.sh %s' and
other times is another.

  I want to return to old version, but now is not working ¿?

 Any ideas?

   










    
-- 
View this message in context: 
http://www.nabble.com/Two-Mysql-Servers-in-spamassassin-Machine-tf3685566.html#a10301882
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to