Justin Mason wrote: > Francois Marier writes: >> On 2007-10-31 at 10:28:26, Sven Hartge wrote:
>>> I don't think that changing the logcheck rules is a proper fix. If >>> making razor log via syslog changes the way spamd represents itself, >>> there must be somethin fishy going on which should be investigated and >>> not papered over. >> You're right, it would be good to get to the bottom of this. >> >> I would guess that it has to do with how SpamAssassin is calling razor. > > my guess is that Razor uses Sys::Syslog, the same module as SpamAssassin > uses, and calls openlog() with a new "ident" string: [...] > this then replaces the SpamAssassin call to openlog(). Interesting, from Logger.pm: ------------ use strict; use Razor2::Syslog; use Time::HiRes qw(gettimeofday); use POSIX qw(strftime); use IO::File; # 2003/09/10 Anne Bennett: syslog of our choice (uses socket, # does not assume network listener). use Sys::Syslog; ------------ Indeed, it uses Sys::Syslog. But: Razor2::Syslog implements its own Method using UDP (and Net::Socket), but this needs a remote listening syslogd (even if it only listens to 127.0.0.1:514) so this is IMO not an option to fall back to. ' Grüße, S° -- Sven Hartge -- professioneller Unix-Geek Meine Gedanken im Netz: http://www.svenhartge.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]