Great Circle Associates Majordomo-Users
(November 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Wrapper for bulk-mailer
From: Daniel Liston <dliston @ netscape . com>
Organization: Netscape Communications Corp.
Date: Thu, 29 Nov 2001 03:54:51 -0600
To: "Mohler Jeff" <jeff . mohler @ netapp . com>
Cc: majordomo-users @ GreatCircle . COM
References: <02740A3D0809D5118C7C00034707E9F3013EE01D@ussvlexc10.corp.netapp.com>

After looking at the URL, I see that this is identified as a sendmail 8.10 and
8.11 bug.  Bulk_mailer is also specifically named as an application that will 
cause this behavior.  Majordomo, without bulk_mailer does not appear to have 
the same problem.  Sendmail may "recommend" a wrapper, but do they offer one?
Do they offer a work-around?  This is not a majordomo bug.  Considering that
version 8.9 of sendmail is not mentioned as having this issue, one work-around
may be to downgrade your sendmail.  Another might be to learn to tune the
sendmail queue(s) to achieve the same performance that bulk_mailer was created
for in the days when sendmail was considered slow.  Exim is supposed to be a
drop-in replacement for sendmail, which was once considered to outperform
sendmail.  I can't say whether or not this is still true, but the bottom line
is, at least in my opinion, you are looking in the wrong place for a solution
to a problem with the combination of bulk_mailer and sendmail.

Keep in mind, your reason for using bulk_mailer in the first place, to aide
sendmail's performance.  Considering bulk_mailer appears to be more of a 
hinderance at this point, it may be time to consider alternatives.  If not,
consider submitting your request to the author of bulk_mailer.

Dan Liston

"Mohler, Jeff" wrote:
> 
> http://www.sendmail.org/~ca/email/smenhanced.html seems to clearly outline my specific problem.
> 
> My output in the logs is such:
> ---
> <message to large list comes in>
> <big pause>
> Nov 20 15:37:03 speedracer sendmail[25190]: fAKNYgK25188: timeout waiting for in
> put from local during Draining Input
> Nov 20 15:37:03 speedracer sendmail[25365]: fAKNZ3B25365: SYSERR: putoutmsg (loc
> alhost): error on output channel sending "250 2.1.5 <ryan@magma-da.com>... Recip
> ient ok (will queue)": Broken pipe
> Nov 20 15:37:03 speedracer sendmail[25365]: fAKNZ3B25365: lost input channel fro
> m daemon@localhost to stdin after rcpt
> Nov 20 15:37:03 speedracer sendmail[25365]: fAKNZ3B25365: from=<owner-nasanorcal
> events@speedtoys.com>, size=0, class=0, nrcpts=0, proto=SMTP, relay=daemon@local
> host
> Nov 20 15:37:03 speedracer sendmail[25432]: fAKNb3S25432: SYSERR: putoutmsg (loc
> alhost): error on output channel sending "220 speedracer.speedtoys.com ESMTP Sen
> dmail 8.11.3/8.11.1; Tue, 20 Nov 2001 15:37:03 -0800 (PST)": Broken pipe
> Nov 20 15:37:03 speedracer sendmail[25432]: NOQUEUE: daemon@localhost did not is
> sue MAIL/EXPN/VRFY/ETRN during connection to stdin
> ...etc..etc..etc..xhundreds
> ---
> 
> -----Original Message-----
> From: Daniel Liston [mailto:dliston@netscape.com]
> Sent: Wednesday, November 28, 2001 8:21 PM
> To: Mohler Jeff
> Cc: majordomo-users@GreatCircle.COM
> Subject: Re: Wrapper for bulk-mailer
> 
> OK, I will play stupid.  Why do you need a wrapper?  Who/what told you that it
> is needed?  And are you POSITIVE creating a link to bulk_mailer in the smrsh
> directory is not enough to solve your problem?  Smrsh is discussed in the FAQ.
> 
> Dan Liston
> 
> "Mohler, Jeff" wrote:
> >
> > I already use bulk-mailer with great sucess.  What I need..it to run it via a wrapper to solve an issue with large lists and a bug in Sendmail that is not fixed.
> >
> > -----Original Message-----
> > From: dliston@netscape.com [mailto:dliston@netscape.com]
> > Sent: Wednesday, November 28, 2001 1:09 PM
> > To: Mohler Jeff
> > Cc: majordomo-users@GreatCircle.COM
> > Subject: Re: Wrapper for bulk-mailer
> >
> > Sendmail security requires a link in your smrsh directory to any/all executables
> > called by the RHS of aliases.  If you are running RedHat, make sure /etc/smrsh/
> > contains a link to /usr/sbin/bulk_mailer.  Then again, that also assumes majordomo
> > was installed from the rpm file, and that you are running an smrsh dependent
> > version of sendmail.
> >
> > I keep this right in my aliases file for quick reference.
> >
> > #####################################################################
> > #
> > # Use of bulk_mailer with sendmail:
> > # To have bulk_mailer distribute mail to a list, add the following lines
> > #
> > # owner-{FOO}: whoever-maintains-foo
> > # {FOO}-outgoing: "|{BULK_MAILER} owner-{FOO}@{YOUR.DOMAIN} {ADDRESS_LIST}"
> > #
> > # where {FOO} is the name of the list, {YOUR.DOMAIN} is your
> > # fully-qualified domain, {BULK_MAILER} is a full path name of the
> > # bulk_mailer program, and {ADDRESS_LIST} is a full path name of the
> > # file containing the list of addresses.
> > #
> > # test-outgoing: "|/usr/sbin/bulk_mailer owner-test@DOMAIN.TLD /var/lib/majordomo/lists/test"
> > #
> > ###########################################################################
> > Of course, additional arguments such as maxdomains are fine, this is just
> > a bare minimum to make it work.
> >
> > Dan Liston
> >
> > "Mohler, Jeff" wrote:
> > >
> > > I need to build a wrapper as I understand it for bulk-mailer.
> > >
> > > As this involves the aliases file..im very unsure on how to accomplish this.
> > >
> > > 3sracers-outgoing:"|/usr/local/bin/bulk_mailer -maxdomains <x> 3sracers@speedtoys.com /usr/local/majordomo/lists/3sracers"
> > >
> > > Thats how I currently call it, any pointers would be appreciated..and of great help to tohers in the archives as well.
> > >
> > > Thanks!



References:
Indexed By Date Previous: Need some help with permissions
From: Michael Donohue <webmaster@bard.net>
Next: Re: Need some help with permissions
From: Daniel Liston <dliston@netscape.com>
Indexed By Thread Previous: RE: Wrapper for bulk-mailer
From: "Mohler, Jeff" <jeff.mohler@netapp.com>
Next: RE: Wrapper for bulk-mailer
From: "Mohler, Jeff" <jeff.mohler@netapp.com>

Google
 
Search Internet Search www.greatcircle.com