Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    smtpd unable to connect to database (mysql)


    I am a bit at a loss at the moment.

    After setting up an Ubuntu server with postfix/courier and mysql virtual user support I found I can receive but not send mails. Finally auth.log gave me some hints:

    postfix/smtpd[2143]: sql auxprop plugin using mysql engine
    postfix/smtpd[2143]: sql plugin Parse the username user(at)
    postfix/smtpd[2143]: sql plugin try and connect to a host
    postfix/smtpd[2143]: sql plugin trying to open db 'mail' on host ''
    postfix/smtpd[2143]: sql plugin could not connect to host
    postfix/smtpd[2143]: sql plugin couldn't connect to any host
    I checked the configuration of
    for errors concerning the mysql access or some unnessecary blanks or other mistakes. [update] Also considered problems with ownership and read access.

    And checked manuell database login:
    mysql -u <user> -h -p
    without any problems.

    What did I miss?

    Any hints are very much appreciated!
    Last edited by Fargoch; 06-14-2013 at 03:34 PM.

  2. #2
    Okay, problem solved.
    It was really a typo in one of the passwords.
    One should be able to tell a '6' from a 'G' ...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts