On Mon, 11 Mar 2002, CertaintyTech - 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.  The
> odd thing is that spamd does send all syslog messages to the console.
> Here is the line that I used for syslog.conf:
>
>     local0.info /var/log/spamd.log
>
> spamd is the only service using local0.  Any tips as to where to look to
> see what is wrong?  I am using Solaris 8 x86.  Here is how I'm running
> spamd:
>
>     /usr/perl5/bin/spamd -a -d -s local0 -u qmailq -x -L -F 0

It works for me. I think I'd be looking at syslog. Perhaps your Perl
syslog interface?

#!/usr/bin/perl -w

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

my $log_facility = 'mail';
openlog('test_logger','foo,bar',$log_facility);
syslog('info',"Test log entry");

-- 
Charlie Watts
[EMAIL PROTECTED]
Frontier Internet, Inc.
http://www.frontier.net/


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

Reply via email to