>> I've been running net-mail/courier-imap version 4.0.1 for quite a while
>> but suddenly it refuses to restart.
> "Suddenly" ?

Yes because I rebooted the machine. Normally, Courier should start
because it's activated using rc-update but it simply doesn't.
Perhaps I should mention that courier-authlib runs without problems.

> 
>>  A /etc/init.d/courier-imapd restart simply fails.
>>   
> Fails how - what is in the system and mail logs ?

www ~ # /etc/init.d/courier-imapd start
 * Starting courier-imapd ...
  [ !! ]
www ~ # tail -n 100 /var/log/mail/current | grep courier
www ~ # tail -n 100 /var/log/everything/current | grep courier
www ~ #

As you can see, none of these two logfiles contains anything regarding
Courier.

>> I can run the server manually by issuing the following:
>> /usr/lib/courier-imap/couriertcpd -address=0
>> -stderrlogger=/usr/lib/courier-imap/courierlogger
>> -stderrloggername=imapd -maxprocs=40 -maxperip=10
>> -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143
>> /usr/sbin/imaplogin /usr/sbin/courier-imapd .Maildir
>>   
> Have you compared this cmdline with the one run by the initscript ?

This is the cmdline which is run by the initscript. I added a "set -x"
on top of /usr/lib/courier-imap/gentoo-imapd.rc trying to debug this
script. That way I got this command.

This is exactly why I'm so stuck about this. The initscript should run
this line and apparently it does but the imapd doesn't start, at least
when invoked by the initscript. In a regular shell I can run it without
problems as I stated above.


Christian
begin:vcard
fn:Christian Spoo
n:Spoo;Christian
adr;quoted-printable:;;Am Kaiser 26;W=C3=BCrselen;NRW;52146;Deutschland
email;internet:[EMAIL PROTECTED]
tel;fax:02405/475071
tel;home:02405/493466
tel;cell:0176/61055475
x-mozilla-html:FALSE
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to