james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: Restricting List Server Sending
Date Thu, 03 Jun 2004 21:13:15 GMT
> I see one of the options is to restrict that only members of the list
> can send to the list.

> I want only one or two email addresses to be able to send to the list.

  <processor ...>
     <mailet match="RecipientIs=<list>@<domain>" class="ToProcessor">
       <processor> check-announce </processor>
     </mailet>
  </processor>

  <processor name="check-announce">
     <mailet match="SenderIs=<list>" class="ToProcessor">
        <processor> ok-to-announce </processor>
     </mailet>

     <mailet match="All" class="Bounce">
        <notice>550 Rejected - you are not authorized to post to this
list.</notice>
        <attachment>none</attachment>
        <passThrough>false</passThrough>
     </mailet>
  </processor>

  <processor name="ok-to-announce">
     <mailet match="RecipientIs=<list>@<domain>" class="AvalonListserv">
        ...
     </mailet>
  </processor>

Hope that helps.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Mime
View raw message