[Mimedefang] Re: Skipping filtering for outbound mail (was Re:[Mimedefang] MIMEDefang2.28-BETA-2 is available)

Albert E. Whale aewhale at ABS-CompTech.com
Wed Dec 11 11:53:00 EST 2002


"David F. Skoll" wrote:

> On Wed, 11 Dec 2002, Albert E. Whale wrote:
>
> > I get Errors when I attempt to use the VariablesVictor Najera
> > 'ACCEPT_AND_NO_MORE_FILTERING' or 'CONTINUE'.  Where are these
> > Defined?
>
> They aren't variables, they are string constants.  They should be enclosed
> in quotes (single or double will do.)
>
> Regards,
>
> David.

Hmm, Looks like I'm doing something wrong then:

Dec 11 11:46:23 ns mimedefang-multiplexor: Slave 0 stderr: Argument "CONTINUE"
isn't numeric in numeric gt (>) at /usr/local/bin/mimedefang.pl line 4141,
<STDIN> line 1.
Dec 11 11:46:23 ns mimedefang.pl[28088]: filter_relay rejected host
206.24.8.11 (access3.hky.com)

My Filter_relay:

# Filter on Incoming, not outgoing messages
#sub filter_relay {
#    my($hostip, $hostname, $helo) = @_ ;
#    if ($hostip eq '127.0.0.1' or
#       $hostip eq '192.168.99.1' or
#       $hostip =~ /^192\.168\./ or
#       $hostip eq '66.93.61.117') {
#       return ('ACCEPT_AND_NO_MORE_FILTERING', "ok");
#       }
#    return ('CONTINUE', "ok");
#}

Ideas?


--
Albert E. Whale - CISSP
http://www.abs-comptech.com
----------------------------------------------------------------------
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
Sr. Security, Network, and Systems Consultant
Board of Directors - InfraGard - Pittsburgh, PA





More information about the MIMEDefang mailing list