[Mimedefang] MIMEDefang timeouts (clasrification)

Albert E. Whale, CISSP aewhale at ABS-CompTech.com
Fri Jul 11 08:04:00 EDT 2003


Bill Maidment wrote:

> Albert
>
> I've got the download already, thanks.
> What I am trying to understand is how mimedefang is working without it 
> !!!!
> Do I really need to have Unix/Syslog.pm installed ???
> The mimedefang doco says it's optional, so what does it do (if 
> anything) in RedHat 9 ???
>
> Cheers
> Bill

OK, I got your question now.  Originally I had the same question, 
however reviewing the code provides the following:

#***********************************************************************
# %PROCEDURE: md_openlog
# %ARGUMENTS:
#  tag -- syslog tag ("mimdefang.pl")
#  facility -- Syslog facility as a string
# %RETURNS:
#  Nothing
# %DESCRIPTION:
#  Opens a log using either Unix::Syslog or Sys::Syslog
#***********************************************************************
sub md_openlog ($$) {
    my($tag, $facility) = @_;
    if ($Features{"Unix::Syslog"}) {
        my $num_fac = convert_log_facility_to_number($facility);
        openlog($tag, LOG_PID, $num_fac);
    } else {
        openlog($tag, "pid", $facility);
    }
}
use strict 'subs';


HTH.

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






More information about the MIMEDefang mailing list