masqmail

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 diff
     1.1 --- a/admin/config-transition	Mon Oct 25 17:42:48 2010 -0300
     1.2 +++ b/admin/config-transition	Mon Oct 25 17:46:13 2010 -0300
     1.3 @@ -63,6 +63,10 @@
     1.4  Use a dedicated POP3 client, e.g. fetchmail, instead. \
     1.5  "
     1.6  
     1.7 +check["alias_local_caseless"] = "conf" SUBSEP "Renamed in 0.3.1" SUBSEP "\
     1.8 +It is now called 'caseless_matching' instead. \
     1.9 +"
    1.10 +
    1.11  # route files
    1.12  
    1.13  check["pop3_login"] = "route" SUBSEP "Removed in 0.3.0" SUBSEP "\
     2.1 --- a/examples/masqmail.conf	Mon Oct 25 17:42:48 2010 -0300
     2.2 +++ b/examples/masqmail.conf	Mon Oct 25 17:46:13 2010 -0300
     2.3 @@ -36,7 +36,7 @@
     2.4  # alias expansion:
     2.5  #
     2.6  #alias_file = "/etc/aliases"
     2.7 -#alias_local_caseless = false
     2.8 +#caseless_matching = false
     2.9  
    2.10  
    2.11  # special routes:
     3.1 --- a/man/masqmail.conf.5	Mon Oct 25 17:42:48 2010 -0300
     3.2 +++ b/man/masqmail.conf.5	Mon Oct 25 17:46:13 2010 -0300
     3.3 @@ -249,7 +249,7 @@
     3.4  Default: <not set> (i.e. no aliasing is done)
     3.5  
     3.6  .TP
     3.7 -\fBalias_local_caseless = \fIboolean\fR
     3.8 +\fBcaseless_matching = \fIboolean\fR
     3.9  
    3.10  If this is set, aliasing and the matching for \fBlocal_addresses\fP and
    3.11  \fBnot_local_addresses\fP will be done caseless.
     4.1 --- a/src/conf.c	Mon Oct 25 17:42:48 2010 -0300
     4.2 +++ b/src/conf.c	Mon Oct 25 17:46:13 2010 -0300
     4.3 @@ -493,7 +493,7 @@
     4.4  			conf.do_relay = parse_boolean(rval);
     4.5  		else if (strcmp(lval, "alias_file") == 0) {
     4.6  			conf.alias_file = g_strdup(rval);
     4.7 -		} else if (strcmp(lval, "alias_local_caseless") == 0) {
     4.8 +		} else if (strcmp(lval, "caseless_matching") == 0) {
     4.9  			conf.alias_local_cmp = parse_boolean(rval) ? strcasecmp : strcmp;
    4.10  		} else if (strcmp(lval, "mbox_default") == 0) {
    4.11  			conf.mbox_default = g_strdup(rval);