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 :)

The documentation is sparse, so for example I don't know what these
variables refer to exactly.

# The Cyrus login stuff
$CYRUS = array(
        'HOST'  => 'localhost',

Is this 'HOST' the one where the authentication is taking place, where
the mysql database resides or where the IMAP server is running?

IMAP host. It'll then connect the MySQL host.


$DB = array(
        'TYPE'  => 'mysql',
        'USER'  => 'mail',

IMAP user name, or mysql connection user name?

MySQL connection user name. Has to match what you've put in
scripts/insertuser_mysql.sql

        'PASS'  => 'secret',

This password is associated with the USER above, I presume.

Yes.


        'PROTO' => 'unix',      // set to "tcp" for TCP/IP

What needs to make this connection? The IMAP authetication mechanism
from the remote machine or the MYSQL connection localy?

This is for PHP, basically. PHP will make a MySQL connection to
the MySQL host. If your PHP host and your MySQL host are two
machines, you've GOT to use "tcp" - unix will only work on localhsot.

        'HOST'  => 'localhost',

which host here? the one where mysql is running, or the one where IMAP
is running?

MySQL host, as we're still in the $DB array.


        'NAME'  => 'mail'

$LOG_DIR = "/var/log/web-cyradm";

Ends in a / or not?

Don't know. Normally, directory names are NOT given with a trailing
/.

Local machine log or IMAP machine log.

PHP host.

machine and the rest on the other. For example, where is the PAM
Configuration supposed to exist?

On the machine, which is going to use it. So, if IMAP is going
to use PAM, then the PAM configuration needs to be on the IMAP
host.

Some of the configurtion options for Configuring Postfix are a little
vague. Are the postfix external configuration files with values for
mydestination
relayhost
mailbox_transport
supposed to point to the local or remote machine?

The configuration options need to point to the MySQL host as
you're interfacing MySQL with postfix.

But "relayhost" is not configured thru an external configuratin
file. What makes you think so?

Alexander Skwar
--
I waited and waited and when no message came I knew it must be from you.
_______________________________________________
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