Re: [Mailman-Users] Permitted IP Address?

2005-06-07 Thread Bill Landry
- Original Message - 
From: "Jim Tittsler" <[EMAIL PROTECTED]>

> 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 

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


Re: [Mailman-Users] Permitted IP Address?

2005-06-07 Thread Jim Tittsler
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


[Mailman-Users] Permitted IP Address?

2005-06-07 Thread Bill Landry
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?

Bill 

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