Hello,
I am using ActiveState perl 5.6.1 and SpamAssassin 2.60rc5 on Windows 2000.
I have managed to get SpamD running with only 2 minor code changes.

Only one issue yet to be resolved is this error which appears on startup:
No such signal: SIGHUP at spamd.pl line 434.







In order to get SpamD running on Win32, I had to comment out the following
line:

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

Can the code be changed so that this is only used if it's safe on this OS?
Like conditional include?


Also,
These lines:

                     logmsg "Still running as root: user not specified
with -u, ".
                     "not found, or set to root. Fall back to nobody.";
                    my ($uid,$gid) = (getpwnam('nobody'))[2,3];

Had to be changed to this:
                    # logmsg "Still running as root: user not specified
with -u, ".
                    # "not found, or set to root. Fall back to nobody.";
                    my ($uid,$gid) = ('nobody')[2,3];

Same as before,
Can the code be changed so that this is only used if it's safe on this OS?




Sorry for my ignorance, I am a VB guy and just started learning Perl in
August.

P.S. Porting of SpamC for Windows (WinSpamC) is underway, more info soon!

Thanks,

Frederic Tarasevicius
Internet Information Services, Inc.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to