Mailman is Open Source so you should be able to modify the news to mail 
gateway and change the sender so that it is always <listname>-admin.

Yes, yes, yes.  You believe it is beyond your abilities or it will take a 
monstrous amount of work on your part, alas, but you are wrong.  Take a look 
at the code.  It's very easy to read and edit.

Find the program/script that Mailman uses for the News-to-Mail gateway by 
looking at the Cron entries for the Mailman user.  They are well documented, 
and should identify the script for you.

  ~mailman/cron/gate_news

Now that you know the name of the script and its location, you can back up 
the script and then edit it.  As a first try you might add the following line 
right before the comment: # Post the message to the locked list,

  msg['From'] = "<listname>[EMAIL PROTECTED]"

I've no idea what the msg function is but... Python is increadably logical.

Good luck,
Jon Carnes

On Friday 22 February 2002 06:08 pm, [EMAIL PROTECTED] wrote:
> I am curios how to stop a news group poster from getting spammed
> by my list server.  When he writes the news group that is connected
> to my list server via "Mail-to-News and News-to-Mail gateway
> services."
>
> Does that make sense?
>
> In the case a list member of the suspect group is not reachable.
> Can I change the "return-path" of newsgroup postings?  So the
> poster on the news group does not get un-wanted undeliverable
> mail from my list server.
>
> Thanks in advance for any help!
>
> Regards
> MikeT
>
>
>
>
> ------------------------------------------------------
> Mailman-Users maillist  -  [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users

------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to