|
From: Mark M. <Mar...@ij...> - 2003-10-28 20:09:59
|
Michael, | How can I change where amavisd-new looks for the mysql.sock file? | My logs show that it is looking for /var/lib/mysql/mysql.sock but my | sql sock is at /temp/mysql.sock Usually amavisd-new is accessing SySQL server via inet socket, not via Unix socket, although this is all delegated to DBI Perl module, and anything that DBI / DBD::mysql combo allows should be possible. The elements of @lookup_sql_dsn variable (in file amavisd.conf), e.g. 'DBI:mysql:mail:host1', are passed to DBI and then to DBD::mysql unchanged. See DBD::mysql man page for more options. Mark |