Thanks to both. But I'm afraid that this advice does not help, and I
am giving up.

I suspect that what I am trying to do is impossible. And I also think
I was going about it wrong. I was trying to use /etc/aliases to get
the mail to go to procmail, with lines like this:

Method 1
jdm-society: "|/usr/bin/procmail -m /etc/procmailrc"

or

Method 2
jdm-society-owner: "|/usr/lib/mailman/mail/mailman owner jdm-society"

And then /etc/procmail had lines like this:

:0
* To:.*jdm-society-ow...@sjdm.org
| /etc/smrsh/mailman owner jdm-society

and /etc/smrsh has a soft links to /usr/bin/procmail and to
../../usr/lib/mailman/mail/mailm

(I don't know why the ../../ is there.)

Method 2 is what yielded the group mismatch.

Method 1 just said user not found.

I still have no idea where "baron" is coming from. I thought if I
could figure that out it would lead to a solution. procmail is not
"running". It is not listed in any version of "ps". It is evoked by
sendmail or by /etc/aliases.db. sendmail and aliases.db are both owned
by root and smmsp. I tried to change the owner of aliases.db to mail
rather than root, but it got changed back when I ran newaliases.

So I am giving up. We will just deal with the spam by hand. The list
is moderated, so none of it actually gets posted, and we discourage
some of it with a small captcha. (The really fancy ones are
impossible. I can't do them myself.)

I did read the link below, but I had not gotten up to trying to modify
the code. It seems to be written mainly for some other system than
what I have. (I'm using the last available Fedora RPM. I don't think
they are going to update Mailman 2, or fix the bug. I do not have time
to compile from source, since it is a major change - everything is in
a different place. And I won't change to Mailman 3 because, so far as
I can tell, we would not want any of its features and configuration
would also take a lot of time. I will leave all this to my
successor. Right now, everything works except the spam.)

https://wiki.list.org/DOC/4.23%20How%20do%20I%20use%20SpamAssassin%20with%20Mailman%3F

Thanks for trying.

Jon

On 05/16/22 00:45, Bruce  Johnson wrote:
> Are any of the processes being run by that user? like cron jobs?
> 
> Look throughthe mailman logs or other logs (it’s been a very long time; I 
> cannot remember if procmail and spamassasin have their own logs or they get 
> dumped into /var/log/messages (for RH-style systems; I forget what the 
> general syslog file is called in Debian style)


Answers: No. No. Nothing in the logs (several of them.)

>
> 
> > On May 15, 2022, at 4:35 PM, Jon Baron <jonathanbar...@gmail.com> wrote:
> > 
> > I'm sure this is a very dumb question, because I have seen several
> > posts about it, all of which imply that there is some simple solution.
> > 
> > I am trying to use spamassassin by running everything through
> > /etc/procmail, and I get the following in /var/log/procmail:
> > 
> > "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: "baron".
> > Try tweaking the mail server to run the script as one of these groups:
> > [mail, postfix, mailman, nobody, daemon],"
> > 
> > The dumb question is: "What is the 'mail server'?" I thought it was
> > sendmail, but I have no idea where "baron" comes from. baron is just a
> > user on the system. The various IDs for mailman are set to sjdm.org in
> > the configuration file. I installed it as "root" from a Fedora RPM,
> > and the name "baron" had no part of that. So far as I can tell,
> > NOTHING in this system is owned by "baron" except my own account
> > (which is, however, included in several groups).
> > 
> > Jon
> > -- 
> > Jonathan Baron, Professor of Psychology, University of Pennsylvania
> > Home page: https://www.sas.upenn.edu/~baron
> > ------------------------------------------------------
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: https://www.sas.upenn.edu/~baron
Founding Editor: Judgment and Decision Making (http://journal.sjdm.org)
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to