Re: [Exim] Accepting mail for users in a MySQL database

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: David S. Madole
Data:  
Para: Dan Barry, exim-users
Asunto: Re: [Exim] Accepting mail for users in a MySQL database
> From: "Dan Barry" <Dan@???>
>
> Hi, I'm trying to set up Exim to receive and send messages
> for users whom have their authentication information in a
> MySQL table. I found several sources for info on how to do
> this, but most is either for Exim 3.x or doesn't quite work right.
>
> ...
>
> Exim gives me no errors on startup. My configure file and
> mainlog are available at http://www.dajoob.com/configure>
> and http://www.dajoob.com/mainlog
> The mainlog shows the errors from trying to send a message
> from Outlook Express and trying to send a message via the>
> PHP mail() function.


Look at the end of the third line in your log file:

MYSQL connection failed: Lost connection to MySQL server during query

Unless your MySQL is setup to not require authentication at all, I would
guess you may need to change these lines:

# Username and password to connect to mysql server
#MYSQL_AUTHUSER=root
#MYSQL_AUTHPASSWORD=XXXXXXX

Otherwise, I don't know exactly what to suggest except use the mysql
command-line tool to connect to MySQL with the same credentials as Exim and
send a query and see why the server is disconnecting.

David