mainSpamAssassin Milter Plugin - Support: sr #102301, Connection refused to the socket

 
 

sr #102301: Connection refused to the socket

Submitter:  None
Submitted:  Thu 24 Jul 2003 05:33:17 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 20 Aug 2003 04:15:48 AM UTC, comment #9: 


Ok, here's the stack trace.

#0  0x1dc966 in __sigsuspend (set=0xbf7ff9bc)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 
#1  0x1a10c3 in sigwait (set=0xbf7ffa8c, sig=0xbf7ffa88) at
signals.c:217
#2  0x8059f8e in mi_signal_thread () at spamass-milter.cpp:1819
#3  0x19df87 in pthread_start_thread (arg=0xbf7ffc00) at
manager.c:284

So I suppose the question is, is this an bug in
spamass-milter or do we have a problem with our thread
libraries?

Thanks,

Jeff

Invalid User ID <#21714>
Tue 12 Aug 2003 05:33:18 AM UTC, comment #8: 


Unfortunately no.  It doesn't seem to crash at all on the
two systems I run it on (possibly because I block a lot of
spam outright via /etc/mail/access blocks, so I just don't
ever get the magic message that kills it on your system). If
you can get a coredump, maybe the stack trace will narrow
down the problem area.

Dan Nelson <dnelson>
Group administrator
Sat 09 Aug 2003 12:49:54 PM UTC, comment #7: 


Ok, It happened again with the 0.2.0+cvs version. Only one
spamass-milter process running. Here's a sample log entry:

Aug  8 17:00:19 shell sm-mta[17252]: h78KjJC2017252: Milter
(spamassassin): error connecting to filter: Connection
timed out with /var/run/spamass.sock
Aug  8 17:00:19 shell sm-mta[17252]: h78KjJC2017252: Milter
(spamassassin): to error state
Aug  8 17:00:19 shell sm-mta[17252]: h78KjJC2017252:
[200.93.44.103] did not issue MAIL/EXPN/VRFY/ETRN during
connection to MTA

Any other ideas why it might be crashing?

Invalid User ID <#21714>
Fri 08 Aug 2003 05:25:11 AM UTC, comment #6: 


Arg. Two jeff@ people! you're confusing me

Ok, if you're running Linux and see only 1 process, that
means that spamass-milter has crashed and LinuxThreads
didn't clean up.  Could you try downloading the 0.2.0+cvs
source from
http://savannah.nongnu.org/download/spamass-milt/ and see if
it still happens?  I fixed a couple of possible crash bugs
since 0.2.0 was released.

Dan Nelson <dnelson>
Group administrator
Fri 08 Aug 2003 05:03:03 AM UTC, comment #5: 


I hadn't noticed the difference in error messages. The
problem just happened again. Sendmail had its max number of
daemons running and all seem to be stuck waiting for
spamass-milter. There was only 1 spamass-milter process
running instead of 3.

When I killed that spamass-milter process, all of the extra
sendmail processes disappeared and I was able to restart
spamass-milter. Any ideas?

Thanks,

Jeff

Invalid User ID <#21714>
Thu 07 Aug 2003 04:15:35 PM UTC, comment #4: 


It was a permissions problem. The real problem was that the
spamassassin user cannot be root, because I compiled sendmail not to
allow milters to run as root. This combined with the fact that amavis-
milter runs as user amavis, I ended up creating a group that I called
'milters'. Then I made the local mail queue directory group permissions
'wr' and made the owner 'smmsp.milters' which should give it the user it
needs and the group that you created. Then add any user that any part
of sendmail or any milter runs as to that group. This is how I fixed it.

But I did not have the timeout error like you, mine was a connection
refused.

Anonymous
Thu 07 Aug 2003 02:53:02 PM UTC, comment #3: 


You actually don't have the same problem.  The original
submitter's error was "Connection refused"; yours is
"Connection timed out".

When you get these timeouts, is spamass-milter still
running?  If you're running Linux, you should see at least
three spamass-milter processes in a "ps ax" listing.  For
all other Unixes, you should see one process.

Dan Nelson <dnelson>
Group administrator
Thu 07 Aug 2003 12:45:39 PM UTC, comment #2: 


I am having this same problem. I get:
   Milter (spamassassin): error connecting to filter:
Connection timed out with /var/run/spamass.sock
   Milter (spamassassin): to error state
in my maillog and then sendmail hits its limit on the number
of children and then stops accepting e-mail.

Does anyone know what is causing this?

Thanks,

Jeff Dwoskin
-email is unavailable-

Invalid User ID <#21714>
Fri 25 Jul 2003 01:18:39 AM UTC, comment #1: 


I have it working. Thanks anyways.

Anonymous
Thu 24 Jul 2003 05:33:17 PM UTC, original submission:  


When I send a message thru sendmail, I get the message thru all
the way, but I get an error in my /var/log/maillog file that says:

Milter (spamassassin): error connecting to filter: Connection
refused by /var/run/sendmail/spamass.sock

Milter (spamassassin): to error state

I am using amavisd as a milter for antivirus, so my sendmail
daemon runs as user amavis, which leads me to think
permissions. But what kind of permissions do I need?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-5190.
Corresponding source code