From: Aleksandr Blokhin <sass@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] postfix+mysql
Date: Sun, 30 Nov 2003 20:27:59 +0200
Message-ID: <20031130182759.GA12827@sass.office.ptl> (raw)
In-Reply-To: <3FCA091A.7010104@progroup.ru>
[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]
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=<root>
> 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!
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-11-30 18:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-30 15:13 Valery V. Inozemtsev
2003-11-30 15:32 ` [Comm] postfix+mysql Konstantin Lepikhov
2003-11-30 15:58 ` Valery V. Inozemtsev
2003-11-30 17:37 ` Alexei Takaseev
2003-11-30 17:56 ` Valery V. Inozemtsev
2003-11-30 18:32 ` Konstantin Lepikhov
2003-12-01 14:13 ` Alexei Takaseev
2003-11-30 18:24 ` Konstantin Lepikhov
2003-11-30 18:27 ` Aleksandr Blokhin [this message]
2003-11-30 18:59 ` [Comm] postfix+mysql Valery V. Inozemtsev
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=20031130182759.GA12827@sass.office.ptl \
--to=sass@altlinux.ru \
--cc=community@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git