Hi all!
I installed courier ver. 0.45.4 on Red-Hat 7.2 with MySQL authentication but I have
some problems sending mail. SMTP server responds with "450 Service temporarily
unavailable"
After installation I made following steps:
As root:
mkdir -p /posta/roberto
/courier/bin/maildirmake /posta/roberto/Maildir
chown -R 5000:5000 /posta/roberto
MySQL insert:
mysql> select * from mailbox;
+---------------------+---------+------+------+--------+-----------------+---------+
| id | passwd | uid | gid | home | maildir | quota |
+---------------------+---------+------+------+--------+-----------------+---------+
| [EMAIL PROTECTED] | roberto | 5000 | 5000 | /posta | /posta/roberto/ | 2000000 |
+---------------------+---------+------+------+--------+-----------------+---------+
1 row in set (0.00 sec)
mysql>
Starting courier with MySQL auth:
May 6 08:46:56 tembo courierd: Loading STATIC transport module libraries.
May 6 08:46:56 tembo courierd: Courier 0.45.4.20040502 Copyright 1999-2004 Double
Precision, Inc.
May 6 08:46:56 tembo courierd: Installing [0/0]
May 6 08:46:56 tembo courierd: Installing uucp
May 6 08:46:56 tembo courierd: Installed: module.uucp - Courier 0.45.4.20040502
Copyright 1999-2004 Double Precision, Inc.
May 6 08:46:56 tembo courierd: Installing local
May 6 08:46:56 tembo courierd: Installed: module.local - Courier 0.45.4.20040502
Copyright 1999-2004 Double Precision, Inc.
May 6 08:46:56 tembo courierd: Installing fax
May 6 08:46:56 tembo courierd: Installed: module.fax - Courier 0.45.4.20040502
Copyright 1999-2004 Double Precision, Inc.
May 6 08:46:56 tembo courierd: Installing esmtp
May 6 08:46:56 tembo courierd: Installed: module.esmtp - Courier 0.45.4.20040502
Copyright 1999-2004 Double Precision, Inc.
May 6 08:46:56 tembo courierd: Installing dsn
May 6 08:46:56 tembo courierd: Installed: module.dsn - Courier 0.45.4.20040502
Copyright 1999-2004 Double Precision, Inc.
May 6 08:46:56 tembo courierd: Initializing uucp
May 6 08:46:56 tembo courierd: Initializing local
May 6 08:46:56 tembo courierd: Initializing fax
May 6 08:46:56 tembo courierd: Initializing esmtp
May 6 08:46:56 tembo courierd: Initializing dsn
May 6 08:46:56 tembo courierd: Started ./courieruucp, pid=1982, maxdels=4, maxhost=4,
maxrcpt=16
May 6 08:46:56 tembo authdaemond.mysql: modules="authcustom authmysql", daemons=5
May 6 08:46:57 tembo courierd: Started ./courierlocal, pid=1983, maxdels=10,
maxhost=4, maxrcpt=1
May 6 08:46:57 tembo courierd: Started ./courierfax, pid=1991, maxdels=1, maxhost=1,
maxrcpt=1
May 6 08:46:57 tembo courierd: Started ./courieresmtp, pid=1992, maxdels=40,
maxhost=4, maxrcpt=100
May 6 08:46:57 tembo courierd: Started ./courierdsn, pid=1994, maxdels=4, maxhost=1,
maxrcpt=1
May 6 08:46:57 tembo courierd: queuelo=200, queuehi=400
May 6 08:46:57 tembo courierd: Purging /courier/var/msgq
May 6 08:46:57 tembo courierd: Purging /courier/var/msgs
May 6 08:46:57 tembo courierd: Waiting. shutdown time=Thu May 6 09:46:57 2004,
wakeup time=Thu May 6 09:46:57 2004, queuedelivering=0, inprogress=0
Checking for mail with Netscape 4.76, authentication OK!
May 6 08:51:20 tembo imapd: Connection, ip=[192.168.0.2]
May 6 08:51:20 tembo imapd: LOGIN: DEBUG: ip=[192.168.0.2], command=CAPABILITY
May 6 08:51:26 tembo imapd: LOGIN: DEBUG: ip=[192.168.0.2], command=LOGIN
May 6 08:51:26 tembo imapd: LOGIN: DEBUG: ip=[192.168.0.2], [EMAIL PROTECTED]
May 6 08:51:26 tembo imapd: LOGIN: DEBUG: ip=[192.168.0.2], password=roberto
May 6 08:51:26 tembo imapd: authdaemon: starting client module
May 6 08:51:26 tembo imapd: authdaemon: ACCEPT, username [EMAIL PROTECTED]
May 6 08:51:26 tembo imapd: LOGIN, [EMAIL PROTECTED], ip=[192.168.0.2], protocol=IMAP
Sending mail with Netscape 4.76: Error!
May 6 08:52:09 tembo courieresmtpd: started,ip=[192.168.0.2]
May 6 08:52:09 tembo courieresmtpd: error,relay=192.168.0.2,from=<[EMAIL
PROTECTED]>,to=<[EMAIL PROTECTED]>: 450 Service temporarily unavailable.
In courier FAQ I found this:
Q: Server is not accepting any mail, returns a 450 Service unavailable error every
time.
* You are using a database-based back-end, such as LDAP or MySQL, and the
back-end server is down.
* You are using authdaemon, and the authdaemond process is not running.
But MySQL is working...
root 1300 1253 0 07:23 tty2 00:00:00 /bin/sh ./safe_mysqld
root 1306 1300 0 07:23 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
root 1308 1306 0 07:23 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
root 1309 1308 0 07:23 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
root 1433 1308 0 07:35 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
root 2022 1308 0 08:50 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
root 2025 1308 0 08:50 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
root 2029 1308 0 08:51 tty2 00:00:00 /usr/local/mysql/libexec/mysqld
authdaemond is running...
root 1975 1974 0 08:46 ? 00:00:00 /courier/libexec/authlib/authdae
root 1986 1975 0 08:46 ? 00:00:00 /courier/libexec/authlib/authdae
root 1987 1975 0 08:46 ? 00:00:00 /courier/libexec/authlib/authdae
root 1988 1975 0 08:46 ? 00:00:00 /courier/libexec/authlib/authdae
root 1995 1975 0 08:46 ? 00:00:00 /courier/libexec/authlib/authdae
root 1997 1975 0 08:46 ? 00:00:00 /courier/libexec/authlib/authdae
How is it possible to resolve this problem?
Thanks for your support!
Roberto Leone
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users