[Mailman-Users] (Newbie) Qmail and Mailman

M. Robert Martin rob at 2guyshosting.com
Tue Mar 20 20:11:25 CET 2001

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 
if [ $# = 1 ]; then
    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

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