Great Circle Associates Majordomo-Workers
(May 1999)
 

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

Subject: Re: Mj2 post confirmation
From: nb @ thinkcoach . com
Date: Sat, 22 May 1999 14:48:33 +0200
To: tibbs @ math . uh . edu
Cc: majordomo-workers @ GreatCircle . COM
In-reply-to: <ufapv3tuis5.fsf@epithumia.math.uh.edu> (message from Jason LTibbitts III on 22 May 1999 12:16:26 -0500)
Prefer-language: de, en, fr
References: <3.0.5.32.19990521131755.0099c840@pop.climber.org> <199905220918.LAA01398@quill.thinkcoach.com> <ufapv3tuis5.fsf@epithumia.math.uh.edu>

Jason L Tibbitts III <tibbs@math.uh.edu> replied to me:

> n> This report would be generated as soon as at least one attempt has been
> n> made for each subscribed email address to transmit the post to the MX
> n> host for that address.
> 
> That is so MTA dependent it's not funny.  How do you plan to know when the
> MTA has done this?
> 
> n> The current strategy is that this is done by sendmail or qmail, running
> n> either at the remote host or at a smarthost, and Majordomo talks to this
> n> MTA via SMTP (which makes it neigh impossible to get at the desired
> n> information.)
> 
> That is the only reasonable strategy.  Unless of course you want to write a
> full MTA in Perl, which you are welcome to do but which I think is an
> incredible waste of time.

Sure, but one doesn't need to write a full MTA to make this work. It
would suffice to have something that understands the small subset of
SMTP that Mj2 actually uses and then runs ($sendmail,'-v',@addresses)
and then appends the output of sendmail to a file named after the
message-ID of the message. Each of these processes would have a
non-exclusive lock on an additional per-message lockfile. As
soon as Majordomo has finished pumping batches to these pseudo-MTA
processes it would wait until they're all finished (by requiring an
exclusive lock on that lockfile) and then analyze the output from
sendmail to generate the confirmation message.

Caveat: This will work only with sendmail on the local host, not with
other MTAs or with smarthosts.

-- NB.













> 
>  - J<
> 


Follow-Ups:
References:
Indexed By Date Previous: Re: Mj2 post confirmation
From: SRE <eckert@climber.org>
Next: Re: Mj2 post confirmation
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Indexed By Thread Previous: Re: Mj2 post confirmation
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Next: Re: Mj2 post confirmation
From: Jason L Tibbitts III <tibbs@math.uh.edu>

Google
 
Search Internet Search www.greatcircle.com