From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 30 Nov 2003 20:27:59 +0200 From: Aleksandr Blokhin To: community@altlinux.ru Subject: Re: [Comm] postfix+mysql Message-ID: <20031130182759.GA12827@sass.office.ptl> References: <3FCA091A.7010104@progroup.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <3FCA091A.7010104@progroup.ru> X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 18:36:18 -0000 Archived-At: List-Archive: List-Post: --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, Nov 30, 2003 at 06:13:30PM +0300, Valery V. Inozemtsev wrote: > Здравствуйте. > > Пытаюсь подружить postfix и mysql. пока безрезультатно. > > postfix/trivial-rewrite[26514]: warning: connect to mysql server > localhost: Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > postfix/cleanup[26513]: warning: connect to mysql server localhost: > Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > postfix/cleanup[26513]: warning: 7AE6E36D9B12: virtual_alias_maps map > lookup problem for root@myhost.mydomain.ru > postfix/cleanup[26513]: warning: 7AE6E36D9B12: skipping further client input > postfix/pickup[26196]: warning: maildrop/74B7050D7802: Error writing > message file > postfix/pickup[26196]: 7FC0F36D9B12: uid=0 from= > postfix/cleanup[26513]: warning: 7FC0F36D9B12: virtual_alias_maps map > lookup problem for root@myhost.mydomain.ru > postfix/cleanup[26513]: warning: 7FC0F36D9B12: skipping further client input > > и т. д... > Как заставить постфикс видеть mysql.sock? Либо при помощи proxy:mysql:virtual_bla_bla, либо указать mysql слушать адрес, например 192.168.0.1, и в virtual_alias_maps указать: host = 192.168.0.1 port = 3306 host = 127.0.0.1 или localhost не подходит, так как postfix найдя такое определение пытается подключиться через сокет. -- Best regards AB -- ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/yjavJ4oxaJwMzUgRAoakAKCi+KQPoNUvt9mnZPl8+A7qJgHYswCeLn9R il4tngXPrzN3R2nacRhBPCM= =Fwvn -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--