From c39ee047051fb36f4db907c037e22db586490f42 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 12 Feb 2017 21:57:22 +0100 Subject: [PATCH] sendmail: allow "+" symbol in recipient. Closes 9646 Signed-off-by: Denys Vlasenko --- mailutils/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c index 8ddb7826b..b542099fd 100644 --- a/mailutils/sendmail.c +++ b/mailutils/sendmail.c @@ -150,7 +150,7 @@ static char *sane_address(char *str) trim(str); s = str; while (*s) { - if (!isalnum(*s) && !strchr("_-.@", *s)) { + if (!isalnum(*s) && !strchr("+_-.@", *s)) { bb_error_msg("bad address '%s'", str); /* returning "": */ str[0] = '\0'; -- 2.25.1