Giulio Troccoli wrote:
[...]
<!-- the processor for this list serv -->
<mailet match="[EMAIL PROTECTED]"
class="CommandListservProcessor">
<membersonly>true</membersonly>
<attachmentsallowed>false</attachmentsallowed>
<replytolist>false</replytolist>
<repositoryName>list_events</repositoryName>
<subjectprefix>Events</subjectprefix>
<autobracket>true</autobracket>
<listOwner>[EMAIL PROTECTED]</listOwner>
<listName>events</listName>
</mailet>
With this configuration I have the mailing list working as a normail
one, i.e. subscribers and subscribers only can send emails to the
mailing list. But it's not what I want. I can live with the fact that
the event_manager user receives the emails too, but how can I configure
James to that only event_manager can send emails to the mailing list? Is
it possible at all?
I don't use that mailets, so maybe there is a simpler way, but I would
solve this way:
<mailet match="[EMAIL PROTECTED]" class="ToProcessor">
<processor> mailingListIncoming </processor>
</mailet>
<processor name="mailingListIncoming">
<mailet match="RemoteAddrInNetwork=127.0.0.1"
class="CommandListservProcessor">
<membersonly>true</membersonly>
<attachmentsallowed>false</attachmentsallowed>
<replytolist>false</replytolist>
<repositoryName>list_events</repositoryName>
<subjectprefix>Events</subjectprefix>
<autobracket>true</autobracket>
<listOwner>[EMAIL PROTECTED]</listOwner>
<listName>events</listName>
</mailet>
<mailet match="All" class="NotifySender">
<message> you're not allowed to write to this list </message>
</mailet>
</processor>
This way only mail generated locally (127.0.0.1) will be accepted.
Otherwise you can change the RemoteAddrInNetwork matcher with something
else like SMTPAuthUserIs.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]