[Mimedefang] mimedefang on Solaris 9, syslog error
Fritz Bronze
dnf at hta-bi.bfh.ch
Tue Nov 11 10:55:49 EST 2003
Hello,
I had the same Problem with mimedefang 2.38 and Solaris 9, i find a
Workaround:
> # Do logging. Try UNIX-domain socket first (to work on Linux boxes),
> # but fall back to inet (on some Solaris boxes).
> if ($Features{"Unix::Syslog"}) {
> md_openlog("mimedefang.pl", $SyslogFacility);
> } else {
> if ("yes" eq "yes") {
> unless (defined(setlogsock('inet'))) {
> <---- replaced hier, original was: unless (defined(setlogsock('unix'))) {
> setlogsock('inet');
> }
> } else {
> setlogsock('inet');
> }
> md_openlog("mimedefang.pl", $SyslogFacility);
> }
Force setlogsock() to use 'inet' instead 'unix' (line 4253 in mimedefang.pl)
Regards
Francis
More information about the MIMEDefang
mailing list