Ed Henderson wrote:

> I have been unable to get spamd to log any messages to syslog "mail"
> facility.  I have even switched it to "local0" and still no luck.

You seem to have got further than me. I have tested spamd 2.01 and 2.11
under Solaris 7 and 9 and get :-

# spamd
Your vendor has not defined the Sys::Syslog macro _PATH_LOG at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Sys/Syslog.pm line 277.

This is using Perl 5.6.0 rather than the Sun supplied /usr/bin/perl.
I have other perl scripts which use syslog ok, such as Amavisd.

A quick comparison of spamd and amavisd suggests that the main difference
is :-

amavisd
use Unix::Syslog qw(:macros :subs);

spamd
use Sys::Syslog qw(:DEFAULT setlogsock);

My quick work-a-round was to comment out the body of 'sub logmsg'.
This is clearly not very good, but does mean that I can run spamd!

Geoff

UK-Human Genome Mapping Project-Resource Centre,
Hinxton, Cambridge, CB10 1SB, UK
Tel: +44 1223 494530  Fax: +44 1223 494512  E-mail: [EMAIL PROTECTED]


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to