[Mimedefang] filter-relay, rejection on bogus helo

Richard Cooper richard.cooper at dagroupplc.com
Wed Jan 7 13:17:09 EST 2004



> -----Original Message-----
> From: Lucas Albers [mailto:admin at cs.montana.edu]
> You can also include your hostname in the rejection helo check:
> #after excluding your mail server by it's ip address
> if ($Helo =~ /(cs\.montana\.edu|esus\.\cs\.\montana\.edu)/

I would suggest being careful with this. I just tried it and the only mail it bounced was a quarantine report from MD :). Seems like the local relay identifies itself with $HELO =  FQDN and $RelayAddr =  127.0.0.1 - on my host anyway.

I'm guessing here since my Perl skills are non-existent, but could I use the following?

if ($Helo =~ /relay\.digital-animations\.com && $RelayAddr !=~ /127\.0\.0\.1/)

I'm guessing with the !=~ so please be kind :)

Cheers
Ric

-- 
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.

If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of DA Group.



More information about the MIMEDefang mailing list