Chris Edwards wrote:
> Doesn't the SpamAssassin URIBL stuff solve a similar problem ? That is:
>
> foo.example.com -> example.com
> foo.example.ac.uk -> example.ac.uk
>
> Check out "RegistrarBoundaries.pm" in SpamAssassin - it has the relevant
> lookup table. Not perfect but might he
Doesn't the SpamAssassin URIBL stuff solve a similar problem ? That is:
foo.example.com -> example.com
foo.example.ac.uk -> example.ac.uk
Check out "RegistrarBoundaries.pm" in SpamAssassin - it has the relevant
lookup table. Not perfect but might help. As for the case of:
foo
On Mon, 2007-06-25 at 07:17 -0700, Marc Perkel wrote:
>
> OK let me rephrase the question. What I want is to start with a
> $sender_host_name and get a string that ends with the TLD and is
> preceded by the next string back to the period.
>
> In this example:
>
> mx.cam.ac.uk
> virgo.cus.cam.
--On 25 June 2007 16:53:21 +0100 John Burnham <[EMAIL PROTECTED]> wrote:
>> I guess it must be quite frustrating to keep getting told
>> that he doesn't
>> really want to know the answer to his question. I expect he
>> does, but all
>> he's had so far is some reasons (perfectly good ones) why
>>
> I guess it must be quite frustrating to keep getting told
> that he doesn't
> really want to know the answer to his question. I expect he
> does, but all
> he's had so far is some reasons (perfectly good ones) why
> what he's trying
> to do might not be so simple.
>
And that's an excuse fo
--On 25 June 2007 15:25:56 +0100 John Burnham <[EMAIL PROTECTED]> wrote:
>
>> I don't care to argue about why I want it. I just want it. I
>> just want
>> the next part before the TLD.
>>
> You, sir, are becoming awfully rude for someone requesting help.
> John
>
I guess it must be quite frust
--On 25 June 2007 16:08:16 +0100 Philip Hazel <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Jun 2007, Marc Perkel wrote:
>
>> What I'm looking for is that part of the name that someone could
>> register.
>
> Somebody could (did) register ac.uk with the owner of the uk zone.
> Somebody (else) registere
On Mon, 25 Jun 2007, Marc Perkel wrote:
> What I'm looking for is that part of the name that someone could register.
Somebody could (did) register ac.uk with the owner of the uk zone.
Somebody (else) registered cam.ac.uk with the owner of the ac.uk zone.
I think you may need to understand the co
< snip some very good stuff that saved me writing something similar>
>
> You need a lookup table populated from elsewhere. IMO you
> cannot do this
> with a regular expression, no matter how hard you ask.
>
The only thing I can think of that might help would be to investigate WHOIS, but
even tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In message <[EMAIL PROTECTED]>, Dave
Lugo <[EMAIL PROTECTED]> writes
>On Mon, 25 Jun 2007, Marc Perkel wrote:
>>
>> I don't care to argue about why I want it. I just want it. I just want
>> the next part before the TLD.
>>
>
>Not to be rude, but how d
On Mon, 2007-06-25 at 07:38 -0700, Marc Perkel wrote:
> What I'm looking for is that part of the name that someone could register.
As you might gather, there's no easy way to do this with Exim. In actual
fact, there's no easy way to do this *at all*.
Every single gTLD, ccTLD and pseudo-TLD regist
>From Marc Perkel on Monday, June 25, 2007 10:17 AM
> I don't care to argue about why I want it. I just want it.
> I just want the next part before the TLD.
Then I suggest you get a good book on regular expressions and perhaps one on
perl and learn something about what most of the rest of us bot
Philip Hazel wrote:
> On Mon, 25 Jun 2007, Peter Bowyer wrote:
>
>
>> On 25/06/07, Marc Perkel <[EMAIL PROTECTED]> wrote:
>>
>>> What I want is to extract the cam.ac.uk part of the above names. It's
>>> the TLD + the first string immediately before the TLD.
>>>
>> Which would give
> OK let me rephrase the question. What I want is to start with a
> $sender_host_name and get a string that ends with the TLD and is
> preceded by the next string back to the period.
>
> In this example:
>
> mx.cam.ac.uk
> virgo.cus.cam.ac.uk
> ewe.damtp.cam.ac.uk
>
>
> All of these would ret
On Mon, 25 Jun 2007, Marc Perkel wrote:
>
> I don't care to argue about why I want it. I just want it. I just want
> the next part before the TLD.
>
Not to be rude, but how does it feel to want?
I don't think you're going to be able to do this for every case,
and get it correct, without checking
John Burnham wrote:
>> What I want is to extract the cam.ac.uk part of the above names. It's
>> the TLD + the first string immediately before the TLD.
>>
>>
> Which may or may not give you what you want - they could all be run by
> independent people. I guess it depends on what you want to
On Mon, 25 Jun 2007, Peter Bowyer wrote:
> On 25/06/07, Marc Perkel <[EMAIL PROTECTED]> wrote:
> > What I want is to extract the cam.ac.uk part of the above names. It's
> > the TLD + the first string immediately before the TLD.
>
> Which would give you 'demon.co.uk' for many tens of thousands of
> What I want is to extract the cam.ac.uk part of the above names. It's
> the TLD + the first string immediately before the TLD.
>
Which may or may not give you what you want - they could all be run by
independent people. I guess it depends on what you want to do with the domain.
John
--
## Li
On 25/06/07, Marc Perkel <[EMAIL PROTECTED]> wrote:
> What I want is to extract the cam.ac.uk part of the above names. It's
> the TLD + the first string immediately before the TLD.
Which would give you 'demon.co.uk' for many tens of thousands of
independently-managed spam sources.
Peter
--
Peter
Philip Hazel wrote:
> On Mon, 25 Jun 2007, Marc Perkel wrote:
>
>
>> What would be the method of detecting the domain part of a host address?
>> For example:
>>
>> 82-46-151-246.cable.ubr04.perr.blueyonder.co.uk
>>
>> How would you write an ACL that would extract the blueyonder.co.uk part?
>>
On 25/06/07, Marc Perkel <[EMAIL PROTECTED]> wrote:
> What would be the method of detecting the domain part of a host address?
> For example:
>
> 82-46-151-246.cable.ubr04.perr.blueyonder.co.uk
>
> How would you write an ACL that would extract the blueyonder.co.uk part?
In an ACL directly - not li
On Mon, 25 Jun 2007, Marc Perkel wrote:
> What would be the method of detecting the domain part of a host address?
> For example:
>
> 82-46-151-246.cable.ubr04.perr.blueyonder.co.uk
>
> How would you write an ACL that would extract the blueyonder.co.uk part?
I think the point several people ha
What would be the method of detecting the domain part of a host address?
For example:
82-46-151-246.cable.ubr04.perr.blueyonder.co.uk
How would you write an ACL that would extract the blueyonder.co.uk part?
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details
23 matches
Mail list logo