[Mailman-Users] mailman 2.1 + qmail + vpopmail = alias tremendous problems

df at dune.org df at dune.org
Sun Feb 2 05:23:10 CET 2003


Hello

As a lot of qmail+vpopmail+mailman users, I get the famous 

"Sorry,_no_mailbox_here_by_that_name._(#5.1.1)" error message.
I have gathered here the 3 alias creation methods i found reading the archives, 

in the hope one of a goodwill soul to help.

Here is my setup:
FreeBSD 4.7_Stable - sources and ports from 02.02.2003
Mailman 2.1 (from port tree)
Qmail (from port tree)
Vpopmail (from port tree)
Qmailadmin (from port tree)

I did read and follow mailman/docs/README.QMAIL

i also made the setup of a virtual "mm.domain.com" for mailman's use.

list creation / web access / email notifications (on subscribe, list creation) all 

those work perfectly.

During my browsing i found at least 3 different ways to setup those:

1) according you previously edited ~mailman/Mailman/mm_cfg.py with 
> MTA_ALIASES_STYLE = 'qmail' 
mailman should give the correct syntax to create qmail kind of alias files; just 

copy paste (watch out to paths), that's it.

2) using qmail-to-mailman.py
by editing the /usr/local/vpopmail/domain.com/.qmail-default file
- by the way is it:
> |preline /usr/local/bin/python /usr/local/mailman/qmail-to-mailman.py
or > | preline /usr/local/bin/python /usr/local/mailman/qmail-to-mailman.py
or > |/var/qmail/bin/preline /usr/local/bin/python 

/usr/local/mailman/qmail-to-mailman.py
or > | /var/qmail/bin/preline /usr/local/bin/python 

/usr/local/mailman/qmail-to-mailman.py
or > |/usr/local/bin/python /usr/local/mailman/qmail-to-mailman.py
that should be used ?!-
Also regarding qmail-to-mailman.py file, some people suggested to replace 

"mailman-" by "mydomain.com-".. due to some
ways vpopmail handles the emails adresses .. or so..
Either way it doesn't work.

3) there is a small script supplyed at the end of the README.QMAIL 
i did a little adjustments for mailman 2.1 (i hope i did no mistakes.. and again i 

assume the |preline 
or |/var/qmail/bin/preline isn't an issue here...):

-------- start cut ---------
#!/bin/sh
if [ $# = 1 ]; then
    i=$1
    echo Making links to $i...
    echo "|preline /usr/local/mailman/mail/mailman post $i" > .qmail-$i
    echo "|preline /usr/local/mailman/mail/mailman admin $i" > .qmail-$i-admin
    echo "|preline /usr/local/mailman/mail/mailman bounces $i" > 

.qmail-$i-bounces
    echo "|preline /usr/local/mailman/mail/mailman confirm $i" > .qmail-$i-confirm
    echo "|preline /usr/local/mailman/mail/mailman join $i" > .qmail-$i-join
    echo "|preline /usr/local/mailman/mail/mailman leave $i" > .qmail-$i-leave
    echo "|preline /usr/local/mailman/mail/mailman owner $i" > .qmail-$i-owner
    echo "|preline /usr/local/mailman/mail/mailman request $i" > .qmail-$i-request
    echo "|preline /usr/local/mailman/mail/mailman subscribe $i" > 

.qmail-$i-subscribe
    echo "|preline /usr/local/mailman/mail/mailman unsubscribe $i" > 

.qmail-$i-unsubscribe
fi
-------- end of cut -------
I assume this script should be run in /usr/local/vpopmail/domains/domain.com/ 

in order
to have the proper alias files created for the right virtual domain.. 


Final note:
the best i could get from qmail-to-mailman.py was an error message in 

/var/log/maillog:
Feb  2 05:07:16 freaks qmail: 1044158836.094343 delivery 27: failure: 

TO_ACCESS_THE_MAILING_LIST_SYSTEM:_Start_your_web_browser_on

/http://domain.com//That_web_page_will_help_you_subscribe_or_unsubscri

be,_and_will/give_you_directions_on_how_to_post_to_each_mailing_list./
That message was bounced 3x times.

If you need more infos to troubleshoot my config, please tell me witch, and i'll 

provide them.

ps: please forgive my sloppy syntax and spelling, english is not my main 

language :/

Feel free to contact me anytime.

Regards.
df at dune.org


More information about the Mailman-Users mailing list