* Omit extended result code from SMTP response when we hit an RBL. We don't use...
authorArt Cancro <ajc@citadel.org>
Fri, 20 Mar 2009 15:53:27 +0000 (15:53 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 20 Mar 2009 15:53:27 +0000 (15:53 +0000)
citadel/locate_host.c

index 3847d09be5b02c1e93540279e2398d38ca876c96..2bf9f2de4b89a718dc01446e01f77eefdf700e25 100644 (file)
@@ -297,7 +297,7 @@ int rbl_check_addr(struct in_addr *addr, char *message_to_spammer)
                 extract_token(&tbuf[strlen(tbuf)], rbl_domains, rbl, '|', (sizeof tbuf - strlen(tbuf)));
 
                if (rblcheck_backend(tbuf, txt_answer, sizeof txt_answer)) {
-                       sprintf(message_to_spammer, "5.7.1 %s", txt_answer);
+                       strcpy(message_to_spammer, txt_answer);
                        CtdlLogPrintf(CTDL_INFO, "RBL: %s\n", txt_answer);
                        return(1);
                }