ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* Re: [Sysadmins] Postfix+Dovecot+MySQL
  @ 2007-12-20 16:00 ` Sergei Boudnik
  2007-12-21  6:02 ` Vladimir V. Kamarzin
  1 sibling, 0 replies; 2+ messages in thread
From: Sergei Boudnik @ 2007-12-20 16:00 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

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

-- 

WBR, Sergei Boudnik
http://www.boudnik.kiev.ua
--------------------------
SSB-RIPE
SSB1-UANIC
==========================
Trap for spam & virii:
trap@wildlist.org.ua



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Sysadmins] Postfix+Dovecot+MySQL
    2007-12-20 16:00 ` [Sysadmins] Postfix+Dovecot+MySQL Sergei Boudnik
@ 2007-12-21  6:02 ` Vladimir V. Kamarzin
  1 sibling, 0 replies; 2+ messages in thread
From: Vladimir V. Kamarzin @ 2007-12-21  6:02 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

>>>>> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-21  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-20 16:00 ` [Sysadmins] Postfix+Dovecot+MySQL Sergei Boudnik
2007-12-21  6:02 ` Vladimir V. Kamarzin

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