From: Artem Pastukhov <past@yam.ru>
To: community@altlinux.ru
Subject: Re: HA: [Comm] ALM24: postfix+maildrop+courier (авторизация в courierиз базы)
Date: Tue, 9 Nov 2004 13:36:10 +0300
Message-ID: <200411091336.10485.past@yam.ru> (raw)
In-Reply-To: <20041107192758.79b639a8@home.greg.com.ru>
В сообщении от Воскресенье 07 Ноябрь 2004 19:27 Grigory Fateyev написал(a):
> Hello, Artem!
>
> 03 Ноября 2004г. в 20:16 You wrote:
> > On Tue, Nov 02, 2004 at 05:10:37PM +0300, Artem Pastukhov wrote:
> > > А какие права/хозяин/группа должны быть на /home/vmail/... ?
> >
> > По умолчанию, кажется, mail:mail. В общем, на этих выходных постараюсь
> > таки написать хавту, у меня, вроде, всё станцевалось.
>
> Может надо поместить сокет mysql в чрут postfix
> cp /var/run/mysql /var/spool/postfix/var/run/
> ln -s /var/spool/postfix/var/run/mysql /var/run
Вроде как начало потихоньку получатся,
теперь странный затык на скрещивании sasl и mysql.
Вот кусок трейса:
send(7, "<39>Nov 9 12:29:45 postfix/smtpd[8532]: sql plugin try and connect
to a host\n", 78, 0) = 78
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1099992585]) = 1099992585
getpid() = 8532
rt_sigaction(SIGPIPE, {0x21af10, [], SA_RESTORER, 0x193958}, {SIG_IGN}, 8) = 0
send(7, "<39>Nov 9 12:29:45 postfix/smtpd[8532]: sql plugin trying to open db
\'mail\' on host \'localhost:3306\'\n", 102, 0) = 102
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 13
fcntl64(13, F_GETFL) = 0x2 (flags O_RDWR)
connect(13, {sa_family=AF_FILE, path="/var/lib/mysql/mysql.sock"}, 110) = -1
ENOENT (No such file or directory)
shutdown(13, 2 /* send and receive */) = 0
close(13) = 0
time([1099992585]) = 1099992585
getpid() = 8532
rt_sigaction(SIGPIPE, {0x21af10, [], SA_RESTORER, 0x193958}, {SIG_IGN}, 8) = 0
send(7, "<35>Nov 9 12:29:45 postfix/smtpd[8532]: sql plugin could not connect
to host localhost", 87, 0) = 87
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1099992585]) = 1099992585
getpid() = 8532
rt_sigaction(SIGPIPE, {0x21af10, [], SA_RESTORER, 0x193958}, {SIG_IGN}, 8) = 0
send(7, "<35>Nov 9 12:29:45 postfix/smtpd[8532]: sql plugin couldn\'t connect
to any host\n", 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1099992585]) = 1099992585
getpid() = 8532
rt_sigaction(SIGPIPE, {0x21af10, [], SA_RESTORER, 0x193958}, {SIG_IGN}, 8) = 0
smtpd.conf:
# smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login
sql_engine: mysql
sql_hostnames: localhost:3306
sql_user: user
sql_passwd: pass
sql_database: mail
sql_select: select password from mailbox where username='%u@%r';
Никто с таким не сталкивался?
--
С уважением
Артем Пастухов, past (at) yam.ru
YAM International
prev parent reply other threads:[~2004-11-09 10:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-01 10:48 Maksim N. Reziapkin
2004-11-01 12:30 ` Artem Pastukhov
2004-11-01 12:47 ` Artem K. Jouravsky
2004-11-01 12:51 ` Artem Pastukhov
2004-11-01 14:17 ` Artem Pastukhov
2004-11-01 14:25 ` Artem K. Jouravsky
2004-11-01 14:28 ` Artem Pastukhov
2004-11-02 11:00 ` Artem Pastukhov
2004-11-02 11:06 ` Artem K. Jouravsky
2004-11-02 14:10 ` Artem Pastukhov
2004-11-03 17:16 ` Artem K. Jouravsky
2004-11-07 16:27 ` Grigory Fateyev
2004-11-09 10:36 ` Artem Pastukhov [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=200411091336.10485.past@yam.ru \
--to=past@yam.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