Re: sql plugin could not connect to host 127.0.0.1

From: Patrick Ben Koetter (p at state-of-mind dot de)
Date: Fri Feb 02 2007 - 02:35:58 EST

  • Next message: Truong Tan Son: "Re: sql plugin could not connect to host 127.0.0.1"

    * Truong Tan Son <>:
    > Dear Sir,
    >
    > I use postfix-2.3.4 with Cyrus SASL+MySQL with compile:
    >
    > make makefiles CCARGS="-DHAS_MYSQL /
    > -I/usr/local/mysql/include/mysql -DHAS_SSL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL
    > /
    > -I/usr/local/include/sasl -I/usr/local/ssl/include" /
    > AUXLIBS="-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm
    > -L/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib -lsasl2 -lssl
    > -lcrypto"
    >
    > Sometimes is Ok.
    >
    > --Sometimes is error:--
    >
    > Feb 2 07:45:59 mail postfix/smtpd[19288]: sql plugin could not connect to
    > host 127.0.0.1

    Can you connect as the given user with it's password to the SQL server on
    127.0.0.1 from commandline?

    > Feb 2 07:45:59 mail postfix/smtpd[19288]: sql plugin couldn't connect to
    > any host
    > Feb 2 07:45:59 mail postfix/smtpd[19288]: sql plugin could not connect to
    > host 127.0.0.1
    > Feb 2 07:45:59 mail postfix/smtpd[19288]: sql plugin couldn't connect to
    > any host
    >
    > What does it wrong ?
    >
    > Please help me.
    >
    >
    > best regards,
    > --
    >
    >

    -- 
    The Book of Postfix
    <http://www.postfix-book.com>
    saslfinger (debugging SMTP AUTH):
    <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
    

  • Next message: Truong Tan Son: "Re: sql plugin could not connect to host 127.0.0.1"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD