Re: Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread Jeffrey Goldberg

On May 19, 2008, at 10:23 AM, brad davison wrote:



Our company has a sendmail server 8.13.8 running on FBSD 6.2 with  
procmail.  We currently have an alias set up for our all-staff email  
(we only have about 200 users).  Someone recently sent out an email  
to the all-staff that someone didn't like, so now I have to restrict  
who can send to it.


 or B) a list program like majordomo or something that I can keep  
people from using who isn't 'the boss'?


That is the option I recommend.  Look at the mailman port.  Mailman is  
a very nice (though not perfect) mailing list management system.


I see that there is also a port for majordomo if that is what you  
prefer.  But I find that mailman is easier for my users to cope with.


What is the best way to have a list that only certain users are able  
to send to?

I am open to suggestions that will get me out of this situation.


You have already given the answer.  Use a mailing list management  
system like majordomo.  I recommend mailman.


By the way, mailman is what is used for managing the FreeBSD mailing  
lists.  The announce list is set up so that only certain individuals  
can post to it.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

brad davison wrote:
 Our company has a sendmail server 8.13.8 running on FBSD 6.2 with procmail.  
 We currently have an alias set up for our all-staff email (we only have about 
 200 users).  Someone recently sent out an email to the all-staff that someone 
 didn't like, so now I have to restrict who can send to it.
 
 I have disabled the alias, since I didn't know if there was a way to restrict 
 who can send to aliases, but is there a good way to have a list of users that 
 either a) doesn't give the list name in the email, or B) a list program like 
 majordomo or something that I can keep people from using who isn't 'the boss'?
 
 What is the best way to have a list that only certain users are able to send 
 to?
 I am open to suggestions that will get me out of this situation. 
 

I don't have your setup, but I could guess what I would do with mine: I wouldn't
try to stop folks from sending to that address, instead, I would block it on the
reception side, so only a given set can get thru to be re-echoed to.  Blocking
on the receive side, that's something that is very well covered in a huge number
of tools, blocking on the sending, that's one heck of a lot more difficult.
Wouldn't it give you the same effect, or does the filtering occur at the wrong
point in your processing, to be able to block the retransmission (time to test 
it).

 Thanks
 
 _
 Give to a good cause with every e-mail. Join the i’m Initiative from 
 Microsoft.
 http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ 
 GoodCause___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMbmSz62J6PPcoOkRAiV6AJ9XUml4l9ro4sng+POstt9Zy0HPmACfYeNi
iM/2siKhPjAtd1XB6NThZ3g=
=fBll
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread David Kelly
On Mon, May 19, 2008 at 03:23:30PM +, brad davison wrote:
 
 Our company has a sendmail server 8.13.8 running on FBSD 6.2 with
 procmail.  We currently have an alias set up for our all-staff email
 (we only have about 200 users).  Someone recently sent out an email to
 the all-staff that someone didn't like, so now I have to restrict who
 can send to it.

If one is willing to consider replacing sendmail with postfix it appears
there may be several ways to restrict who may send messages to an
address. man 5 access and man 5 header_checks are my first guesses.

Header_checks seems to run before the message is queued. If there is a
match you can accept, reject, redirect, or many other things.

OTOH if only a few people are allowed to send to all-staff then maybe it
would be best to manually maintain a mail list in their personal address
books?

Another way to deal with it would be to rewrite the all-staff header
with a bogus undeliverable address so that the minions don't know what
the single whole world address is? So that if they reply it doesn't
deliver, or it only delivers to a few select people? Only the privileged
few know the real-all-staff email address.

I know, its security by obscurity but when absolute security is not
needed and all that is needed is protection from the ignorant its often
plenty good enough.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread Rob

brad davison wrote:

What is the best way to have a list that only certain users are able to send to?



That sounds like you're getting into a full blown mailing0list package.  I set up the 
minimalist port for a small list last year.  Small  very easy to config.  I 
think it has the restriction you want.

 -R
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lock down the all-staff email list? sendmail, alias, majordomo?

2008-05-19 Thread N. Raghavendra
At 2008-05-19T15:23:30Z, brad davison wrote:

 What is the best way to have a list that only certain users are able
 to send to?

You can use Majordomo, and set the parameter `restrict_post' in
`listname.config':

  restrict_post = listname.allowed

where `listname.allowed' is a file containing addresses from which
messages to the list will be accepted.  In addition, you may want to
configure `/etc/mail/virtualusertable' as in Majordomo FAQ 3.6,
http://www.greatcircle.com/majordomo/majordomo-faq.html#3.6

HTH,
Raghavendra.

-- 
N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]