Subject: mailman vs. postfix
To: None <,>
From: Steve Bellovin <>
List: netbsd-users
Date: 09/08/2004 22:51:24
Is anyone *successfully* running mailman (from pkgsrc) with postfix on 
2.0beta?  I'm getting O(\aleph_null) messages like this:

Date: Wed, 08 Sep 2004 22:36:07 -0400

1.		(text/plain)
As list administrator, your authorization is requested for the
following mailing list posting:

    Subject: Cron <mailman@machshav> /usr/pkg/bin/python2.3 -S /usr/pkg/lib/mailman/cron/gate_news
    Reason:  Post by non-member to a members-only list

At your convenience, visit:
to approve or deny the request.

2.	Cron <mailman@machshav> /usr/pkg/bin/python2.3 -S
	/usr/pkg/lib/mailman/cron/gate_news	(message/rfc822)
Subject: Cron <mailman@machshav> /usr/pkg/bin/python2.3 -S
From: (Cron Daemon)
Date: Wed,  8 Sep 2004 05:35:01 +0000 (UTC)

Traceback (most recent call last):
  File "/usr/pkg/lib/mailman/cron/gate_news", line 284, in ?
  File "/usr/pkg/lib/mailman/cron/gate_news", line 264, in main
  File "/usr/pkg/lib/mailman/cron/gate_news", line 199, in process_lists
    mlist = MailList.MailList(listname, lock=0)
  File "/usr/pkg/lib/mailman/Mailman/", line 128, in __init__
  File "/usr/pkg/lib/mailman/Mailman/", line 594, in Load
    dict, e = self.__load(file)
  File "/usr/pkg/lib/mailman/Mailman/", line 560, in __load
    fp = open(dbfile)
IOError: [Errno 13] Permission denied: '/var/db/mailman/lists/sbsm/config.pck'

3.	confirm eb695289794e236a24294a06651eaa72709dd5ca	(message/rfc822)
Subject: confirm eb695289794e236a24294a06651eaa72709dd5ca

If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

The question is this: what should the permissions and ownership on that 
file be?  (More precisely, on /var/db/mailman/lists/*/config.pck* )  
What should be setuid, to what?  I've run 'checkperm -f'; that hasn't 

I had some permission issues when I first installed mailman on that 
machine; over the weekend, I upgraded from 1.6.2 to 2.0 beta, and 
recompiled many packages to get rid of pkgsrc/pth.  That's when the 
problem started.  Any advice *gratefully* appreciated.

		--Steve Bellovin,