Hello -

I am running an older version of SA (2.51).  I just installed an updated to
version 0.2.0 of spamass-milter. The intent of this change is to offload the
spamd processing to another box.  This config works okay with the new
milter.

But now, I cannot start spamd on the original box.  I would like to use this
as fall-back in case the offload doesn't respond - milter 0.2.0 has the
ability to do this, but spamd isn't running locally.

Here is the end of the Debug output to starting spamd:



<debug output>
[all checks are performed - copious output at:
http://www.tulane.edu/~ccrowley/spamd_startup_problem.txt
server started on port 783
server pid: 7625
connect: Permission denied (SOCK_DGRAM after trying SOCK_STREAM) at
/usr/local/bin/spamd line 629
<end debug output>






</usr/local/bin/spamd excerpt>
    623 sub logmsg
    624 {
    625     my $old = $SIG{'PIPE'};
    626     $SIG{'PIPE'} = sub { $main::SIGPIPE_RECEIVED++; };
    627
    628     openlog('spamd','cons,pid',$log_facility);
    629     syslog('info',"@_");
    630     if ($opt{'debug'}) { warn "logmsg: @_\n"; }
    631
    632     if ($main::SIGPIPE_RECEIVED) {
    633        # SIGPIPE recieved when writing to syslog - this has been
    634        # found to occur with syslog-ng after syslog-ng restarts.
    635        # Close and reopen the log handle, then try again.
    636
    637        closelog();
    638        openlog('spamd','cons,pid',$log_facility);
    639        syslog('info',"@_");
    640
    641        # now report what happend
    642        my $msg = "SIGPIPE received - reopening log socket";
    643        if ($opt{'debug'}) { warn "logmsg: $msg\n"; }
    644        syslog('warning', $msg);
<end /usr/local/bin/spamd>



Obviously something was changed by the install of the new milter.
/var/run/sendmail looks the same (I checked against a clone of the original
install).  I stopped the new milter, and started the old one, but I still
have the same problem.  Based on the code in /usr/local/bin/spamd, I changed
the permissions on /var/log/maillog, but that had no affect.

If I start as root, then I get errors about multiple SIGPIPE:

</usr/local/bin/spamd -D>
logmsg: connection from localhost [ 127.0.0.1 ] at port 2078
logmsg: SIGPIPE received - reopening log socket
logging failure: multiple SIGPIPEs received
<end /usr/local/bin/spamd -D>


Suggestions?


Christopher Crowley
Technology Services
Tulane University
[EMAIL PROTECTED]
504.314.2535
PGP Key ID: 0x7CF18FDB



-------------------------------------------------------
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