At 17:53 10/15/2003, Davide Libenzi wrote: > > For example, assume I want to catch 116.68-136-217.adsl.skynet.be (yes, I > > know that filtering on *.*.adsl.skynet.be would catch it - but it wouldn't > > catch 12-225-197-33.client.attbi.com - I want to catch anything that starts > > with a "recognizable" IP address). To accomplish this, do I need to write > > 81 patterns (648 when you consider the separator issue), or is there a > > faster, easier way? I'm thinking it's going to be: > > > > [0-9].[0-9].[0-9].[0-9].* > > [0-9].[0-9].[0-9].[0-9][0-9].* > >You'd need a regex engine to do complex things.
I had considered that - but since there isn't one available for spam-address.tab processing within XMail, I'm kind of stuck...:) What I've done is adapt the code for processing spam-addresses.tab to also handle RDNS and HELO processing, but I want to get a little more creative in how I match things. But I'm running up against the limitations in the wildcard processing. Unfortunately, I don't know enough C/C++ to be able to update that part of the code to support regex processing, so... (If it happens that you plan to support regex processing in the future, that would be wonderful...:) - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
