Bug 35363

Summary: Bug in Sendmail Milter causes milter daemons to fail
Product: Ports & Packages Reporter: Scot W. Hetzel <hetzels>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me CC: dinoex
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Scot W. Hetzel 2002-02-27 00:30:01 UTC
	Sendmail 8.12.x has an implementation bug in the milter
	code that causes the milter daemons to fail when they
	are bombarded with 20-30 messages from a mail server.

	This problem was recently disscussed on the AMAViS mailing
	list and comp.mail.sendmail

> ----- Original Message -----
> From: "Mike Atkinson"
> Newsgroups: comp.mail.sendmail
> Sent: Saturday, February 23, 2002 4:19 PM
> Subject: Re: MILTER timeout problems
> 
>
> >
> > "Claus A=DFmann"
> > wrote in message news:a58k9j$a3s$1@zardoc.esmtp.org...
> > > Mike Atkinson wrote:
> > >
> > > > "Claus A=DFmann"
> > >
> > > > > Maybe you run into a bug in the MTA wrt milter (error handling for
> > > > > select()), take a look at:
> > >
> > > > > http://www.sendmail.org/~ca/email/sm-812.html
> > >
> > > > Feb 23 00:03:56 mail sendmail[82323]: g1N53lNY082323: Milter
> > > > (milter-amavis): select(read): Interrupted system call
> > >                    ^^^^^^        ^^^^^^^^^^^^^^^^^^^^^^
> > >
> > > That's fixed by the patch. The code didn't check for
> > > EINTR when select() returned an error.
> >
> > Yes, the patch corrected the problem at our site.
> >
> > Thanks again!
> >
> > Mike
>
> The patch available at the link above definitely fixes the Milter timeout
> problem.  Before applying the patch, I would see this every 5 to 15 minutes
> in our logs.
>
> There hasn't been another one since I applied the patch 5 hours ago.
> (Do I hear sighs of relief that this problem is generic to sendmail rather
> than some obscure problem with amavis-milter? :-)
>
> Mike Atkinson - mikea@kconline.com
> KC Online, Inc. - System Administration

Fix: Apply the following patch:
How-To-Repeat: 	Install the port and configure it to use a milter daemon,
	then bombard it with 20-30 messages from another mail
	server.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2002-02-27 04:54:16 UTC
State Changed
From-To: open->closed

Committed in ports, Thanks