Re: [EXIM] relaying control question

Top Page
Delete this message
Reply to this message
Author: Ben Smithurst
Date:  
To: V. T. Mueller
CC: eml
Subject: Re: [EXIM] relaying control question
V. T. Mueller wrote:

> A log entry of an "incoming" mail looks similar to this:
> /date, time, id/ <= guy_in_a@??? H=host.sending.dom (sending.dom)
> /IP, protocol, size, id/
>
> Relaying can be allowed by inserting *.sending.dom to
> sender_host_accept_relay .
>
> *Is there a way to also check if the term in brackets (sending.dom)
> matches a given pattern?*


Even if there is, it would probably be unwise to use it. That string
in brackets is just the argument the remote SMTP client gives to the
HELO/EHLO command. So, it is trivial to forge this information and
shouldn't be trusted, IMHO. Why do you want to use that information
anyway -- what is wrong with just using the hostname or IP address?

--
Ben Smithurst
ben@???

--
*** Exim information can be found at http://www.exim.org/ ***