erlug
[Top] [All Lists]

Re: [Erlug] postfix e mysql: come funziona??

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] postfix e mysql: come funziona??
From: Maurizio Lemmo - Tannoiser <tannoiser@xxxxxxxxxxx>
Date: Mon, 7 Feb 2005 12:54:16 +0100
* domenica 06 febbraio 2005, alle 18:36, Francesco Biacca scrive:
> demetra:/etc/postfix# cat mysql-virtual-domains.cf
> # mysql-virtual-domains.cf
> user = mail
> pass = xxxx
> dbname = postfix_maildb
> table = virtual_domains
> select_field = destination
> where_field = domain
> hosts = localhost
> #hosts = unix:/var/spool/postfix/var/run/mysqld/mysqld.sock

non usare hosts = localhost.
Se vuoi usare tcpip, usa hosts = 127.0.0.1, assicurandoti di avere mysql
in ascolto sulla suddetta interfaccia di rete (mi pareva che avessi
detto di si nel precedente messaggio: nel caso, togliti dubbi con un
netstat -lt).

> mysql  Ver 14.7 Distrib 4.1.9, for pc-linux-gnu (i386)

Sarge o Sid. Verifica la presenza di eventuali bug, dei software che usi
(io sta roba la uso su stable e *funziona*).

> UNIX socket:            /var/run/mysqld/mysqld.sock

L'altra tua voce commentata, dovrebbe matchare questa, a meno di
problemi di chroot.

-- 
                          Maurizio - Tannoiser - Lemmo
                 Founder Member of ERLUG http://erlug.linux.it
-------------------------------------------------------------------------------
Giles: "You come on business, I hope?"
Buffy: "Yes. Lucky for you, people may be in danger."
        --Buffy the Vampire Slayer: Wild at Heart

<Prev in Thread] Current Thread [Next in Thread>