I have created a mysql-database on another server that will hold the user 
authentication information.
And i have trouble login into webmail..

The authdaemonrc file have these entries:
authmodulelist="authmysql"
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql 
authpam"
daemons=5
version=authdaemond.mysql
authdaemonvar=/usr/local/courier/var/authdaemon

The authmysqlrc have these entries:
MYSQL_SERVER            <ip-address to the server>
MYSQL_USERNAME          root
MYSQL_PASSWORD          <password>
MYSQL_PORT              3306
MYSQL_OPT               0
MYSQL_DATABASE          maildb
MYSQL_USER_TABLE        courier
MYSQL_CLEAR_PWFIELD     passwd
DEFAULT_DOMAIN          kinderegg.org
MYSQL_UID_FIELD         uid
MYSQL_GID_FIELD         gid
MYSQL_LOGIN_FIELD       login
MYSQL_HOME_FIELD        home
MYSQL_NAME_FIELD        name


The mysql table in the database looks like this:
mysql> use maildb
Database changed
mysql> show tables;
+------------------+
| Tables_in_maildb |
+------------------+
| courier          |
+------------------+
1 row in set (0.00 sec)

mysql> select * from courier;
+------------+--------+-----------+------+------+---------------+-------------+
| mailuserid | login  | passwd    | uid  | gid  | home          | name        |
+------------+--------+-----------+------+------+---------------+-------------+
|          1 | kjetil | <password>| 500  | 500  | /home/kjetil/ | Kjetil      |
|          2 | kk     | <password>| 510  | 510  | /home/kk/     | Kjetil      |
+------------+--------+-----------+------+------+---------------+-------------+

As a habit i always set the hosts.allow file to just what/who needs access to, and set 
the hosts.deny file to ALL:ALL.
When testing if communication between the mail-server and the mysql-server, i opened 
up for everything.
 
The processes running are:
root      3488   0:00 /usr/local/courier/sbin/couriertcpd -address=0 -stderrlogger=/
root      3491   0:00 /usr/local/courier/sbin/courierlogger imapd
courier   3512   0:00 /usr/local/courier/sbin/couriertcpd -stderrlogger=/usr/local/c
courier   3516   0:00 /usr/local/courier/sbin/courierlogger courieresmtpd
root      4912   0:00 /usr/local/courier/libexec/authlib/authdaemond.mysql start
root      4913   0:00 /usr/local/courier/libexec/authlib/authdaemond.mysql start
root      4914   0:01 /usr/local/courier/libexec/authlib/authdaemond.mysql start
root      4915   0:00 /usr/local/courier/libexec/authlib/authdaemond.mysql start
root      4916   0:01 /usr/local/courier/libexec/authlib/authdaemond.mysql start
root      4917   0:00 /usr/local/courier/libexec/authlib/authdaemond.mysql start
root     20402   0:00 /usr/local/courier/libexec/courier/courierd
courier  20403   0:00 /usr/local/courier/libexec/courier/courierd
uucp     20404   0:00 ./courieruucp
root     20405   0:00 ./courierlocal
root     20406   0:00 ./courierfax
courier  20407   0:00 ./courieresmtp
courier  20408   0:00 ./courierdsn

In /var/log/maillog:
Dec  5 10:22:09 mail courierd: completed,id=000812B2.3DE6744B.00001517
Dec  5 10:22:09 mail courierd: 
id=000812B2.3DE6744B.00001517,from=<>,addr=<[EMAIL PROTECTED]>: 450 Service temporarily 
unavailable.
Dec  5 10:22:09 mail courierd: 
id=000812B2.3DE6744B.00001517,from=<>,addr=<[EMAIL PROTECTED]>,status: deferred
Dec  5 10:22:09 mail courierd: Waiting.  shutdown time=Thu Dec  5 10:58:27 2002, 
wakeup time=Thu Dec  5 10:27:09 2002, queuedelivering=2, inprogress=0

What catches my eye here is the "450 Service temporarily unavailable".

In /var/log/messages:
Dec  5 10:30:40 dns1 sqwebmail: authdaemon: s_connect() failed: No such file or 
directory
Dec  5 10:31:15 dns1 sqwebmail: authdaemon: s_connect() failed: No such file or 
directory


-Kjetil

> -----Opprinnelig melding-----
> Fra: Sam Varshavchik [mailto:[EMAIL PROTECTED]]
> Sendt: 29. november 2002 02:03
> Til: Courier-list (E-post)
> Emne: [courier-users] Re: sending mail/webmail problems
> 
> 
> Kjetil Kvig writes:
> 
> > But i have some problems:
> > 
> > 1. I get this error message when trying to send a mail to a 
> test account:
> > "450 Service temporarily unavailable.
> > kjetil: invalid address."
> > 
> > 2. Webmail: I just cant log in to any accounts...not valid 
> login/password it says....
> > 
> > Any tips?
> 
> See http://www.courier-mta.org/FAQ.html#help
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T 
> handheld. Power & Color in a compact size! 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: 
https://lists.sourceforge.net/lists/listinfo/courier-users
N���޵隊X���'���u���)��Y�\�g�����������b�HzG(��r������왨��x%��\���z��z�%��l���q���z�'���r��zm����+-��.�ǟ�����+-��b�ا~�ܢ��z��z�


Reply via email to