mail services got stirred up

Discussion in 'Installation/Configuration' started by martin1977, May 10, 2013.

  1. martin1977

    martin1977 New Member

    I use ISPconfig 3.0.5.2 on Debian 7.0 and Mysql 5.5.30+dfsg-1.1, postfix 2.9.6-2, courier 0.68.2-1 . Since yesterday incoming mails are rejected and I cannot send emails because I get an authentication error. I can however login to imap mailboxes.

    Logs:
    Trying to send a mail in auth.log
    Code:
    May 10 12:54:02 BLANKED postfix/smtpd[8448]: sql plugin could not connect to host 127.0.0.1
    May 10 12:54:02 BLANKED postfix/smtpd[8448]: sql plugin couldn't connect to any host
    May 10 12:55:01 BLANKED mysqld[5718]: refused connect from 127.0.0.1
    
    An incomming mail event in mail.log
    Code:
    May 10 13:08:29 BLANKED postfix/smtpd[8725]: connect from smtpout.howtoforge.com[78.47.44.38]
    May 10 13:08:29 BLANKED postfix/trivial-rewrite[8813]: warning: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf: table lookup problem
    May 10 13:08:29 BLANKED postfix/trivial-rewrite[8813]: warning: virtual_mailbox_domains lookup failure
    May 10 13:08:29 BLANKED postfix/smtpd[8725]: warning: mysql:/etc/postfix/mysql-virtual_client.cf: table lookup problem
    May 10 13:08:29 BLANKED postfix/smtpd[8725]: NOQUEUE: reject: RCPT from smtpout.howtoforge.com[78.47.44.38]: 451 4.3.5 <smtpout.howtoforge.com[78.47.44.38]>: Client host rejected: Server configuration error; from=<[email protected]> to=<BLANKED> proto=ESMTP helo=<smtpout.howtoforge.com>
    May 10 13:08:29 BLANKED postfix/smtpd[8725]: disconnect from smtpout.howtoforge.com[78.47.44.38]
    
    Weird thing: When I try to login with
    Code:
    mysql -u *user* -p
    and use the credentials stored in the *.cf files of the postfix configuration, I can login, change to the specified database and place a query.
    Any help is appreciated.

    P.S.: I already set max_connections and max_user_connections to 500 in the mysql config.
     
  2. martin1977

    martin1977 New Member

    solved it.
     
  3. commentator

    commentator New Member

    good to see it's fixed. Would be nice if you post the solution here so if someone else has the same problem he/she can fix it too
     
  4. martin1977

    martin1977 New Member

    you're right. I was a bit upset nobody would respond to my requests - I had one or two more questions in separate threads.
    Anyway, in this case localhost got blacklisted by denyhost in /etc/hosts.deny - funny, isn't it?
    I added 127.0.0.1 to /etc/hosts.allow - that solved it but I still have not figured how that happened.
     

Share This Page