|
Mail go to
cyrus mailboxes? Did you test it with "imtest" the
login process? Check that the sql-scripts, the conf.php and the pam scripts use the same passwords for the DB. And don't use the default ones (secret etc.). Also check the encryption in conf.php Michael I don't created any mailbox yet (I thought do it
through web-cyradm).
Here is the output of "imtest":
WARNING: no hostname supplied, assuming
localhost
S: * OK P185 Cyrus IMAP4 v2.2.3 server
ready
C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS AUTH=GSSAPI AUTH=CRAM-MD5 AUTH=DIGEST-MD5 SASL-IR X-NETSCAPE S: C01 OK Completed Authentication failed. generic failure Security strength factor: 0 In conf.php , I Have this:
$CYRUS = array( 'HOST' => 'localhost', 'PORT' => 143, 'ADMIN' => 'cyrus', 'PASS' => 'secret' ); (...)
$CRYPT="crypt";
The files I created and located at /etc/pam.d looks
like this:
auth sufficient pam_mysql.so
user=mail passwd=secret host=localhost db=mail table=accountuser
usercolumn=username passwdcolumn=password crypt=1 logtable=log logmsgcolumn=msg
logusercolumn=user loghostcolumn=host logpidcolumn=pid
logtimecolumn=time
#auth sufficient pam_unix_auth.so account required pam_mysql.so user=mail passwd=secret host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host logpidcolumn=pid logtimecolumn=time #account sufficient pam_unix_acct.so I see that in conf.php user is "cyrus" and pwd is
"secret", in /etc/pam.d/imapd for example, it's user "mail" and pwd "secret"
should be the same?
In the other hand, in the mysql tables adminuser
and useraccount I have two users admin and cyrus, with both encrypted passwords,
how can I change
these passwords?.
Maybe my problem is that I followed the steps of
the tutorial without understanding well how it works.
thanks for answering,
Sergio.
|
_______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
