Neil Schneider wrote:
> Alexander Skwar wrote:
>> Neil Schneider wrote:
>>> I have web-cyradm configured on a web server. The mail server
>>> resides
>>> on another machine. When I try to use web-cyradm, it returns no
>>> errors, but seems to be failing. It simply refreshes the login page.
>>
>> What version of MySQL and PHP are you using? You're giving
>> "sparse" information here :)
>
> Sorry, didn't know that the versions of MySQL and php would be
> pertinennt to my quesions.
Would have been, if you were using MySQL 5.0.x. I found out
the hard way, that the released stable 0.5.4 of web-cyradm
doesn't work with MySQL 5.0.x. The CVS version of web-cyradm
is capable of using MySQL 5.
> Postfix and cyrus-imapd are running on a mail server.
>
> Web-cyradm, MySQL, Squirrelmail, Apache are all running on the web
> server, a seperate system from the mail server. .
>
> Ok, this gets a little confusing. Let me see if I have the order right
> .
> Web-cyradm talks with php to MySQL for authentication and
> authorization information?
Uhm. No. web-cyradm is an application written in PHP. So,
no, web-cyradm doesn't talk with PHP. web-cyradm *is*
PHP. Thus, web-cyradm talks with MySQL. It updates (add/delete)
login information. This login information is stored in MySQL.
Well. In a way, web-cyradm talks to the PHP *interpreter*
and makes the PHP system then do "stuff". So, yes, in a
way web-cyradm talks to PHP. But not really. I don't know.
"Web-cyradm talks with php to MySQL" is a strange way of
putting it.
> Postfix talks to mysql for configuration
No. Well. I don't know. What do you mean by "configuration"?
The Postfix configuration is stored in /etc/postfix.
> and authentication
> information, so we need to establish a connection back to the mysql
> server?
Yes.
> Cyrus-imapd talks to pam/cyrus-sasl for authentication and authorization?
I think so, yes.
> Pam and cyrus-sasl get authentication and authorization from MySQL
Yes.
> on
> the web server ?
>From whereever. :) But in your case: Yes.
>> But "relayhost" is not configured thru an external configuratin
>> file. What makes you think so?
>
> I should have known that relayhost wouldn't be in mysql. It's only a
> single line configuration.
Yep.
> Please correct any misunderstanding above. I haven't been able to get
> webcyradm to log anywhere that will help me debug my
> misconfiguration.I get a connection log in apache that shows the GET,
> that's all. And the page comes back blank and asking for login
> information again. I see a POST to auth.inc.php followed by another
> GET, in the apache access log, after each login attempt.
You can configure your MySQL server so, that it logs all
the queries. Maybe this helps you?
Alexander Skwar
--
diplomacy, n:
Lying in state.
_______________________________________________
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