[Mimedefang] checking sender

Jim McCullars jim at info.uah.edu
Wed Aug 27 09:43:01 EDT 2003

On Wed, 27 Aug 2003, cc wrote:

> > 	if ($ip !~ /^192\.168/) {
> >            #  the mail is coming from an external source
> >
> If I add md_graphdefang_log('IP:',$ip) before the above line,
> I get nothing in the log.    Do I need to explicitly grab
> the $ip from the $entity?

   No, you can use the global variable $RelayAddr.  Sorry about that.

> Should this be in the filter() or filter_begin()?

   Your original question had something to do with action_replace_with_url
so you will need to do that in filter().  There is no entity in



More information about the MIMEDefang mailing list