![](https://secure.gravatar.com/avatar/acbe0c969dbe0995a7b0a206201d757c.jpg?s=120&d=mm&r=g)
Would someone mind pointing me to a site where they've incorporated this engine into their mailman archives? I'd like to see the interface and operation before I try to set it up.
![](https://secure.gravatar.com/avatar/3af68dc455621fa2c0a5769cf1fb8552.jpg?s=120&d=mm&r=g)
All,
I was trying to change the default admin message sent to people who were trying to post to the list, who the list didn't think were subscribed. A _LOT_ of people these days are subscribing with one address, then trying to post from another. They get real bent when the only message (from a lazy admin) they get when they try to post from the wrong address is:
Non-members are not allowed to post messages to this list.
I wanted to change the default to:
Non-members are not allowed to post messages to this list. If you are already a member, PLEASE remember to post from your subscribed address.
To do so, I modified /usr/local/mailman/Mailman/Handlers/Hold.py then did
$ python
import py_compile py_compile.compile('Hold.py')
Now nothing gets held for approval... That I can tell. I tried copying back a same version Hold.pyc from another machine and it still doesn't work.
Any helpful ideas please?
-- Walt Dabell - 302-831-1499 - walt@udel.edu Physics & Astronomy - University of Delaware
![](https://secure.gravatar.com/avatar/e6ea3e5ffc3558c74e9f8cbf3f38357a.jpg?s=120&d=mm&r=g)
At 1:11 PM -0400 2006-08-01, Walt Dabell wrote:
You don't need to re-compile it. Python will reload and recompile on the fly, as necessary. You might want to stop and restart Mailman, however.
Any helpful ideas please?
Have you seen anything in the logs? Maybe your edit messed up something else, and it's not obvious to you what happened?
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
Founding Individual Sponsor of LOPSA. See <http://www.lopsa.org/>.
![](https://secure.gravatar.com/avatar/3af68dc455621fa2c0a5769cf1fb8552.jpg?s=120&d=mm&r=g)
On Tue, 2006-08-01 at 13:30 -0500, Brad Knowles wrote:
Ah HA! I thought it was easier that the way I was doing it...
Nothing in the logs...
I tried your suggestion, modifying the text in Hold.py and restarting Mailman. Still no messages making it to the "Tend to pending moderator requests"
I even changed it back and the moderator requests still aren't working. Sure saves a lot of work, but I'm wondering what's happening to the non-accepted email...
-- Walt Dabell - 302-831-1499 - walt@udel.edu Physics & Astronomy - University of Delaware
![](https://secure.gravatar.com/avatar/3af68dc455621fa2c0a5769cf1fb8552.jpg?s=120&d=mm&r=g)
On Tue, 2006-08-01 at 15:18 -0400, Walt Dabell wrote:
Problem solved. One of the other admins got tired of answering all of the hold-for-admin messages and clicked the
"Action to take for postings from non-members for which no explicit action is defined." to "reject"...
ARG!!!
Makes things difficult to debug when you have that kind of help.
BTW, The edited Hold.py works fine now. Thanks for your help!
Walt Dabell - 302-831-1499 - walt@udel.edu Physics & Astronomy - University of Delaware
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Walt Dabell wrote:
If your Mailman is 2.1.6 or later, you do this with nonmember_rejection_notice in the admin/privacy GUI.
As Brad pointed out, you don't need to recompile. Python does this as needed, but you do need to do
bin/mailmanctl restart
after any mm_cfg.py or Handler module changes (and other changes that affect the queue runners) too.
Now, you may have a modified Hold.py that's newer than Hold.pyc, so Python will ignore the Hold.pyc and recompile Hold.py so the thing to do is restore the original Mailman/Handlers/Hold.py, remove Mailman/Handlers/Hold.pyc and then do the restart as above.
If this doesn't restore things to the way they were, you'll need to look at other things that might have changed.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/1ab1e65541657d08406cab6499db151d.jpg?s=120&d=mm&r=g)
Hi Walt!!
<<...A _LOT_ of people these days are subscribing with one address, then trying to post from another. They get real bent when the only message...>>
I've HAD the same prob on a couple of my Lists. I don't have shell access, SO I modified the "welcome" messages Can't quote as quite adult<G>) starting with:
KEEP THESE INSTRUCTIONS because I will NOT answer your dumb questions of how to un-sub or re-sub!! And if you wish to use 2 or more address inorder to send mail to the List, SUBSCRIBE them.
Seems to have been working OK for several months now<VBG>!!!
Regards.........
Ed Webmaster & Owner www.justbrits.com
![](https://secure.gravatar.com/avatar/3af68dc455621fa2c0a5769cf1fb8552.jpg?s=120&d=mm&r=g)
All,
I was trying to change the default admin message sent to people who were trying to post to the list, who the list didn't think were subscribed. A _LOT_ of people these days are subscribing with one address, then trying to post from another. They get real bent when the only message (from a lazy admin) they get when they try to post from the wrong address is:
Non-members are not allowed to post messages to this list.
I wanted to change the default to:
Non-members are not allowed to post messages to this list. If you are already a member, PLEASE remember to post from your subscribed address.
To do so, I modified /usr/local/mailman/Mailman/Handlers/Hold.py then did
$ python
import py_compile py_compile.compile('Hold.py')
Now nothing gets held for approval... That I can tell. I tried copying back a same version Hold.pyc from another machine and it still doesn't work.
Any helpful ideas please?
-- Walt Dabell - 302-831-1499 - walt@udel.edu Physics & Astronomy - University of Delaware
![](https://secure.gravatar.com/avatar/e6ea3e5ffc3558c74e9f8cbf3f38357a.jpg?s=120&d=mm&r=g)
At 1:11 PM -0400 2006-08-01, Walt Dabell wrote:
You don't need to re-compile it. Python will reload and recompile on the fly, as necessary. You might want to stop and restart Mailman, however.
Any helpful ideas please?
Have you seen anything in the logs? Maybe your edit messed up something else, and it's not obvious to you what happened?
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
Founding Individual Sponsor of LOPSA. See <http://www.lopsa.org/>.
![](https://secure.gravatar.com/avatar/3af68dc455621fa2c0a5769cf1fb8552.jpg?s=120&d=mm&r=g)
On Tue, 2006-08-01 at 13:30 -0500, Brad Knowles wrote:
Ah HA! I thought it was easier that the way I was doing it...
Nothing in the logs...
I tried your suggestion, modifying the text in Hold.py and restarting Mailman. Still no messages making it to the "Tend to pending moderator requests"
I even changed it back and the moderator requests still aren't working. Sure saves a lot of work, but I'm wondering what's happening to the non-accepted email...
-- Walt Dabell - 302-831-1499 - walt@udel.edu Physics & Astronomy - University of Delaware
![](https://secure.gravatar.com/avatar/3af68dc455621fa2c0a5769cf1fb8552.jpg?s=120&d=mm&r=g)
On Tue, 2006-08-01 at 15:18 -0400, Walt Dabell wrote:
Problem solved. One of the other admins got tired of answering all of the hold-for-admin messages and clicked the
"Action to take for postings from non-members for which no explicit action is defined." to "reject"...
ARG!!!
Makes things difficult to debug when you have that kind of help.
BTW, The edited Hold.py works fine now. Thanks for your help!
Walt Dabell - 302-831-1499 - walt@udel.edu Physics & Astronomy - University of Delaware
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Walt Dabell wrote:
If your Mailman is 2.1.6 or later, you do this with nonmember_rejection_notice in the admin/privacy GUI.
As Brad pointed out, you don't need to recompile. Python does this as needed, but you do need to do
bin/mailmanctl restart
after any mm_cfg.py or Handler module changes (and other changes that affect the queue runners) too.
Now, you may have a modified Hold.py that's newer than Hold.pyc, so Python will ignore the Hold.pyc and recompile Hold.py so the thing to do is restore the original Mailman/Handlers/Hold.py, remove Mailman/Handlers/Hold.pyc and then do the restart as above.
If this doesn't restore things to the way they were, you'll need to look at other things that might have changed.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/1ab1e65541657d08406cab6499db151d.jpg?s=120&d=mm&r=g)
Hi Walt!!
<<...A _LOT_ of people these days are subscribing with one address, then trying to post from another. They get real bent when the only message...>>
I've HAD the same prob on a couple of my Lists. I don't have shell access, SO I modified the "welcome" messages Can't quote as quite adult<G>) starting with:
KEEP THESE INSTRUCTIONS because I will NOT answer your dumb questions of how to un-sub or re-sub!! And if you wish to use 2 or more address inorder to send mail to the List, SUBSCRIBE them.
Seems to have been working OK for several months now<VBG>!!!
Regards.........
Ed Webmaster & Owner www.justbrits.com
participants (5)
-
Brad Knowles
-
Dewhirst, Rob
-
JB@comcast
-
Mark Sapiro
-
Walt Dabell