Approving messages from those not on accept list
I've just moved over from Majordomo, where if I wanted to forward a message from a non-member of a closed (subscriber-only posting) list to that list, even if the list was NOT set up as moderated, I could use the "approved:" formulation to do so. Is there any way to do this in Smartlist? I've been through the FAQs & list archive and can't find a simple straight answer. More details: So I have a list that's closed - accept is linked to dist, and there's an accept2 for a few alternate addresses of list members, and all is well and good. It's a forum for club-member discussion, and pretty much all of what comes from other sources, if not spam, is more properly routed by the list maintainer (using a simple redirect) to a specific club director. However, every once and a while, someone asks a question (usually "where should I take scuba lessons?") that I would like to forward on to the list, but keeping the original sender as "from" (i.e. use redirect to send it to the list again). I guess I could add the sender to accept2, redirect the message back to the list, then restore accept2. But that's a real pain. What I want to do is add the "Approved: [password]" line like I did in Majordomo. But Smartlist (unlike Majordomo) only seems to have provision for this when the list is set up as moderated. Am I missing something? Anne
In article <3B182619.C2DB5F1@alum.mit.edu>, Anne Judge <anne.judge@alum.mit.edu> writes:
I've just moved over from Majordomo, where if I wanted to forward a message from a non-member of a closed (subscriber-only posting) list to that list, even if the list was NOT set up as moderated, I could use the "approved:" formulation to do so.
Is there any way to do this in Smartlist?
If you "bounce" or "redirect" or "forward" the submission back to the mailing list (sorry, everyone's mailer uses different terminology), and your e-mail address is in the accept2 file, SmartList ought to accept your resubmission. Your mailer will almost certainly put your e-mail address somewhere in the forwarded message where SmartList will look for it (e.g. the envelope address, the "Sender" header, the "Resent-From" header). This is actually how we handle moderated lists here. I was never able to get "Approved" headers to work with both regular and digest lists to my satisfaction.
"Anne" == Anne Judge <anne.judge@alum.mit.edu> writes:
Anne> What I want to do is add the "Approved: [password]" Anne> line like I did in Majordomo. But Smartlist (unlike Anne> Majordomo) only seems to have provision for this when Anne> the list is set up as moderated. Judging from the rc.submit file, you are right: SmartList only checks the Approved: header if $moderated_flag is set to yes. (I haven't got the latest version of SmartList, so this might have changed.) The following should probably be called a hack (o, and I did not test it; but it is copied from rc.submit, except for the part between the braces): Create a rc.local.s00 file like this: :0 Bhfw # contract header and body * ^^Approved:.*$^ | formail -X "" :0 * $^Approved:.*$moderator_PASSWORD { moderated_flag=yes foreign_submit=yes } This convinces SmartList to handle this specific mail as if the list were both open and moderated (including removal of the Approved: header, so that your password will not go to the list). To activate it, go to rc.custom, and: - set moderator_PASSWORD to your password - remove the comment sign at the beginning of the line #RC_LOCAL_SUBMIT_00 = rc.local.s00 # ... Maybe there is some better solution. Hans-Albert -- Hans-Albert Schneider <Hans-Albert.Schneider@mchp.siemens.de> Siemens AG phone: (+49) 89 636 45445 Corporate Technology fax: (+49) 89 636 42284 Munich, Germany -- To get my public PGP key, send me a mail with subject "send key" --
participants (3)
-
Anne Judge
-
Hans-Albert Schneider
-
Tim Pierce