Re: [Mailman-Users] spamassassin sendmail virtualusers and mail lists

Hi there Shane and Mailman list users.
this is a great idea indeed but the last part of the delivery to mailman aint working and trying to figure out a work around to keep the gid set to mailnull.
I am getting the error "Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailnull", but the system's mail server executed the mail script as group "wheel". Try tweaking the mail server to run the script as group "mailnull", or re-run configure, providing the command line option `--with-mail-gid=wheel'."
any clues how I can get my specific procmailrc file to run the mailman mail-wrapper with the group mailnull. Is there something funky I can do to my /etc/groups ? Maybe I could recompile my program with the mailman wrapper with two mailman gids?
Why does the entry:
friends-owner: "|/usr/local/mailman/mail/mailman owner friends"
in my /etc/mail/aliases.mailman work fine without a group error message in /var/log/maillog? weird?
Here is the script that calls the mailman mail-wrapper proggie:
--- snip ----
# cat /usr/local/etc/procmailrcs/friends-owner.rc #procmail recipe for getting rid of high-scoring mail-list spam
:0fw * |/usr/local/bin/spamc -f
:0e { EXITCODE=$? }
:0:
- ^X-Spam-Level:.*\*\*\*\*\*\* /usr/local/mailman/mail/spam-mail
:0 * |/usr/local/mailman/mail/mailman owner friends
---- snip ----
Here are my mailman compilation settings in /etc/make.conf
--- snip ----
MM_USERNAME=mailman MM_USERID=89 MM_GROUPNAME=mailman MM_GROUPID=89 CGI_GID=www MAIL_GID=mailnull
---- snip ----
Cheers,
Noah
Shane Williams wrote:

On 1/26/08, Noah wrote:
any clues how I can get my specific procmailrc file to run the mailman mail-wrapper with the group mailnull.
That sounds like a procmail question you should ask on their mailing lists. We don't do procmail -- we do Mailman.
Is there something funky I can do
to my /etc/groups ?
Nope.
Maybe I could recompile my program with the mailman
wrapper with two mailman gids?
Not possible. A person can be listed in multiple groups (and switch between which group is considered the "active one"), but each file can have one and only one group id.
The long and short of it is that spam tagging filtering should be done in the MTA (not procmail), before the message gets delivered to Mailman. Once Mailman receives the message, you can use the internal features to do further anti-spam processing based on tags that were placed on the message within the MTA.
Note that procmail should never be part of that pipeline.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>

On 1/26/08, Noah wrote:
any clues how I can get my specific procmailrc file to run the mailman mail-wrapper with the group mailnull.
That sounds like a procmail question you should ask on their mailing lists. We don't do procmail -- we do Mailman.
Is there something funky I can do
to my /etc/groups ?
Nope.
Maybe I could recompile my program with the mailman
wrapper with two mailman gids?
Not possible. A person can be listed in multiple groups (and switch between which group is considered the "active one"), but each file can have one and only one group id.
The long and short of it is that spam tagging filtering should be done in the MTA (not procmail), before the message gets delivered to Mailman. Once Mailman receives the message, you can use the internal features to do further anti-spam processing based on tags that were placed on the message within the MTA.
Note that procmail should never be part of that pipeline.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
participants (2)
-
Brad Knowles
-
Noah