[Mimedefang] setlogsock error

Arthur Corliss corliss at digitalmages.com
Fri Feb 18 17:19:27 EST 2005


On Fri, 18 Feb 2005, Daniel Zachary wrote:

> When I upgraded to mimedefang 2.51 I began encountering the following error:
>
> Feb 18 14:23:17 ma2 mimedefang-multiplexor[30721]: Slave 1 stderr:
> Undefined subroutine &main::setlogsock called at
> /etc/mail/mimedefang-filter line 251.
>
> This line is:
>
>                # Log all information so we have a trail.
>                setlogsock('unix');
>                openlog( "mimedefang-filter", "pid", "local2" );
>                syslog( 'err', "Sender: $Sender, Subject: $Subject" );
>
> This line has been in the mimedefang-filter for some time. Looks like
> the Sys::syslog module can't be found?
>
> Yet during the ./compile stage, there are comments that indicate that
> setlogsock is found and working.
>
> I can comment out the setlogsock line and then logging entries come to
> the console instead of the log file.
>
> Any ideas what we broke?

What platform are you one, w/what version of Sys::Syslog?  I'm running 2.51
on Linux without any such symptoms...

	--Arthur Corliss
	  Bolverk's Lair -- http://arthur.corlissfamily.org/
	  Digital Mages -- http://www.digitalmages.com/
	  "Live Free or Die, the Only Way to Live" -- NH State Motto



More information about the MIMEDefang mailing list