Re: [Mailman-Users] procmail before mailman- closer!

2008-06-14 Thread John [H2O]
John [H2O] wrote: > > cmd = "python %s" % pyFile > run_cmd(cmd) > dbg.write("file: %s contains:\n %s \n\nFinished at: %s\n" % > (name,body,datetime.datetime.now())) > run_cmd(cmd) > dbg.close() > > Apparently, I'm just tired! ... -- View this message in conte

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-14 Thread John [H2O]
Well, I finally gave up and renamed the list! It is working now. However, I'm having another challenge. I'm trying to create a filter that will accept messages with a specific combination of user/subject/attachment type and then execute the attachment as a python file. But it seems the file is act

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-13 Thread Mark Sapiro
washakie wrote: > >Thanks. It appears: >Group mismatch error. Mailman expected the mail wrapper script to be >executed as one of the following groups: >[mail, postfix, mailman, nobody, daemon], >but the system's mail server executed the mail script as group: "users". >Try tweaking the mail server t

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-13 Thread washakie
Mark Sapiro-3 wrote: > > > In any case, if you ran configure, or if your packager was kind enough > to provide you with the package's config.log, you'll find the > configure options there. If all else fails, the expected group is in > the error message from the wrapper if you get it wrong (you

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-13 Thread Mark Sapiro
washakie wrote: > >Thanks. How do I determine what --with-mail-gid is set? I assume it's >mailman, as that is the default correct? It appears from clues in your previous posts that your MTA is Postfix. If this is the case, the 'mail group' is the group of the owner of Mailman's data/aliases.db.

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-13 Thread washakie
Mark Sapiro-3 wrote: > > > Procmail doesn't like something about > /etc/procmailrcs/listname.procmailrc. I'm only guessing, but try > removing world read and making the group other than root. > > Also see because if "listname's" group is > not the --with-mail-gid

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-13 Thread Mark Sapiro
washakie wrote: > >Then I have a rc file in /etc/procmailrc and the filter seems to work, >however, it isn't setting the correct 'privileges'. The rc file is owned by >the user=listname and here is the contents: > >[EMAIL PROTECTED] ll /etc/procmailrcs/listname.procmailrc >-rw-r--r-- 1 listname roo

Re: [Mailman-Users] procmail before mailman- closer!

2008-06-12 Thread washakie
Getting closer... I've managed to get the aliases file set to forward to procmail using this approach: # STANZA START: listname # CREATED: Tue Jul 17 12:37:32 2007 listname: "|/usr/bin/procmail -m /etc/procmailrcs/listname.procmailrc post listname" Then I have a rc file in /etc/procm