diff --git a/src/sbbs3/mailsrvr.c b/src/sbbs3/mailsrvr.c index 84883ae45f7d0ef94d6711231b861d0cc05ed8de..9b2222df40c5019a248c29aa7d47750d232a3ffd 100644 --- a/src/sbbs3/mailsrvr.c +++ b/src/sbbs3/mailsrvr.c @@ -1859,7 +1859,10 @@ static void exempt_email_addr(const char* comment char tmp[128]; FILE* fp; - SAFEPRINTF(to,"<%s>",toaddr); + if(*toaddr == '<') + SAFECOPY(to, toaddr); + else + SAFEPRINTF(to,"<%s>",toaddr); if(!email_addr_is_exempt(to)) { SAFEPRINTF(fname,"%sdnsbl_exempt.cfg",scfg.ctrl_dir); if((fp=fopen(fname,"a"))==NULL)