Gordon Messmer writes:

I updated to Courier 0.60.0 yesterday, and I noticed a couple of things afterward:

1) esmtpd and esmtpd.dist contain a line that reads:
# [EMAIL PROTECTED]@
Is this left over from the 2001 "SSL simplification project"?

Yes, this needs to be removed, superceded by TLS_TRUSTCERTS.


2) The TLS_TRUSTCERTS setting isn't present in esmtpd-ssl or imapd-ssl, though it is in courierd and esmtpd. All of those files mention the default from the .dist in a comment. I'm not sure how sysconftool

CA certificates are not required for servers, so it's not required in the esmtpd file, but I show TLS_TRUSTCERTS being set in both. However, if you're upgrading from an earlier version, the upgrade process will not reset your existing TLS_TRUSTCERTS setting in either file, so you probably inherited your settings from the previous version.

decides whether or not to insert a new setting from .dist when it does upgrades, but this reminds me of something that I've been thinking for quite a while. sysconftool seems well conceived, but overly complex. It seems like the same problems could be solved instead by distributing <config>.dist, and keeping <config> empty of all settings other than non-defaults.

In that case, the init script would need to be modified so that it sourced the <config>.dist file first, and then <config>. Settings in <config> would simply override the <config>.dist settings.

Although that's also a reasonable approach, it's better to keep all settings documented in a single file, and provide the current setting right next to its description.

Is there an advantage to sysconftool that I'm missing?

It allows to keep all settings in the single file, but yet provide some semi-intelligent decisions, automatically, when upgrading.

Attachment: pgpsps9apaqMd.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to