Re: [Mixmaster-devel] Re: [Remops] destblocks aren't working
Brought to you by:
weaselp
From: Peter P. <pe...@pa...> - 2002-01-24 18:27:58
|
[list CCed, hope you don't mind] Hi Len! On Thu, 24 Jan 2002, Len Sassaman wrote: > On Thu, 24 Jan 2002, Peter Palfrader wrote: >=20 > > > > Those are not valid addresses. > > > > > > They aren't? They should be. > > > > Perhaps. But I doubt there are many users having an email account at > > a Top Level Domain. xx...@xx... would get blocked. >=20 > Still, I like being RFC 822 compliant... Index: rem.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mixmaster/Mix/Src/rem.c,v retrieving revision 1.12 diff -u -r1.12 rem.c --- rem.c 2002/01/10 23:59:16 1.12 +++ rem.c 2002/01/24 18:25:08 @@ -424,7 +424,7 @@ if (bufleft(line, "/")) { errlog(LOG, "Ignoring blocking request: %b is a regex.\n", addr); } else { - if (strchr(line->data, '@') && strchr(strchr(line->data, '@'), '.')) { + if (strchr(line->data, '@')) { strcpy( destblklst, DESTBLOCK ); destblk =3D strtok( destblklst, " " ); f =3D mix_openfile( destblk, "a" ); This should fix it. I have not tested it tho. yours, peter --=20 PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : The universal | `. `' Operating System http://www.palfrader.org/ | `- http://www.debian.org/ |