Commit b3c3dbbf authored by rswindell's avatar rswindell
Browse files

Don't auto-exempt "<<address>>", just "<address>"

parent b06125ae
...@@ -1859,7 +1859,10 @@ static void exempt_email_addr(const char* comment ...@@ -1859,7 +1859,10 @@ static void exempt_email_addr(const char* comment
char tmp[128]; char tmp[128];
FILE* fp; FILE* fp;
SAFEPRINTF(to,"<%s>",toaddr); if(*toaddr == '<')
SAFECOPY(to, toaddr);
if(!email_addr_is_exempt(to)) { if(!email_addr_is_exempt(to)) {
SAFEPRINTF(fname,"%sdnsbl_exempt.cfg",scfg.ctrl_dir); SAFEPRINTF(fname,"%sdnsbl_exempt.cfg",scfg.ctrl_dir);
if((fp=fopen(fname,"a"))==NULL) if((fp=fopen(fname,"a"))==NULL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment