[Mailman-Users] (Newbie) Qmail and Mailman

M. Robert Martin rob at 2guyshosting.com
Wed Mar 21 00:24:07 CET 2001


michael,

for right or wrong, i run this as root, and the resulting files end up
owned by root group qmail. the file permissions are 644.

i've always set mailman to have no password, and thus be unable to log in.

does anyone know, are these practices wrong or unsafe?

rob martin

On Tue, 20 Mar 2001, Michael Deck wrote:

> Rob, something's still not right. I assume you're running this as mailman 
> but then what permissions to you have in /var/qmail/alias to allow mailman 
> to write to it? I tried doing it as sudo (giving mailman sudo priv) but 
> then the databases in mailman get created as uid root which screws it up 
> too. A chown -R of everything in /home/mailman made *that* problem go away 
> but now it hangs forever in bin/add_members.
> 
> At 01:11 PM 3/20/01 -0600, M. Robert Martin wrote:
> 
> >Here's the code I use for creating new aliases using qmail and
> >mailman: (Note that I keep mailman in /var/mailman, not /home/mailman, so
> >you should adjust accordingly.)
> >
> ># cat /var/qmail/alias/qmail-newlist
> >#!/bin/sh
> >aliasdir="/var/qmail/alias"
> >if [ $# = 1 ]; then
> >     i=$1
> >     echo Making new mailing list
> >     /var/mailman/bin/newlist $i
> >     echo Making aliases for $i...
> >     echo "|preline /var/mailman/mail/wrapper post $i" >
> >\ /$aliasdir/.qmail-$i
> >     echo "|preline /var/mailman/mail/wrapper mailowner $i" >
> >\ /$aliasdir/.qmail-$i-admin
> >     echo "|preline /var/mailman/mail/wrapper mailowner $i" >
> >\ /$aliasdir/.qmail-$i-owner
> >     echo "|preline /var/mailman/mail/wrapper mailowner $i" >
> >\ /$aliasdir/.qmail-owner-$i
> >     echo "|preline /var/mailman/mail/wrapper mailcmd $i" >
> >\ /$aliasdir/.qmail-$i-request
> >fi
> >
> >hope it helps some,
> >
> >rob martin
> >
> >
> >On Tue, 20 Mar 2001, Michael Deck wrote:
> >
> > > I crave pardon for being a Mailman and Qmail newbie. I have installed 
> > Qmail
> > > on a Mandrake 7.2 system and it seems to work as far as I've tested it. I
> > > installed Mailman and, after wrestling with the usual permissions problem,
> > > check_perms seems OK.
> > >
> > > When I create a new list with newlist, it tells me to create some aliases.
> > > I'm not sure how to do this. More particularly, I'm not sure *where* to
> > > create them. For list 'test3' I've tried creating
> > >
> > > .qmail-test3
> > >
> > > in ~/home/mailman, but then Qmail says there's no such user when I mail to
> > > test3 at cleansoft.net. I also tried creating
> > >
> > > .qmail-test3
> > >
> > > in /var/qmail/alias
> > >
> > > but then Qmail routes all the mail for test3 at cleansoft.net into
> > > /home/mailman/Mailbox.
> > >
> > > This has gotta be a really dumb question but could someone help me out?
> > >
> > > Thanks!
> > >    -Mike
> > >
> > > Michael Deck
> > > Cleanroom Software Engineering, Inc.
> > >
> > >
> > >
> > > ------------------------------------------------------
> > > Mailman-Users maillist  -  Mailman-Users at python.org
> > > http://mail.python.org/mailman/listinfo/mailman-users
> > >
> 
> 
> 





More information about the Mailman-Users mailing list