ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vitalik Salomatin <chelroot74@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] postfix, cyrus-imap, mysql, web-cyradm, cyrus-sasl2
Date: Sat, 04 Apr 2009 11:43:23 +0400
Message-ID: <E1Lq0XD-000Enw-00.chelroot74-mail-ru@f223.mail.ru> (raw)

Устанавливаю себе почтоваю система на базе postfix, cyrus-imap, mysql, web-cyradm, cyrus-sasl2
по инструкции:
http://www.freesource.info/wiki/StepnovAndrey&search=FreeSource

похоже какая-то проблема с перловой утилитой cyradm из пакета Cyrus-Imap

Все делаю как написано в в /usr/share/doc/web-cyradm/README.ALT

запустил скрипты, исправил /etc/pam.d/imap , imapd.conf , cyrus.conf

Добавил пользователя
# saslpasswd2 cyrus
рестартанул вервера.

Не пускает по паролям.

Пишет:

[root@testhost ~]# su - cyrus -s /bin/bash
-bash-3.1$ cyradm --user cyrus@testhost.localdomain localhost
Password:
IMAP Password:
              Login failed: authentication failure 
at /usr/lib/perl5/vendor_perl/i386-linux/Cyrus/IMAP/Admin.pm line 119
cyradm: cannot authenticate to server with  as cyrus@testhost.localdomain


или

[root@testhost ~]# cyradm --user cyrus -server localhost -auth login
IMAP Password:
              Login failed: authentication failure 
at /usr/lib/perl5/vendor_perl/i386-linux/Cyrus/IMAP/Admin.pm line 119
cyradm: cannot authenticate to server with login as cyrus


В /var/log/auth пишет, примерно такое:

Apr  4 17:52:19 testhost perl: SRP client step 1
Apr  4 17:52:22 testhost perl: attempting client step after doneflag
Apr  4 17:52:22 testhost last message repeated 3 times
Apr  4 17:52:22 testhost perl: No worthy mechs found

Попробовал и так:

[root@testhost ~]# imtest -a cyrus
WARNING: no hostname supplied, assuming localhost

S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=LOGIN AUTH=OTP 
AUTH=PLAIN AUTH=CRAM-MD5 AUTH=NTLM AUTH=DIGEST-MD5 AUTH=SRP SASL-IR] 
taf.ru Cyrus IMAP4 v2.3.11 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=LOGIN AUTH=OTP AUTH=PLAIN 
AUTH=CRAM-MD5 AUTH=NTLM AUTH=DIGEST-MD5 AUTH=SRP SASL-IR ACL 
RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME 
UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE 
CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH
S: C01 OK Completed
Please enter your password:
C: A01 AUTHENTICATE SRP AAAAEQAFY3lydXMABWN5cnVzAAAA
S: A01 NO authentication failure
Authentication failed. generic failure
Security strength factor: 0


Ни у кого никаких мысле на этот счет не будет?
Спасибо.


             reply	other threads:[~2009-04-04  7:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-04  7:43 Vitalik Salomatin [this message]
2009-04-16 21:11 ` Michael Shigorin
2009-04-16 22:50 ` Roman Lesnichenko
2009-04-16 22:55 ` Roman Lesnichenko
2009-04-17  6:39 ` Timur Batyrshin

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=E1Lq0XD-000Enw-00.chelroot74-mail-ru@f223.mail.ru \
    --to=chelroot74@mail.ru \
    --cc=community@lists.altlinux.org \
    /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