When mailgw-0.3.1 comes across an NNTP message with an X-BBS-To:
line in the header for gating to the PBBS network, the resulting
AX25 BBS 'to' proposal becomes:    BS-To: @

The following patch made to rfcutils.c seems to fix.

73, Gareth.


*** rfcutils.c.0        Thu Feb  4 17:28:27 1999
--- rfcutils.c  Sat Feb  6 15:29:43 1999
***************
*** 113,119 ****
                } else if (art->to == NULL && !strncasecmp(s, "To:", 3)) {
                        art->to = hdrval(&s[3]);
                } else if (art->x_bbs_to == NULL && !strncasecmp(s, "X-BBS-To:", 9)) {
!                       art->x_bbs_to = hdrval(&s[3]);
                } else if (art->returnpath == NULL && !strncasecmp(s, "Return-Path:", 
12)) {
                        art->returnpath = hdrval(&s[12]);
                } else
--- 113,119 ----
                } else if (art->to == NULL && !strncasecmp(s, "To:", 3)) {
                        art->to = hdrval(&s[3]);
                } else if (art->x_bbs_to == NULL && !strncasecmp(s, "X-BBS-To:", 9)) {
!                       art->x_bbs_to = hdrval(&s[9]);
                } else if (art->returnpath == NULL && !strncasecmp(s, "Return-Path:", 
12)) {
                        art->returnpath = hdrval(&s[12]);
                } else

Reply via email to