|
|
|
@@ -555,6 +555,8 @@ char *external_editor(struct user_record *user, char *to, char *from, char *quot
|
|
|
|
|
}
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_MAGI && !email) {
|
|
|
|
|
snprintf(buffer, 256, "\r--- MagickaBBS v%d.%d%s (%s/%s)\r * Origin: %s (@%d)\r", VERSION_MAJOR, VERSION_MINOR, VERSION_STR, name.sysname, name.machine, tagline, conf.mail_conferences[user->cur_mail_conf]->maginode);
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_QWK && !email) {
|
|
|
|
|
snprintf(buffer, 256, "\r--- MagickaBBS v%d.%d%s (%s/%s)\r * Origin: %s (%s)\r", VERSION_MAJOR, VERSION_MINOR, VERSION_STR, name.sysname, name.machine, tagline, conf.bwave_name);
|
|
|
|
|
} else {
|
|
|
|
|
snprintf(buffer, 256, "\r");
|
|
|
|
|
}
|
|
|
|
@@ -691,6 +693,8 @@ char *editor(struct user_record *user, char *quote, int quotelen, char *from, in
|
|
|
|
|
}
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_MAGI && !email) {
|
|
|
|
|
snprintf(buffer, 256, "\r--- MagickaBBS v%d.%d%s (%s/%s)\r * Origin: %s (@%d)\r", VERSION_MAJOR, VERSION_MINOR, VERSION_STR, name.sysname, name.machine, tagline, conf.mail_conferences[user->cur_mail_conf]->maginode);
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_QWK && !email) {
|
|
|
|
|
snprintf(buffer, 256, "\r--- MagickaBBS v%d.%d%s (%s/%s)\r * Origin: %s (%s)\r", VERSION_MAJOR, VERSION_MINOR, VERSION_STR, name.sysname, name.machine, tagline, conf.bwave_name);
|
|
|
|
|
} else {
|
|
|
|
|
snprintf(buffer, 256, "\r");
|
|
|
|
|
}
|
|
|
|
@@ -1581,6 +1585,8 @@ int read_message(struct user_record *user, struct msg_headers *msghs, int mailno
|
|
|
|
|
free(from_addr);
|
|
|
|
|
} else if (msghs->msgs[mailno]->oaddress != NULL && conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_MAGI) {
|
|
|
|
|
s_printf(get_string(288), msghs->msgs[mailno]->from, atoi(msghs->msgs[mailno]->oaddress));
|
|
|
|
|
} else if (msghs->msgs[mailno]->oaddress != NULL && conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_QWK) {
|
|
|
|
|
s_printf(get_string(289), msghs->msgs[mailno]->from, msghs->msgs[mailno]->oaddress);
|
|
|
|
|
} else {
|
|
|
|
|
s_printf(get_string(106), msghs->msgs[mailno]->from);
|
|
|
|
|
}
|
|
|
|
@@ -1872,6 +1878,12 @@ int read_message(struct user_record *user, struct msg_headers *msghs, int mailno
|
|
|
|
|
JAM_PutSubfield(jsp, &jsf);
|
|
|
|
|
jmh.ReplyCRC = JAM_Crc32(buffer, strlen(buffer));
|
|
|
|
|
}
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_QWK) {
|
|
|
|
|
jsf.LoID = JAMSFLD_OADDRESS;
|
|
|
|
|
jsf.HiID = 0;
|
|
|
|
|
jsf.DatLen = strlen(conf.bwave_name);
|
|
|
|
|
jsf.Buffer = (char *)conf.bwave_name;
|
|
|
|
|
JAM_PutSubfield(jsp, &jsf);
|
|
|
|
|
}
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->mail_areas[user->cur_mail_area]->type == TYPE_NETMAIL_AREA) {
|
|
|
|
|
jmh.Attribute |= JAM_MSG_TYPENET;
|
|
|
|
@@ -2327,9 +2339,14 @@ void post_message(struct user_record *user) {
|
|
|
|
|
JAM_PutSubfield(jsp, &jsf);
|
|
|
|
|
jmh.MsgIdCRC = JAM_Crc32(buffer, strlen(buffer));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} else
|
|
|
|
|
if (conf.mail_conferences[user->cur_mail_conf]->mail_areas[user->cur_mail_area]->type == TYPE_NETMAIL_AREA) {
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_QWK) {
|
|
|
|
|
jsf.LoID = JAMSFLD_OADDRESS;
|
|
|
|
|
jsf.HiID = 0;
|
|
|
|
|
jsf.DatLen = strlen(conf.bwave_name);
|
|
|
|
|
jsf.Buffer = (char *)conf.bwave_name;
|
|
|
|
|
JAM_PutSubfield(jsp, &jsf);
|
|
|
|
|
}
|
|
|
|
|
} else if (conf.mail_conferences[user->cur_mail_conf]->mail_areas[user->cur_mail_area]->type == TYPE_NETMAIL_AREA) {
|
|
|
|
|
jmh.Attribute |= JAM_MSG_TYPENET;
|
|
|
|
|
jmh.Attribute |= JAM_MSG_PRIVATE;
|
|
|
|
|
if (conf.mail_conferences[user->cur_mail_conf]->nettype == NETWORK_FIDO) {
|
|
|
|
|