Great Circle Associates Majordomo-Workers
(July 1996)
 

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

Subject: Bug in resend script and other requests
From: Arnaud Taddei <Arnaud . Taddei @ cern . ch>
Date: Sat, 20 Jul 1996 12:59:31 +0200 (METDST)
To: majordomo-workers @ greatcircle . com, majordomo-users @ greatcircle . com
Cc: ListBox Masters <service-masters @ listbox . cern . ch>


At CERN we are still usin gmajordomo 1.92 (ok we will move to the latest
version soon) and we are serving 422 mailing lists. The number of entries
in each list varies from 1 to 1700 members. 

We faced various problems with the code:

Probable small bug in 'resend':
-------------------------------
Sometimes mail messages are coming with an Approved: field
in the header and, although the list is not moderated, the owner
get back a Bounce message with 'Invalid 'Approved' header'.

I suggest that when you do the test:
	elsif (/^approved:\s*(.*)/i && defined($opt_a)) 
you extend it with:
	elsif (/^approved:\s*(.*)/i && defined($opt_a) && defined($opt_A))

I saw the same problem in the 1.94a6 release.

Problem when opening the pipe to sendmail:
------------------------------------------
In majordomo.pl, in 
	sub main'sendmail 
you do basically a pipe to sendmail to prepare and send the mail.

Unfortunately, if the system has a load problem, the sendmail process
will timeout and will send an empty result to the user.

So we decided to prepare the answer to a temporary file and then 
to send it to the user in the majordomo 'done' function.

What is your solution in the last version?

I can send you the code if you want (working in production since
several months already).

Problem of validating users with multiple accounts - would need
more flexibility
---------------------------------------------------------------
As many of our users have accounts on many machine (there are 10 000
users) and we have clusters, their mail From address can be
taddei@dxcern.cern.ch or taddei@sp054.cern.ch, or Arnaud.Taddei@cern.ch
So we had to rewrite the validation algorithms in majordomo.pl
i.e. is_list_member and addr_match. We have a daily updated database 
which provides us all addresses equivalences. 

Although this is a very low level security mechanism (one can fake
the From field) in practice it proves to be very effective and decreased
very much the unsatisfaction level of our users who were fed up with 
having to send their mail from only one place.

So our question is: do you imagine that it would be possible to have
a "Site customisation level" of the library with some hooks
from the official version?

Regards

------------------------------------------------------------
Arnaud Taddei	          tel : +41 22 767 9349 
CN Division 513 1-019	  fax : +41 22 767 7155
CERN			  mail: Arnaud.Taddei@cern.ch
CH-1211 Geneve 23	  URL:  http://wwwcn.cern.ch/~taddei
------------------------------------------------------------



Follow-Ups:
Indexed By Date Previous: Re: [help]wrapper:error: recompile with POSIX flags?
From: Fai Gor <zhouhui@netramet1.singnet.com.sg>
Next: Re: Bug in resend script and other requests
From: Brock Rozen <brozen@netvoyage.net>
Indexed By Thread Previous: Re: [help]wrapper:error: recompile with POSIX flags?
From: Fai Gor <zhouhui@netramet1.singnet.com.sg>
Next: Re: Bug in resend script and other requests
From: Brock Rozen <brozen@netvoyage.net>

Google
 
Search Internet Search www.greatcircle.com