On Tue, Sep 11, 2007, danzel daniel <[EMAIL PROTECTED]> said:

> emails sent to localhost same domain works perfectly but receiving from
> other domains the error appears:
> 
> Sep 11 19:19:39 dbmail postfix/smtpd[3873]: warning: connect to mysql server
> localhost: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> 
> im running the postfix as chroot same setup as
> 
> http://dbmail.org/dokuwiki/doku.php?id=gentoo:postfix_-_sasl_tls_-_mailscanner_-_dbmail
> 
> running on rh5 and mysql 5.1

If postfix is in a chroot, make sure that MySQL is exposing a socket
there. In this HOWTO, the author recommends using a bind filesystem to
bring /var/run/mysqld into the chroot. Your postfix is looking in
/var/lib/mysql.


Aaron
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to