On Tue, Aug 26, 2008 at 05:17:14PM -0400, Grant Peel wrote:
> Question: Is there an expression we can add that will only look at the FQDN 
> or change the FQDN (as opposed to the full MX name?
> 
> i.e. mx129.emailservice.com to emailservice.com (or *emailservice.com)

Depends what you actually want.

If you want to just strip of the first DNS label (x.y.z => y.z, or y.z=>z)
then presumably a plain old regex can do that.  If you want to do something
more like

  somehost.example.com => example.com
or
  somehost.example.co.uk => example.co.uk
or
  example.co.uk => example.co.uk
or
  something.whatever.example.com => example.com

then that's a whole separate can of worms - see
http://lists.exim.org/lurker/message/20050917.154150.f86b7567.en.html
and
http://lists.exim.org/lurker/message/20050919.145010.ebad4075.en.html

-- 
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey

Attachment: signature.asc
Description: Digital signature

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to