bugSpamAssassin Milter Plugin - Bugs: bug #4640, milter issues NULL context in...

 
 

bug #4640: milter issues NULL context in mlfi_close, stops talking to sendmail

Submitted by:  None
Submitted on:  Tue 05 Aug 2003 10:13:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Dan Nelson <dnelson>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

 Spam posted by an anonymous
Tue 05 Aug 2003 10:29:08 PM UTC, comment #1:

It definitely should not happen, at least according to the sendmail API documentation. mlfi_close should only be called once per connection, and since mlfi_connect sets the context variable at the beginning of a connection, it should never be NULL at close. I wonder what happens if a client opens a connection to sendmail and immediately closes it; if mlfi_connect takes a while to return, mlfi_close might get called on another thread.. I'll have to see if this is possible.

Could you try running with the "-d func,misc" commandline switch? With the amount of messages you're processing logging might be too verbose to determine what's wrong though. If you have valgrind you can try running it under that (make sure you don't run the milter with -f, so you can see any valgrind messages); it shouldn't cause much of a performance hit.

Dan Nelson <dnelson>
Project AdministratorIn charge of this item.
Tue 05 Aug 2003 10:13:04 PM UTC, original submission:

Log has loads of "NULL context in mlfi_close! Should not happen!" milter stops taking requests from sendmail. Can't be sure the two are related but something is very wrong.

Milter runs for 3-10 minutes depending on load then
locks. This appears to be a "timing" issue. The test machine receives about 20-30 messages per minute. Running on Gentoo 1_4 with 2.4.20 kernel, sendmail 8.12.9, AMD Athalon-XP 2000, 512 M RAM, ONLY one milter in the .mc file

The higher the load the shorter amount it runs.

-unavailable-

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 05 Aug 2003 10:29:08 PM UTCdnelsonAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup