I've just installed Courier on a Gentoo Linux box, and I'm having a
few issues getting things working. Until yesterday, I'd been running
Courier fine under SuSE for the last couple of years.

IMAP seems to be working, and I can login and read my old maildirs
fine (I used to have virtual users using plain userdb, I'm moving
to real users now, so just copied the maildirs into the home dirs).

However, I've got two problems:

First, if I try to start things from the init script, things seem to
hang when starting courierfilterd:

wotan courier # /etc/init.d/courier start
 * Starting Courier mail server:...
 *  generating-POP3-SSL-certificate......
/etc/courier-imap/pop3d.pem already exists.
 *  generating-IMAP-SSL-certificate......
/etc/courier-imap/imapd.pem already exists.
 *  Starting courierfilterd...

There's a couple of courierfilter related processes running:

mail      4476     1  0 14:01 ?        00:00:00 /usr/sbin/courierfilter start
mail      4478     1  0 14:01 ?        00:00:00 courierlogger courierfilter

If I "strace -p4478" I just get a "read(0,"

I can ctrl-C this and set IMAP and ESMTP manually, which gives me
enough running to connect to things. The init script is running
courierfilter start btw at the point it hangs.


Anyway, the second issue, which may be related to the first, is that
all inbound smtp mail is throwing an error:

        CRIT: authdaemon: s_connect() failed: No such file or directory
Followed by a:
        450 Service temporarily unavailable.

I've checked the FAQ, and I don't think it's either of the issues listed
there, in that the authentication backend isn't running. I've got several
authdaemond.plain processes running after starting authdaemon, and I can do:

/usr/lib/courier-imap/authlib/authtest sam <password>

And it comes back with a success. It also authenticates me correctly if
I login via IMAP.

Something I'm not entirely sure of is what authentication system I'm
using. It's obviously authenticating against my UNIX account, and I
haven't set anything up specifically.

In authdaemonrc:
authmodulelist="authpam"


I'm delivering mail to SMTP via fetchmail, using the same script that
I used to use. Could it be expecting some authentication from fetchmail
now which it wasn't before? I'd sort of expect an 'access denied' rather
than 'No such file or directory' error in this case however.

Thanks for any help.

-- 
Be seeing you,                          http://www.bifrost.demon.co.uk/
Sam.                                    jabber: [EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to