[Mailman-Users] Mailman/exim lockfile and uid problems

Eric D Nielsen nielsene at MIT.EDU
Mon Jul 29 01:34:25 CEST 2002


I appear to be having common problems judging from the search results on this
lists archives, but most of the posts received no replies.

I've installed Mailman and exim on a Debian (woody) box using apt-get.
I've read through README.Debian and README.Exim and made the required
changes to my exim.conf and httpd.conf file.  The mailing list administration
pages are all functioning.

I've created a list using newlist and added the entries it listed to 
/etc/aliases.  The email to list administrator arrived properly on remote 
account.  

Mail sent to the list (or -request) is getting lost in exim.
The first time I tried to send a message exim's mainlog showed:
2002-07-28 18:34:50 17Ywck-0000Ub-00 <= nielsene at MIT.EDU H=pacific-carrier-annex
.mit.edu [18.7.21.83] P=esmtp S=1201 id=200207282236.SAA24007 at magic-pi-ball.mit.
edu
2002-07-28 18:34:50 17Ywck-0000Ub-00 Neither the system_aliases director nor the
 address_pipe transport set a uid for local delivery of |/var/lib/mailman/mail/w
rapper mailcmd test

with no entries in rejectlog or paniclog


Later mailings to the list generate:
2002-07-28 19:08:01 Start queue run: pid=2084
2002-07-28 19:08:01 17Ywck-0000Ub-00 Neither the system_aliases director nor the
 address_pipe transport set a uid for local delivery of |/var/lib/mailman/mail/w
rapper mailcmd test
2002-07-28 19:08:01 End queue run: pid=2084
2002-07-28 19:08:01 17Yx8r-0000Xf-00 <= mail at ballroom.mit.edu U=mail P=local S=7
07
2002-07-28 19:08:02 17Yx8r-0000Xf-00 failed to open database lock file /var/spoo
l/exim/db/wait-remote_smtp.lockfile: Permission denied (euid=8 egid=8)
2002-07-28 19:08:02 17Yx8r-0000Xf-00 => nielsene at mit.edu <mail at ballroom.mit.edu>
 R=lookuphost T=remote_smtp H=PACIFIC-CARRIER-ANNEX.mit.edu [18.7.21.83]
2002-07-28 19:08:02 17Yx8r-0000Xf-00 Completed

With the following in paniclog:
2002-07-28 19:08:01 17Ywck-0000Ub-00 Neither the system_aliases director nor the
 address_pipe transport set a uid for local delivery of |/var/lib/mailman/mail/w
rapper mailcmd test

ls -l of /var/spool/exim/db
total 8
-rw-r-----    1 mail     mail         4096 Jul 27 00:53 retry
-rw-r-----    1 mail     mail            0 Jul 27 00:53 retry.lockfile
-rw-r-----    1 root     root         4096 Jul 27 01:05 wait-remote_smtp
-rw-r-----    1 root     root            0 Jul 27 01:05 wait-remote_smtp.lockfile
The wait-remote_* were initially owned by mail and according to exim.org should
stillbe owned by mail.  If I chown them back to mail:mail the first error
message regarding the lockfile disppears on the first message sent, but then
they revert root:root and that error returns.

The lists here and on exim.org mention that the second problem, ("Neither the
system_aslias director ... set a uid...") is caused by missing a 
user = username entry for the _transports.

All the transports have the user = MAILMAN_UID line as directed by the
README.Exim.  MAILMAN_UID has been set to both list (as suggested in 
README.Exim) and to mail as sugested on the exim.org lists.  In all cases, the
same error message result.

The directors portion mentions that order matters, yet the README does not
specifiy where they should go.  I've tried a few positions (beginning, end,
middle) again none work.

What key point have I been missing?

Eric





More information about the Mailman-Users mailing list