> Hello!
>
> I have searched the archives and cannot seem to find any information that
> will help me. I have setup web-cyradm as described in Luc's HOWTO, but I
> cannot seem to login with user cyrus. I just get redirected to
> "failed.php".
>
> The only thing that shows up in the logs is:
>
> PHP Warning:  fopen(/var/log/httpd/web-cyradm-login.log): failed to open
> stream: Permission denied in /var/www/main/docs/cyradm/auth.inc.php on
> line 57, referer: http://bogomips.uwinnipeg.ca/cyradm/index.php
>
> The file /var/log/httpd/web-cyradm-login.log exists and has the same
> ownership, permissions, and security context that the other files in that
> directory (httpd_log_t).
>
> imtest works as cyrus user, as does testsaslauthd
>
> Any suggestions?
>

I just realized that the password for the mail user is stored in mysql as
the result of the MySQL Password function. I previously tried to update
the password field manually by running:

update user set Password = encrypt('the-password','the-password') where
User = 'mail' and Host = 'localhost';

but then mail user cannot login to mysql

What should I be using as the salt (2nd argument) to the mysql encrypt()
function?

Perhaps I am confused about the difference between MySQL system mail user
and users stored in the mail.accountuser or mail.adminuser

Regards,
Syd

_______________________________________________
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

Reply via email to