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 likely. But have a look at http://www.teuton.org/~ejm/exim_surbl/ which describes a method of implementing SURBL support - that project uses some perl and a file containing hints for ccTLDs - this might give you a head start. Peter -- Peter Bowyer Email: [EMAIL PROTECTED] -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/