FS#13909 - [courier-imap] need authdaemon at startup
Attached to Project:
Community Packages
Opened by Gerardo Exequiel Pozzi (djgera) - Saturday, 21 March 2009, 22:18 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 September 2010, 03:31 GMT
Opened by Gerardo Exequiel Pozzi (djgera) - Saturday, 21 March 2009, 22:18 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 September 2010, 03:31 GMT
|
Details
Description: This added a condition like in rc-script from
courier-mta to start it. ;)
courier-imap-4.4.1-1 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 24 September 2010, 03:31 GMT
Reason for closing: Fixed
Friday, 24 September 2010, 03:31 GMT
Reason for closing: Fixed
${AUTO_AUTHDAEMON="true"}
should be
${AUTO_AUTHDAEMON}="true"
[#1] http://repos.archlinux.org/wsvn/packages/courier-mta/repos/extra-i686/courier-mta.rc.d
courier-mta.rc-d.patch (0.6 KiB)
${AUTO_AUTHDAEMON}="true"
is ALWAYS true.
Also, you should set the variable AUTO_AUTHDAEMON inside /etc/conf.d/courier-imap.
This is breaking peoples email systems, this isn't of low severity.
After 5 minutes of lurking around I managed to fix it, why haven't the devs been able to do the same?
etc-conf.d-courier-imap (0.2 KiB)
1) The conditions to start and stop authdaemond are wrong and always going to be "true".
2) The default condition needs to be put into /etc/conf.d/courier-imap per Philippe's comment.
3) The stop code for authdaemond needs to be taken from the end of the start function and put at the beginning of the stop function.