SOLVED: minimalist config, (was Lock down the all-staff email list? sendmail, alias, majordomo?)

2008-05-21 Thread brad davison


> > > 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
> 
> The majordomo and mailman were a bit more than what I was looking for.  The 
> minimalist port does look like it does exactly what I'm looking for, but I'm 
> having an issue getting it configured.
> 
> My minimalist port seems to have been installed in 
> '/usr/local/share/minimalist' and the config file appears to be in 
> '/usr/local/etc/minimalist.conf'.  All files are under the '/usr/local/share' 
> folder except the minimalist.conf in '/usr/local/etc'
> 
> I have set the directory directive to '/usr/local/share/minimalist' in the 
> '/usr/local/etc/minimalist.conf' and created my list directories under there, 
> but I am not able to see it when I send 'info' message to '[EMAIL PROTECTED]'.
> 
> reply from server for email with 'info' as subject:
> These are the mailing lists available at email.domain.com:
> 
> -- 
> Sincerely, the Minimalist
> 
> 
> under /usr/local/share/minimalist:
> 
> My list.lst file has:
> farmThe Farm mailing list.
> southMailing list for Southern area.
> 
> I have the farm and south directories with a very short list file:
> list:
> [EMAIL PROTECTED]  
> [EMAIL PROTECTED]
> 
> my /usr/local/etc/minimalist.conf (only non-commented lines)
> minimalist.conf
> directory = /usr/local/share/minimalist
> password = 12345
> admin = [EMAIL PROTECTED]
> auth = mailfrom [EMAIL PROTECTED]:@/usr/local/etc/mml.trusted
> 
> 
> Any ideas where I might be going wrong?  The mechanism seems to be working, 
> as I can send messages to 'minimalist' and get info, but its not seeing my 
> lists.
> 
> Thanks
> 
> 

the problem was:
the auth = mailfrom  line was in the global config, and that needed to be 
in the directory for the list.
I commented the auth line out of the 'global config' 
/usr/local/etc/minimalist.conf and added it to the file 'config' under the 
'farm' directory.

yay it works now.
thanks rob for pointing me at minimalist.

_
Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ 
MakeCount___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


minimalist config, (was Lock down the all-staff email list? sendmail, alias, majordomo?)

2008-05-20 Thread brad davison

> Date: Mon, 19 May 2008 15:07:31 -0400
> From: [EMAIL PROTECTED]
> To: freebsd-questions@freebsd.org
> Subject: Re: Lock down the all-staff email list? sendmail, alias, majordomo?
> 
> 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

The majordomo and mailman were a bit more than what I was looking for.  The 
minimalist port does look like it does exactly what I'm looking for, but I'm 
having an issue getting it configured.

My minimalist port seems to have been installed in 
'/usr/local/share/minimalist' and the config file appears to be in 
'/usr/local/etc/minimalist.conf'.  All files are under the '/usr/local/share' 
folder except the minimalist.conf in '/usr/local/etc'

I have set the directory directive to '/usr/local/share/minimalist' in the 
'/usr/local/etc/minimalist.conf' and created my list directories under there, 
but I am not able to see it when I send 'info' message to '[EMAIL PROTECTED]'.

reply from server for email with 'info' as subject:
These are the mailing lists available at email.domain.com:

-- 
Sincerely, the Minimalist


under /usr/local/share/minimalist:

My list.lst file has:
farmThe Farm mailing list.
southMailing list for Southern area.

I have the farm and south directories with a very short list file:
list:
[EMAIL PROTECTED]  
[EMAIL PROTECTED]

my /usr/local/etc/minimalist.conf (only non-commented lines)
minimalist.conf
directory = /usr/local/share/minimalist
password = 12345
admin = [EMAIL PROTECTED]
auth = mailfrom [EMAIL PROTECTED]:@/usr/local/etc/mml.trusted


Any ideas where I might be going wrong?  The mechanism seems to be working, as 
I can send messages to 'minimalist' and get info, but its not seeing my lists.

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]"


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]"


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 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 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 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]"


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

2008-05-19 Thread brad davison

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. 

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]"