[Mimedefang] MIMEDefang 2.43 is released

Cormack, Ken kcormack at acs.roadway.com
Tue May 11 11:57:16 EDT 2004


> Dumb question, but where, now, is the HELO argument accessible?

Rich,

I sent this reply to a similar post, just a couple days ago.  It will fix
your helo check.

Where I had the following in filter_relay():

#sub filter_relay {
#
#   my ($hostip, $hostname, $helo) = @_;

I now use this, in filter_sender():

sub filter_sender {

   my ($sender, $ip, $name, $helo) = @_;

filter_sender takes four arguements, where filter_relay took three.  The
names change slightly, but if you start the functions as I did, allowing for
four arguements, and then change the names of the corresponding variables in
your helo check, that should be all you need (in addition to ensuring you
start mimedefang with the -s switch, to activate the filter_sender
function.)

KEN CORMACK, RHCE
Sr. UNIX Systems Analyst,
    Open Systems Group
Sr. Software Analyst,
    TSG Midrange Systems Group
AFFILIATED COMPUTER SERVICES, INC.



More information about the MIMEDefang mailing list