On Wed, Aug 27/97, Richard Welty <welty@???> wrote:
> just verifying that i understand the new search stuff properly...
>
> if i have read the manual correctly, then
>
> sender_reject = ^\d{8}@*
>
> should reject any incoming address with an 8 digit local part,
> regardless of domain. right or wrong?
Note: this is how it works on 1.651, I haven't upgraded yet. I assume
nothing major has changed about it in 1.70 though.
First, for the new syntax to work you need to be using something like
sender_reject_recipients = @@partial0-lsearch;/etc/exim/rejects
sender_host_reject = @@partial0-lsearch;/etc/exim/rejects
I think. I didn't get the impression that that regex works on the older
methods, but I could be wrong.
Anyway, using the above search method, you can now have a file with
entries that look like the following. I put the 8 character item first
because it's very common nowadays, and that probably means that the >*
in the uu.net entry is redundant (Philip?). Also, a @@partial1-lsearch
might be more efficient as well.
*: ^\d{8}$
uu.net: jerrysun4 : >*
cyberpr0mo.com: *
cyberprom0.com: *
cyberpromo.com: *
cyberpromo.net: *
--
Artificial Intelligence stands no chance against Natural Stupidity.
GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*