Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225093 - mail-mta/courier-0.59.0: ...sqwebmaild startup error
Summary: mail-mta/courier-0.59.0: ...sqwebmaild startup error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 09:21 UTC by Toralf Förster
Modified: 2008-11-20 13:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2008-06-06 09:21:37 UTC
After I upgraded from mail-mta/courier-0.53.2-r1 I get now within my user mode linux image :

n22_uml /etc/init.d # /etc/init.d/courier start
 * Starting courier-authlib: authdaemond ...                                                                                  [ ok ]
 * Starting mysql ...
 * Starting mysql (/etc/mysql/my.cnf)
                                                                                                                              [ ok ]
 * Starting Courier mail server: ...
 *  Starting courierfilterd ...sqwebmaild does not accept command arguments.
Use sqwebmaild.rc script to start sqwebmaild as a daemon.

 *  Starting courierd ...                                                                                                     [ ok ]


Reproducible: Always
Comment 1 Timo Maier 2008-06-24 07:27:52 UTC
Same here.
Comment 2 Mike Bryce 2008-11-20 09:29:47 UTC
The /etc/init.d/courier script is trying to start webmaild, then if that fails it tries to start sqwebmaild.
The source of the error message is sqwebmaild which does not like the "start" command line parameter the init script feeds it. The script is trying to start sqwebmaild because it couldn't find webmaild. A quick search located it at /usr/sbin/webmaild. The script seems to expect it at /usr/lib/courier/courier/webmaild (same folder as sqwebmaild).

To Fix:
Edit the /etc/init.d/courier script.
Change any instances of ${libexecdir}/courier/webmaild to ${sbindir}/webmaild
Save the script.
Restart courier.
/etc/init.d/courier restart
You should find everything works as expected now.
Comment 3 Toralf Förster gentoo-dev 2008-11-20 12:28:14 UTC
:-)
Comment 4 Hanno Böck gentoo-dev 2008-11-20 13:25:47 UTC
Thanks, fixed. I haven't bumped the ebuild, so just re-merge 0.60.0 to get the fix in.