[lug] Mailman and Qmail

Michael Deck deckm at cleansoft.com
Mon Mar 19 14:31:09 MST 2001

I seem to finally have Qmail running but now I'd like to set up mailman to 
run a couple of lists. I'm not having success. Although the mailman home 
page seems to deprecate the use of sendmail, it also doesn't provide much 
help for qmail.

Since I'm a newbie Qmail user, I've been trying to figure out where to put 
the alias files that mailman tells me I need to create.

Running mailman's newlist script, it tells me to create the following aliases:

## test2 mailing list
## created: 19-Mar-2001 mailman
test2:                   "|/home/mailman/mail/wrapper post test2"
test2-admin:             "|/home/mailman/mail/wrapper mailowner test2"
test2-request:           "|/home/mailman/mail/wrapper mailcmd test2"
test2-owner:             test2-admin

I tried creating .qmail-test2 etc. in /home/mailman but that seemed to have 
no effect. Then I thought of creating them in /var/qmail/aliases and at 
least something is happening: when I email to test2 at cleansoft.net, I see

[root at themule alias]# tail -f /var/log/qmail/qmail-send/current
@400000003ab67d71178a2d2c new msg 112255
@400000003ab67d71178a4884 info msg 112255: bytes 236 from 
<root at mail.cleansoft.net> qp 28341 uid 0
@400000003ab67d7117bc7ffc starting delivery 12: msg 112255 to local 
test2 at cleansoft.net
@400000003ab67d7117bc8f9c status: local 1/10 remote 0/20
@400000003ab67d711872339c delivery 12: deferral: 
@400000003ab67d71187256c4 status: local 0/10 remote 0/20

Now, what I created in /var/qmail/alias was:

-rw-r--r--    1 root     qmail          39 Mar 19 14:41 .qmail-test2
-rw-r--r--    1 root     qmail          44 Mar 19 14:42 .qmail-test2-admin
-rw-r--r--    1 root     qmail          12 Mar 19 14:42 .qmail-test2-owner
-rw-r--r--    1 root     qmail          44 Mar 19 14:42 .qmail-test2-request

and for example .qmail-test2 contains

|/home/mailman/mail/wrapper post test2

If I look at /home/mailman/mail, I see

-rwxr-sr-x    1 mailman  mailman     31012 Mar 16 12:57 wrapper*

Undoubtedly I have some permissions wrong somewhere but I'm not sure where 
to look. Group 12 is 'mail', group 509 is 'nofiles'. Another very likely 
possibility is I've messed up the alias files.

Any thoughts on how to go about fixing this?


Michael Deck
Cleanroom Software Engineering, Inc.   

More information about the LUG mailing list