changeset 243:e758296de02d

renamed `alias_local_caseless' to `caseless_matching' because it does not affect the matching of local parts of aliases anymore. See man page updates in last commit.
author markus schnalke <meillo@marmaro.de>
date Mon, 25 Oct 2010 17:46:13 -0300
parents bc9d9cd9ee8e
children 7082044c05c6
files admin/config-transition examples/masqmail.conf man/masqmail.conf.5 src/conf.c
diffstat 4 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/admin/config-transition	Mon Oct 25 17:42:48 2010 -0300
+++ b/admin/config-transition	Mon Oct 25 17:46:13 2010 -0300
@@ -63,6 +63,10 @@
 Use a dedicated POP3 client, e.g. fetchmail, instead. \
 "
 
+check["alias_local_caseless"] = "conf" SUBSEP "Renamed in 0.3.1" SUBSEP "\
+It is now called 'caseless_matching' instead. \
+"
+
 # route files
 
 check["pop3_login"] = "route" SUBSEP "Removed in 0.3.0" SUBSEP "\
--- a/examples/masqmail.conf	Mon Oct 25 17:42:48 2010 -0300
+++ b/examples/masqmail.conf	Mon Oct 25 17:46:13 2010 -0300
@@ -36,7 +36,7 @@
 # alias expansion:
 #
 #alias_file = "/etc/aliases"
-#alias_local_caseless = false
+#caseless_matching = false
 
 
 # special routes:
--- a/man/masqmail.conf.5	Mon Oct 25 17:42:48 2010 -0300
+++ b/man/masqmail.conf.5	Mon Oct 25 17:46:13 2010 -0300
@@ -249,7 +249,7 @@
 Default: <not set> (i.e. no aliasing is done)
 
 .TP
-\fBalias_local_caseless = \fIboolean\fR
+\fBcaseless_matching = \fIboolean\fR
 
 If this is set, aliasing and the matching for \fBlocal_addresses\fP and
 \fBnot_local_addresses\fP will be done caseless.
--- a/src/conf.c	Mon Oct 25 17:42:48 2010 -0300
+++ b/src/conf.c	Mon Oct 25 17:46:13 2010 -0300
@@ -493,7 +493,7 @@
 			conf.do_relay = parse_boolean(rval);
 		else if (strcmp(lval, "alias_file") == 0) {
 			conf.alias_file = g_strdup(rval);
-		} else if (strcmp(lval, "alias_local_caseless") == 0) {
+		} else if (strcmp(lval, "caseless_matching") == 0) {
 			conf.alias_local_cmp = parse_boolean(rval) ? strcasecmp : strcmp;
 		} else if (strcmp(lval, "mbox_default") == 0) {
 			conf.mbox_default = g_strdup(rval);