Skip to content
Snippets Groups Projects
Commit 4992a1ac authored by rswindell's avatar rswindell
Browse files

When creating an FTN netmail message, set the "LOCAL" attribute flag in

the net-attributes header fields.
parent 3a4a06b3
Branches
Tags
No related merge requests found
......@@ -3877,6 +3877,7 @@ static void smtp_thread(void* arg)
smb_hfield_add_str(&newmsg, SMTPRECEIVED, hdrfield, /* insert: */TRUE);
if(nettype == NET_FIDO) {
newmsg.hdr.netattr |= MSG_LOCAL;
char* tp = strchr(rcpt_name, '@');
if(tp != NULL)
*tp = 0;
......
......@@ -243,6 +243,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode, smb_t* resm
}
}
msg.hdr.netattr |= MSG_LOCAL;
lprintf(LOG_DEBUG, "NetMail subject: %s", subj);
p=subj;
if((SYSOP || useron.exempt&FLAG('F'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment