SUMMARY:Restricting mailing list access in sendmail

From: Craig Whytock (cwhytock@cims.co.uk)
Date: Tue Jan 05 1999 - 05:09:56 CST


Opinion would appear to be no ( but I only got 3 replies ).

Best suggestion was to use majordomo
( http://www.ualberta.ca/CNS/MAJORDOMO/majordom.html ) which I think
I will do when I get the time.

For the sendmail fix you can remove the for line from the sendmail.cf
file, which prevents the address name being propogated to the list.

Though this also means editing the output from the M4 processing
which I was trying to avoid.

---------------------------------------------
#########################
# Format of headers #
#########################

H?P?Return-Path: <$g>
HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
        $.by $j ($v/$Z)$?r with $r$. id $i$?u
# Remove received for info - csw 211298
# for $u; $|;
        $.$b
--------------------------------------------

>Jim Robertori <jimr@tpesops.pr.lucent.com>
>You could just put local aliases on each machine of the chosen few.

But this doesn't solve the problem of the mailing list address
being propogated with the email.

>I can not belive that I am suggesting this at all....
>It is a commercial product called Lyris check it out...
>It will allow you to chose what users can send email to the list.
>
> www.lyris.com

Interesting list server software but if I was going down this path
I think I would use Majordomo.

>Sendmail can't, majordomo can, you should use majordomo. I have used it for
>several years and it is actually not difficult to set up once you realize
>what each of the aliases and the entries in the config files does. This is
>all clearly documented in the FAQ and the install instructions. There's
>also an email list for majordomo users (like you, not end-users).

Chad Price
cprice@molbio.unmc.edu

OK majordomo it is.

Thanks Guys.

----------------------------------------------------------------------
>I have a problem where I need to be able to let selected
>users send to a mailing list under sendmail but restrict
>all others, preferably with a standard message.
>
>At the moment Sendmail adds a line as part of the received,
>by, and for headers saying,
>
>Received: from web1. (localhost [127.0.0.1])
> by mail.cims.co.uk (8.9.1/8.9.1) with SMTP id SAA02926
> for <mailing-list@cims.co.uk>; Fri, 18 Dec 1998 18:04:50 GMT
>
>Thus making the list name known to everyone on the list. And allowing
>them to propagate messages through it.
>
>Two obvious solutions would be
>
>1: Majordomo (
>hopefully, but I'm looking for a sendmail fix)
>
>Temporary Fix
>2: Editing the cf file by hand to remove the "for" line in
>the header. However I was trying to stick with the standard
>M4 macros to generate the cf file, and this doesn't appear
>to be a very clean way of doing it, though it does work!
>

-- 
-----------------------------------------------------------
Craig Whytock                         cwhytock@voice-uk.com
Solaris Administrator                   Delphic Interactive 
Tel+44(0)1415533476 Fax+44(0)1415533350 Mobile 07771 808419
-----------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:13 CDT