On Tue, 20 Feb 2001, KRYPTON wrote:

> Some of my users are member of a group email which i made on aliasing..
> Im just wondering how will i moderate it in such a way that no one can reply
> on the list.
> 
> Thanks.
> SUPERMAN
> 

this problem was posted on ph-perl a while back, and if you're using
postfix, michael maravillo have this solution. OTOH, if you're using
sendmail, then it would be much more complicated.

-mark

On Mon, 12 Feb 2001, Michael J. Maravillo wrote:
 
> If you're using Postfix as MTA, it has a rich set of filtering
> parameters that this can be done without any perl in the scene...
>
> Add the following in /etc/postfix/main.cf:
> -----------------------------------------------------------------
> # define admin_senders_only class for later lookup...
> #
> smtpd_restriction_classes =
>         admin_senders_only
>
> # which recipient addresses should we apply the
> # admin_senders_only restriction?
> #
> smtpd_recipient_restrictions =
>         hash:/etc/postfix/recipient_restrictions
>         check_relay_domains
>
> # which senders should we allow to send for above recipients?
> #
> admin_senders_only =
>         check_sender_access hash:/etc/postfix/admin_senders
>         reject
> -----------------------------------------------------------------
>
> /etc/postfix/recipient_restrictions:
> -----------------------------------------------------------------
> [EMAIL PROTECTED]     admin_senders_only
> -----------------------------------------------------------------
>
> /etc/postfix/admin_senders:
> -----------------------------------------------------------------
> [EMAIL PROTECTED]         OK
> -----------------------------------------------------------------
>
> Assuming we have all-users defined in /etc/aliases or as part of
> a mailing list, the rules above will only allow [EMAIL PROTECTED]
> to send to [EMAIL PROTECTED]
>
> A lot of variations can be done such as:
>     - limit which users can send to external domains
>     - limit which users can receive from external domains 



_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to