Bernd Wurst writes:

Hi.

Is there a clean way to disable optional components like webmail, webadmin, IMAP?

No, everything gets built.

The sample init-script e.g. checks for the existence of ${libexecdir}/courier/sqwebmaild and (if it exists) starts it unconditionally. With a default configure run, this file gets built, so the check in the init-script seems obsolete. Or can e.g. webmaild be disabled (at build time)?

configure does not provide options for this task, AFAICS.

This is because components are enabled or disabled not at compile time, but at run time, by installing or uninstalling subpackages that contain the required runtime support. Everything that's required to run the IMAP server including its binary, for example, gets placed into the imap subpackage. If an IMAP server is not needed, the subpackage does not get installed.

This is the proper way to enable or disable optional components. If, for example, you did not initially need an IMAP server, but you want it now, installing the subpackage is all that's required. If, on the other hand, this was done at compile time, you'd have to recompile everything. Which is clearly wrong.

Attachment: pgpUZwdejtscW.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to