On Tue, Sep 11, 2007, danzel daniel <danzelziggy gmail.com> 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/dokuwik
i/doku.php?id=gentoo:postfix_-_sasl_tls_-_mailscanner_-_dbma
il
>
> 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
DBmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|