ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Postfix+Dovecot+MySQL
Date: Fri, 21 Dec 2007 11:02:49 +0500
Message-ID: <m3y7bopoty.fsf@vvk.distance.ru> (raw)
In-Reply-To: <5ee43ec00712200732q5bdb9499tfa9503fc1dcf7a8d@mail.gmail.com> (Konstantin Markovich's message of "Thu, 20 Dec 2007 17:32:38 +0200")

>>>>> On 20 Dec 2007 at 20:32 "KM" == Konstantin Markovich writes:

 KM> В итоге после перезапуска постфикс ругнулся на "Checking postfix
 KM> configuration: postfix/postfix-script: warning: /etc/postfix/main.cf:
 KM> unknown parameter: dovecot_destination_recipient_limit", м стойко продолжил
 KM> работать.
 KM> При попытке проверить работу смтп получил след.:
 KM> telnet localhost smtp
 KM> Trying 127.0.0.1...
 KM> Connected to localhost.
 KM> Escape character is '^]'.
 KM> 220 linux.utidmnsrv.ua ESMTP Postfix
 KM> helo linux
 KM> 250 linux.utidmnsrv.ua
 KM> mail from: test@ua.fm
 KM> после этого соединение повисло.
 KM> В логе следующие строки:
 KM> Dec 20 17:35:41 linux postfix/smtpd[23431]: connect from linux.utidmnsrv.ua[
 KM> 127.0.0.1]
 KM> Dec 20 17:36:17 linux postfix/trivial-rewrite[23433]: warning: connect to
 KM> mysql server localhost: Can't connect to local MySQL server through socket
 KM> '/var/lib/mysql/mysql.sock' (111)

Очевидно, в чруте постфикса нет сокета mysql. Или просуньте его туда, или
настройте postfix чтобы он коннектился к mysql по tcp.

mysql_table(5):

              NOTE: if you specify localhost as a hostname (even if you prefix it with inet:), MySQL
              will connect to the default UNIX domain socket.  In order to instruct MySQL to connect
              to localhost over TCP you have to specify
                  hosts = 127.0.0.1

-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru


      parent reply	other threads:[~2007-12-21  6:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 16:00 ` Sergei Boudnik
2007-12-21  6:02 ` Vladimir V. Kamarzin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3y7bopoty.fsf@vvk.distance.ru \
    --to=vvk@vvk.pp.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git