You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2010/02/11 13:50:33 UTC

[Bug 6331] New: Win32: spamd logging: syslog-socket

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6331

           Summary: Win32: spamd logging: syslog-socket
           Product: Spamassassin
           Version: 3.3.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P5
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: lemke@jam-software.com


spamd doesn't differ between unix and windows at this point. 
trying to run it under windows encounters the following error:

unix passed to setlogsock, but path not available at
C:/Perl/site/lib/Mail/SpamAssassin/Logger/Syslog.pm line 79
logger: failed to add syslog method: logger: syslog initialization failed

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6331] Win32: spamd logging: syslog-socket

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6331

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Mark Martinec <Ma...@ijs.si> 2010-02-16 01:54:05 UTC ---
(In reply to comment #2)
> Also see https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6267
> 
> Probably should combine these. Sys::Syslog does have features for Win32 and
> remote logging also, which at minimum should be documented.

The proposed documentation fix for Bug 6267 documents the use of
--syslog-socket=eventlog for Windows event logging, as well as
the use of --syslog-socket=none.

I'm closing this one as a duplicate, please followups to Bug 6267,
if any concerns remain.

*** This bug has been marked as a duplicate of bug 6267 ***

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6331] Win32: spamd logging: syslog-socket

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6331

Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jm@jmason.org
   Target Milestone|Undefined                   |3.3.1

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6331] Win32: spamd logging: syslog-socket

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6331

Daniel <le...@jam-software.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lemke@jam-software.com

--- Comment #1 from Daniel <le...@jam-software.com> 2010-02-11 12:50:55 UTC ---
@@ -427,7 +428,13 @@
 # gets mapped to --syslog=stderr and such --syslog-socket=file. An internal
 # socket of 'none' means as much as --syslog=null. Sounds complicated? It is.
 # But it works.
-my $log_socket = lc($opt{'syslog-socket'}) || 'unix';
+my $log_socket;
+if (!Mail::SpamAssassin::Util::am_running_on_windows()) {
+    $log_socket = lc($opt{'syslog-socket'}) || 'unix';
+} else {
+    $log_socket = "none";
+}

 # This is the default log file; it can be changed on the command line
 # via a --syslog flag containing non-word characters.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6331] Win32: spamd logging: syslog-socket

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6331

Henrik Krohns <he...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hege@hege.li

--- Comment #2 from Henrik Krohns <he...@hege.li> 2010-02-11 13:30:48 UTC ---

Also see https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6267

Probably should combine these. Sys::Syslog does have features for Win32 and
remote logging also, which at minimum should be documented.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.