ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] Postfix + SASL + MySQL как привинтить Cyrus-IMAP
Date: Thu, 23 Dec 2004 22:17:13 +0800
Message-ID: <20041223221713.17d683cd.alexei@taf.ru> (raw)
In-Reply-To: <688141855.20041223165854@toltc.samen.elektra.ru>

On Thu, 23 Dec 2004 16:58:54 +0400
Кочетков Владимир <kvn@toltc.samen.elektra.ru> wrote:

> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: sql
> sasl_sql_engine: mysql
> sasl_mech_list: LOGIN PLAIN
> sasl_sql_user: postfix
> sasl_sql_passwd: postfix
> sasl_sql_database: mail
> sasl_sql_hostnames: 127.0.0.1
> sasl_sql_select: select passwd from users where email = lower('%u@%r')
> and enabled = '1' sasl_log_level: 255
> 
> 
> telnet 127.0.0.1 110
> Trying 127.0.0.1...
> Connected to 127.0.0.1/
> Escape character is '^]'.
> +OK mydomain.ru Cyrus POP3 v2.2.10 server ready
> 1062446363.1103804559@mydomain.ru
> user test
> +OK Name is a valid mailbox
> pass test
> -ERR [AUTH] Invalid login
> Connection closed by foreign host
> 
> При это в логах /var/log/auth/all вижу
> 
>  pop3[19850]: could not find auxprop plugin, was searching for 'sql'
> 
> Но я так понимаю используется тот же модуль авторизации что и в случае
> с SMTP. Или я не прав ?

Конечно прав, вот только оставленные в письме настройки все-таки будет
более правильным перенести в /usr/lib/sasl2/Cyrus.conf вбрав префиксы
sasl_


  reply	other threads:[~2004-12-23 14:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-23 12:58 Кочетков Владимир
2004-12-23 14:17 ` Alexei Takaseev [this message]
2004-12-24  5:01   ` Re[2]: " Кочетков Владимир
2004-12-28 11:28     ` Alexei Takaseev
2004-12-29 10:48       ` Re[4]: " Кочетков Владимир
2004-12-29 11:26         ` Alexei Takaseev
2004-12-30  7:13           ` Re[6]: " Кочетков Владимир
2004-12-30  8:19             ` Re[7]: " Кочетков Владимир
2004-12-25 14:04 ` Alexandr Rakhmanin
2004-12-28  5:06   ` Re[2]: " Кочетков Владимир

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=20041223221713.17d683cd.alexei@taf.ru \
    --to=alexei@taf.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