dovecot instead of cyrus - "auth failed, 1 attempts): user=<cyrus-admin>"

Thomas Baumann tom at tiri.li
Mon Aug 4 10:05:45 CEST 2014


Further debugging shows "kolab lm" does not work either.

# kolab lm
Traceback (most recent call last):
  File "/usr/sbin/kolab", line 39, in <module>
    kolab = Cli()
  File "/usr/lib/python2.7/dist-packages/pykolab/cli/__init__.py", line 64,
in __init__
    commands.execute('_'.join(to_execute))
  File "/usr/lib/python2.7/dist-packages/pykolab/cli/commands.py", line
139, in execute
    commands[cmd_name]['function'](conf.cli_args, kw)
  File
"/usr/lib/python2.7/dist-packages/pykolab/cli/cmd_list_mailboxes.py", line
82, in execute
    imap.connect()
  File "/usr/lib/python2.7/dist-packages/pykolab/imap/__init__.py", line
154, in connect
    self._imap[hostname].login(admin_login, admin_password)
  File "/usr/lib/python2.7/dist-packages/pykolab/imap/cyrus.py", line 134,
in login
    cyruslib.CYRUS.login(self, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 416, in login
    self.__doexception("LOGIN", error)
  File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 359, in
__doexception
    self.__doraise( function.upper(), msg )
  File "/usr/lib/python2.7/dist-packages/cyruslib.py", line 368, in
__doraise
    raise CYRUSError( idError[0], mode, msg )
cyruslib.CYRUSError: (10, 'LOGIN', '[AUTHENTICATIONFAILED] Authentication
failed.')

But all other Services are running.

#  service dirsrv status
 * dirsrv rzsv1210 (pid 16683) is running...

# testsaslauthd -u cyrus-admin -p xsxsxsxsxsxs
0: OK "Success."

# service kolab-saslauthd status
 * kolab-saslauthd is running

When sending mail from commandline, I get following error in mail.log

root at mailsrv1:/var/spool# sendmail -f tbn at mailsrv1.my.domain
chr at mailsrv1.my.domain
From: <tbn at mailsrv1.my.domain>
To: <chr at mailsrv1.my.domain>
Subject: test 01

test
.

root at mailsrv1:/var/spool# tail -F /var/log/mail.log
Aug  4 09:58:01 mailsrv1 postfix/qmgr[16835]: EABB24A041:
from=<tbn at mailsrv1.my.domain>, size=308, nrcpt=1 (queue active)
Aug  4 09:58:01 mailsrv1 amavis[16852]: (16852-01) Passed CLEAN,
<tbn at mailsrv1.my.domain> -> <chr at mailsrv1.my.domain>, Message-ID:
<20140804075801.8CF37464EA at mailsrv1.my.domain>, mail_id: 31sCyYv74FQP,
Hits: -, size: 308, queued_as: EABB24A041, 315 ms
Aug  4 09:58:01 mailsrv1 postfix/smtp[19922]: 8CF37464EA:
to=<chr at mailsrv1.my.domain>, relay=127.0.0.1[127.0.0.1]:10024, delay=25,
delays=25/0.06/0.02/0.31, dsn=2.0.0, status=sent (250 2.0.0 from
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EABB24A041)
Aug  4 09:58:01 mailsrv1 postfix/qmgr[16835]: 8CF37464EA: removed
Aug  4 09:58:02 mailsrv1 postfix/local[19927]: EABB24A041:
to=<chr at mailsrv1.my.domain>, relay=local, delay=0.21,
delays=0.03/0.03/0/0.15, dsn=5.1.1, status=bounced (unknown user: "chr")
Aug  4 09:58:02 mailsrv1 postfix/cleanup[19920]: 246764A157:
message-id=<20140804075802.246764A157 at mailsrv1.my.domain>
Aug  4 09:58:02 mailsrv1 postfix/qmgr[16835]: 246764A157: from=<>,
size=2172, nrcpt=1 (queue active)
Aug  4 09:58:02 mailsrv1 postfix/bounce[19928]: EABB24A041: sender
non-delivery notification: 246764A157
Aug  4 09:58:02 mailsrv1 postfix/qmgr[16835]: EABB24A041: removed
Aug  4 09:58:02 mailsrv1 postfix/lmtp[19930]: 246764A157:
to=<thomas.baumann at my.domain>, orig_to=<tbn at mailsrv1.my.domain>,
relay=none, delay=0.21, delays=0.02/0.17/0.01/0, dsn=4.4.1, status=deferred
(connect to mailsrv1.my.domain[/var/lib/imap/socket/lmtp]: No such file or
directory)



Any help is appreciated.

Best regards,
Thomas.



2014-08-04 9:20 GMT+02:00 Thomas Baumann <tom at tiri.li>:

> Hello list,
>
> I tried to setup kolab3 in Ubuntu 12.04 with dovecot 2.0.19.
>
> 1)
> setup-kolab runs perfectly but I encounter many auth-failed messages in
> mail.log, e.g.
>
> Aug  4 09:14:05 mailsrv1 dovecot: imap-login: Disconnected: Inactivity
> (auth failed, 1 attempts): user=<cyrus-admin>, method=PLAIN, rip=127.0.0.1,
> lip=127.0.0.1, TLS
> Aug  4 09:15:06 mailsrv1 dovecot: imap-login: Disconnected (auth failed, 1
> attempts): user=<cyrus-admin>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
> TLS: Disconnected
>
> How can this being prevented?
>
>
> 2)
> Create User with kolab-webadmin runs fine. But trying to login, I get auth
> failed:
>
> Aug  4 09:10:50 mailsrv1 dovecot: imap-login: Disconnected (auth failed, 1
> attempts): user=<thomas.baumann at mail.local>, method=PLAIN, rip=127.0.0.1,
> lip=127.0.0.1, TLS
>
> Which is the Login for the roundcube?
>
> Best regards,
> Thomas.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20140804/eaa74c32/attachment.html>


More information about the users mailing list