[Mailman-Users] Permitted IP Address?

Bill Landry billl at inetmsg.com
Wed Jun 8 02:09:49 CEST 2005


----- Original Message ----- 
From: "Jim Tittsler" <jwt at OnJapan.net>

> On Tue, Jun 07, 2005 at 01:02:10PM -0700, Bill Landry wrote:
>> We have a script that will send out automated service notification 
>> messages
>> to different lists.  Is there a way to configure Mailman to allow posts 
>> to
>> any lists from a specific IP address, that of the script server?
>
> If you taught your script the password for each of the lists,
> it could add an Approved: header to the messages it crafts.
>
> A cleaner way would be to add a stage early in the pipeline of
> handler modules that identified messages from the script (by IP
> address in a received header, or a special header that would be
> hard to forge) and set 'approved' and 'adminapproved' for the
> message.  (See Mailman/Handlers/Approve.py and SpamDetect.py
> for starting places.)

Thanks Jim, I will look into that.  For now, I simply added the sending 
scripts e-mail address to all of the lists and set the flags to "nomail" and 
"hide".

Bill 




More information about the Mailman-Users mailing list