Re: ????

James Vahn (jvahn@short.circuit.com)
Mon, 8 Nov 1999 18:23:56 -0800 (PST)

On Tue, 9 Nov 1999, Eugene Crosser wrote:

> > - Correct MSGID susbstitution (personally, I don't need it. But my
> > uplinks complain about this)
>
> ifmail has correct MSGID generator.

But too many complain, blaming Usenet-style MSGID.
My system is Fidonet, not Usenet.

I use this patch provided to me for ifmail-2.14. It permits a
line in /etc/ifmail/config that looks like:

ftnmsgidstyle short.circuit.com

It works very well. The patch follows:

--- ifgate/mkftnhdr.c Sun Feb 1 23:10:24 1998
+++ ifgate/mkftnhdr.c Fri Sep 25 00:55:50 1998
@@ -81,6 +81,14 @@
*s=xstrcpy(l);
hash_update_s(&nid,l);
}
+ else if ((bestaka) && (ftnmsgidstyle) &&
+ (strncasecmp(r+1,ftnmsgidstyle,
+ strlen(ftnmsgidstyle)) == 0))
+ {
+ *s=xstrcpy(ascfnode(bestaka,0x1f));
+ /* FIXME: what to put here ? -- P.Saratxaga */
+ hash_update_s(&nid,l);
+ }
else
{
*r='\0';
--- iflib/config.h Sat Apr 26 11:55:56 1997
+++ iflib/config.h Fri Sep 25 00:57:47 1998
@@ -79,6 +79,7 @@
extern char *database;
extern char *aliasfile;
extern char *myfqdn;
+extern char *ftnmsgidstyle;
extern char *sequence;
extern char *sendmail;
extern char *rnews;
--- iflib/rdconfig.c Sat Apr 26 11:46:04 1997
+++ iflib/rdconfig.c Fri Sep 25 00:58:54 1998
@@ -115,6 +115,7 @@
char *database=NULL;
char *aliasfile=NULL;
char *myfqdn=NULL;
+char *ftnmsgidstyle=NULL;
char *sequence=NULL;
char *sendmail=NULL;
char *rnews=NULL;
@@ -227,6 +228,7 @@
{"database", getstr, &database},
{"sysalias", getstr, &aliasfile},
{"myfqdn", getstr, &myfqdn},
+ {"ftnmsgidstyle", getstr, &ftnmsgidstyle},
{"sequencer", getstr, &sequence},
{"sendmail", getstr, &sendmail},
{"rnews", getstr, &rnews},