<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Scott Silva wrote:
<blockquote cite="mid:f3keln$4k8$2@sea.gmane.org" type="cite">
  <pre wrap="">Alex Neuman van der Hans spake the following on 5/30/2007 10:36 AM:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'd like to know if, like in:

From:   1.2.3.   yes # Whitelist everything that *begins with* 1.2.3. in
its IP Address
    </pre>
  </blockquote>
</blockquote>
That will test the IP address of the host sending out the SMTP.<br>
<blockquote cite="mid:f3keln$4k8$2@sea.gmane.org" type="cite">
  <blockquote type="cite">
    <pre wrap="">
one could:

From:   *.blableble.com     yes     # ... do the same with everything
that reverse-resolves to something.blableble.com
or
From:   .blableble.com   yes # or this way...
    </pre>
  </blockquote>
</blockquote>
That will match against the sender address in the message envelope,
nothing to do with the IP address that is sending the SMTP.<br>
<br>
If you want to match against the SMTP client IP address, you have to
use the numeric format in your first example.<br>
<blockquote cite="mid:f3keln$4k8$2@sea.gmane.org" type="cite">
  <pre wrap=""><!---->Should work, but will open you up to every spam mail that pretends to come
from that domain. But I think the above will only match sub-domains of
blableble.com, like server1.blableble.com or otherserver.blableble.com

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CITP
<a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info">www.MailScanner.info</a>
Buy the MailScanner book at <a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info/store">www.MailScanner.info/store</a>

MailScanner customisation, or any advanced system administration help?
Contact me at <a class="moz-txt-link-abbreviated" href="mailto:Jules@Jules.FM">Jules@Jules.FM</a>

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit <a class="moz-txt-link-abbreviated" href="http://www.transtec.co.uk">www.transtec.co.uk</a>
</pre>
</body>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
<br />For all you IT requirements visit <a href="http://www.transtec.co.uk/">transtec Computers</a>.
</html>