Skip to content
Snippets Groups Projects
Commit 1acf9815 authored by rswindell's avatar rswindell
Browse files

Return a 250 "ok" response to mail received-and-forwarded rather than the

251 response which was made optional in RFC2821 - to address privacy
concerns.
parent 9341b636
No related branches found
No related tags found
No related merge requests found
......@@ -4651,7 +4651,7 @@ static void smtp_thread(void* arg)
,socket, client.protocol, user.netmail);
fprintf(rcptlst,"%s=%u\n",smb_hfieldtype(RECIPIENTNETTYPE),NET_INTERNET);
fprintf(rcptlst,"%s=%s\n",smb_hfieldtype(RECIPIENTNETADDR),user.netmail);
sockprintf(socket,client.protocol,session,"251 User not local; will forward to %s", user.netmail);
sockprintf(socket,client.protocol,session,ok_rsp); // used to be a 251 response, changed per RFC2821
} else { /* Local (no-forward) */
if(routed) { /* QWKnet */
fprintf(rcptlst,"%s=%u\n",smb_hfieldtype(RECIPIENTNETTYPE),NET_QWK);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment