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.)


-- 
Jim Tittsler     http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC      irc://irc.freenode.net/#mailman
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to