* [Comm] Cyrus - Sieve
@ 2005-12-27 6:19 Evgenii Terechkov
2005-12-27 7:53 ` Alexey Morsov
0 siblings, 1 reply; 4+ messages in thread
From: Evgenii Terechkov @ 2005-12-27 6:19 UTC (permalink / raw)
To: ALT Linux Community
Уважаемые, кто тут в кирусе разбирается? И Sieve настрайвал?
Помогите советом.
Пытаюсь зайти на свой imap-сервер с помощью емаксового клиента
(manage-sieve). В ответ на запрос логина/пароля вводил и почтовые и
специфические для машины-сервера (у меня там шелл есть) и их комбинаций.
В ответ емакс (дело IMHO не в нём) быстро мелькает строчкой типа "nil
Login failure". И в своем буфере для логов пишет:
==========================================================
"IMPLEMENTATION" "Cyrus timsieved v2.1.12"
"SASL" "PLAIN"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
OK
AUTHENTICATE "PLAIN" "AGV2Z0BrcmFzdGVsLnJ1ADY2NmZ3dGJ0"
NO "Authentication Error"
==========================================================
На такие попытки залогиниться удалённые сервер пишет в syslog:
==========================================================
Dec 27 13:04:26 server master[5948]: about to exec
usr/lib/cyrus/bin/timsieved
Dec 27 13:04:26 server sieve[5948]: executed
Dec 27 13:04:26 server sieve[5948]: accepted connection
Dec 27 13:04:33 server PAM-warn[5490]: function=[pam_sm_authenticate]
service=[sieve] terminal=[<unknown>] user=[evg@mydomain.ru]
ruser=[<unknown>] rhost=[<unknown>]
Dec 27 13:04:33 server saslauthd[5490]: DEBUG: auth_pam:
pam_authenticate failed: User not known to the underlying authentication
module
Dec 27 13:04:33 server saslauthd[5490]: AUTHFAIL: user=evg@mydomain.ru
service=sieve realm= [PAM auth error]
Dec 27 13:04:33 server timsieved[5948]: Password verification failed
Dec 27 13:04:33 server timsieved[5948]: badlogin:
mymasqmachine.mydomain.ru[IP-адрес] PLAIN authentication failure
==========================================================
здесь server - imap-сервер и mymasqmachine - машина, маскарадящяю мою.
Sieve вроде настроена как говорится в документаций к кирусу и статьям на
opennet.
Что на сервере (он мне в наследство достался) надо поправить, чтобы
заработало?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Cyrus - Sieve
2005-12-27 6:19 [Comm] Cyrus - Sieve Evgenii Terechkov
@ 2005-12-27 7:53 ` Alexey Morsov
2005-12-27 9:05 ` Evgenii Terechkov
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Morsov @ 2005-12-27 7:53 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
On Tue, Dec 27, 2005 at 01:19:26PM +0700, Evgenii Terechkov wrote:
> В ответ емакс (дело IMHO не в нём) быстро мелькает строчкой типа "nil
> Login failure". И в своем буфере для логов пишет:
А почта то вообще работает? В imap то зайти почтовым клиентом можете?
Если да, смотрите какую аутентификацию использует cyrus и соответственно
такая же должна использоваться для sieve (ну по крайней мере из тех что
сервер допускает).
--
С уважением,
Алексей Морсов
системный администратор ЗАО "ИК "Риком-Траст"
ICQ: 196-766-290
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru
NP: Music is over :(
<Voins> жена сейчас обнаружила бесподобное название в объявлении:
"Требуется программист C++ в НИИССУ" :)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Cyrus - Sieve
2005-12-27 7:53 ` Alexey Morsov
@ 2005-12-27 9:05 ` Evgenii Terechkov
2005-12-27 12:43 ` Alexey Morsov
0 siblings, 1 reply; 4+ messages in thread
From: Evgenii Terechkov @ 2005-12-27 9:05 UTC (permalink / raw)
To: ALT Linux Community
Alexey Morsov писал:
>>В ответ емакс (дело IMHO не в нём) быстро мелькает строчкой типа "nil
>>Login failure". И в своем буфере для логов пишет:
>
>
> А почта то вообще работает? В imap то зайти почтовым клиентом можете?
> Если да, смотрите какую аутентификацию использует cyrus и соответственно
> такая же должна использоваться для sieve (ну по крайней мере из тех что
> сервер допускает).
Почта работает и не жужжит :-)
В том и вопрос - как узнать, как пускает кирус и как сделать то-же для
sieve.
Судя по логу (тупо) sieve пускает по проверке PAM. Делал примерно такое:
#cd /etc/pam.d
#cp imap sieve
(там только две строчки:
auth sufficient /lib/security/pam_ldap.so
account sufficient /lib/security/pam_ldap.so
почтовые пользователи хранятся в ldap) - не помогает.
Пробовал и с удалённой машины (емаксом) и с самого сервера (запускал
sieveshell) - не пускает. Последняя пишет в консоль:
=============================================================================
$sieveshell -u mysloginhere localhost
connecting to localhost
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 174, <STDIN> line 1.
=============================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-27 12:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-27 6:19 [Comm] Cyrus - Sieve Evgenii Terechkov
2005-12-27 7:53 ` Alexey Morsov
2005-12-27 9:05 ` Evgenii Terechkov
2005-12-27 12:43 ` Alexey Morsov
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