Bugzilla – Bug 113213
courier-imap-ssl doesn't start
Last modified: 2006-01-09 09:12:24 UTC
I downloaded the courier-imap.src.rpm from OpenSuSE 10 Beta 3 to built an rpm with a recent version of courier-imap for my "SLES9 for IBM Power" system. After some minor changes on the SPEC-File (i only found an src.rpm designated for x86 platform)i got a rpm which i installed. when trying to running "/etc/init.d/courier-imap-ssl start" following error message will be produced on the console: "Starting Courier-IMAP (SSL)Unknown option '-pid='" I'm not sure but line 34 of the script looks wrong: I changed it to: "test "$SSLPIDFILE" == "" && SSLPIDFILE=/var/run/imapd-ssl.pid" instead of: "test "$SSLPIDFILE" == "" && PIDFILE=/var/run/imapd-ssl.pid" then no problem occurs Greetings R. Grzondziel
The real bug is that /etc/courier/imapd-ssl is not sourced.
Fixed.
The bug still exist in 10RC1. In courier-imap-ssl and courier-pop-ssl, SSLxxx variables and comand "$COURIERTLS -server -tcpd" are not used in start case. Thanks.
The bug still exists in SuSE 10.0 retail on x86 platform.
*** Bug 129707 has been marked as a duplicate of this bug. ***
Can confirm this is still a problem. Could somebody post a diff of a fixed init script?
I've got it working now. I'll try to get around to posting the fixes I've made.
Fixed for next Alpha snapshot (and build of the day).
Can we provide the fix for 10.0? I had to fix a system today after I updated to 10.0. Even if I learned how to replace PORT with SSLPORT in the required init script from my POV it would be better to push this fix as an update. And if required I'll do the changes for 10.0.
Update approved, swamp-ID is: Maintenance-Tracker-3025
submitted.
Created attachment 61806 [details] Tested patch This patch was created by looking at a copy of the courier-imap-ssl.rc.in file from courier-imap-4.0.4 and changing /etc/init.d/courier-imap-ssl to do what that script does.
After fixing the bug by myself I now found the patch from Tom. I can assure that the fixed lines solve the problem. It would be great to have this also in YOU-updates after such a long time since 10.0 is out. Would have saved me several hours :-).
released