From: Alexandr Rakhmanin <alex@rscenter.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Postfix + SASL + MySQL как привинтить Cyrus-IMAP
Date: Sat, 25 Dec 2004 20:04:30 +0600
Message-ID: <41CD736E.7020203@rscenter.ru> (raw)
In-Reply-To: <688141855.20041223165854@toltc.samen.elektra.ru>
Кочетков Владимир пишет:
http://www.multik.ru/
>Здравствуйте, community !
>
>Никак не могу заставить это чудо работать.
>Аутентификацию при отправке (SMTP) заставить работать удалось
>Пытаюсь подружить с Cyrus-IMAP.
>Логины и пароли лежат в MySQL.
>
>Мастер 2.4
>
>rpm -qa |grep postfix
>postfix-mysql-2.0.20-alt1.3
>postfix-control-1.2-alt1
>postfix-2.0.20-alt1.3
>
>rpm -qa |grep sasl
>libsasl2-plugin-sql-2.1.19-alt1
>libsasl2-2.1.19-alt1
>cyrus-sasl2-2.1.19-alt1
>
>rpm -qa |grep cyrus-imapd
>cyrus-imapd-2.2.10-alt1
>
> /usr/lib/sasl2/smtpd.conf
>pwcheck_metod: auxprop
>allowplaintext: yes
>auxprop_plugin: sql
>sql_engine: mysql
>sql_user: postfix
>sql_passwd: postfix
>sql_hostnames: 127.0.0.1
>sql_database: mail
>sql_statement: select passwd from users where email = '%u@%r' and enabled = '1'
>sql_verbose: no
>mech_list: PLAIN LOGIN
>
>/etc/imapd.conf
>admin: cyrus
>allowpop: 1
>allowplaintext: 1
>annotation_db: skiplist
>autocreatequota: 10000
>configdirectory: /var/lib/imap
>defaultacl: cyrus lrswipcda
>default domain: mydomain.ru
>dublicate_db: derkeley-nosync
>dublicatesuppression: 0
>hashimapspool: 1
>idlesocket: /var/lib/imap/socket/idle
>imapidresponse: 0
>lmtp_downcase_rcpt: 1
>lmtp_over_quota_perm_failure: yes
>logtimestamps: yes
>mboxlist_db: skiplist
>partition-default: /var/spool/imap
>poptimeout: 5
>postmaster: postmaster
>quotawarm: 95
>reject8bit: 0
>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
>seenstate_db: skiplist
>sendmail: /usr/sbin/sendmail
>servername: mydomain.ru
>sievedir: /var/lib/imap/sieve
>subscription_db: flat
>username_tolower: 1
>
>
>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. Или я не прав ?
>
>Подскажите где искать.
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Community mailing list
>Community@altlinux.ru
>https://lists.altlinux.ru/mailman/listinfo/community
>
--
Всего наилучшего.
СисАдмин ЗАО "Региональный сервисный центр".
next prev parent reply other threads:[~2004-12-25 14:04 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
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 [this message]
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=41CD736E.7020203@rscenter.ru \
--to=alex@rscenter.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