Re: Authentication problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Reinaldo de Carvalho <reinaldoc@xxxxxxxxx> wrote:

> > $ testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u
> cyrus -p
> > abc
> > 0: OK "Success."
> >
> >
> >> imapd.conf (this is default)
> >> sasl_saslauthd_path: /var/run/saslauthd/mux
> >
> > $ cat /etc/imapd.conf | grep sasl_saslauthd_path
> > $ cat /etc/imapd.conf | grep sasl_saslauthd
> >
> 
> Add to imapd.conf (this is a magic option, don't present on
> imapd.conf, :P):
> sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux


$ sudo nano /etc/imapd.conf
adding follows to the end of the file;

# path to mux
sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux


$ sudo /etc/init.d/cyrus2.2 restart
Stopping Cyrus IMAPd: cyrmaster.
Waiting for complete shutdown....
Starting Cyrus IMAPd: cyrmaster.
* end *


$ su
Password: 
# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready
imap login cyrus cyrus20080612
imap OK User logged in

quit
* BAD Invalid tag
[Ctrl]&#65291;c

No effect.


It works now.  Thanks


How to exit it?


$ tail /var/log/syslog
Jun 13 07:33:03 lampserver cyrus/ctl_cyrusdb[5498]: archiving log file:
/var/lib
/cyrus/db/log.0000000001
Jun 13 07:33:03 lampserver cyrus/ctl_cyrusdb[5498]: archiving database
file: /va
r/lib/cyrus/mailboxes.db
Jun 13 07:33:03 lampserver cyrus/ctl_cyrusdb[5498]: archiving log file:
/var/lib
/cyrus/db/log.0000000001
Jun 13 07:33:03 lampserver cyrus/ctl_cyrusdb[5498]: done checkpointing
cyrus dat
abases
Jun 13 07:33:03 lampserver cyrus/master[5494]: process 5498 exited,
status 0
Jun 13 07:35:37 lampserver cyrus/master[5515]: about to exec
/usr/lib/cyrus/bin/
imapd
Jun 13 07:35:37 lampserver cyrus/imap[5515]: executed
Jun 13 07:35:37 lampserver cyrus/imap[5515]: accepted connection
Jun 13 07:36:00 lampserver cyrus/imap[5515]: login:
localhost.localdomain [127.0
.0.1] cyrus plaintext User logged in
Jun 13 07:39:01 lampserver /USR/SBIN/CRON[5517]: (root) CMD (  [ -d
/var/lib/php
5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime)
-print0 |
 xargs -r -0 rm)
* end *


Can also login on SquirrelMail.


Lot of thanks for your assistance.


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux