+ o Allow a space in $originalmail N$ substitution
o Add $text T$ substitution
o Add $$ substitution
o Allow list texts to include real UTF-8 characters, as documented
*tmp = '\0';
tmp += 13;
str = tmp;
+ if (*tmp == ' ') {
+ tmp++;
+ str = tmp;
+ }
while (*tmp >= '0' && *tmp <= '9')
tmp++;
if (*tmp == '$') {
}
close(mailfd);
} else {
- log_error(LOG_ARGS, "Could not substitute $originalmail%d$ (mailname == %s)",len,mailname);
+ log_error(LOG_ARGS, "Could not substitute $originalmail %d$ (mailname == %s)",len,mailname);
}
} else {
- log_error(LOG_ARGS, "Bad $originalmailNNN$ substitution");
+ log_error(LOG_ARGS, "Bad $originalmail N$ substitution");
}
myfree(utfline);
} else {