Ok, I am looking really hard at the code here. It looks like the @ magic of
badmailfrom is somewhere in here which was copied directly for badrcpto:
j = byte_rchr(addr.s,addr.len,'@');
if (j < addr.len)
if (constmap(&mapbrt,addr.s + j,addr.len - j - 1)) return 1;
I am still not sure exactly what this is saying though. I know in psuedo
code terms, but I can not figure out how to change it to make it work at
matching user@.
Any ideas?
Brian Moon
----------------------------------------------------------------------
dealnews.com, Inc.
Makers of dealnews, dealmac
http://dealnews.com/ | http://dealmac.com/
----- Original Message -----
From: "Brian Moon" <[EMAIL PROTECTED]>
To: "qmail" <[EMAIL PROTECTED]>
Sent: Tuesday, May 22, 2001 3:49 AM
Subject: badrcptto
> Ok, so I got the badrcptto patch working. It doesn't look like it will do
> partial addresses. You know how badmailfrom will let you just put in
> @domain.com. I was hoping that this patch might let you put in user@ and
> reject all mail for that user regardless of domain. I don't really follow
> the C code well, so I don't see how to do this.
>
> Any ideas?
>
> Brian Moon
> ----------------------------------------------------------------------
> dealnews.com, Inc.
> Makers of dealnews, dealmac
> http://dealnews.com/ | http://dealmac.com/
>
>
>
>
>