Stuck with mailman

Discussion in 'Installation/Configuration' started by dtemes, Jul 25, 2007.

  1. dtemes

    dtemes New Member

    I am trying to get mailman working but I am stuck with the postfix/mailman integration.

    This is what i have done so far:

    mailman install:

    - download, configure and compile mailman (in /home/mailman in my case). For that i followed instructions in

    - after that i added the following entries to my main vhost config:

    ScriptAlias /mailman/       /home/mailman/cgi-bin/
    Alias   /pipermail/     /home/mailman/archives/public/
    - in mm_py.cfg i added:

    - and in the postfix config file

    virtual_maps = hash:/etc/postfix/virtusertable,hash:/home/mailman/data/virtual-mailman

    I had to manually create the virtual-mailman file (empty) and run postmat to get the .db created in order to avoid postfix complaining.

    The web interface to mailman works and i am able to create lists, but no entries are created in /home/mailman/data/virtual-mailman and if i run rmlist a message indicates that the list has been removed and i have to manually delete entries in /etc/aliases

    Any help will be appreciated

  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your logs?
  3. dtemes

    dtemes New Member

    No, just alias are not being created so sending email to the list results in "Recipient address rejected: User unknown in local recipient table"

    Well actually aliases are created in $installdir/data/aliases, along with the corresponding aliases.db, tried configuring postfix to point to this alias file, but nothing happened.
  4. falko

    falko Super Moderator ISPConfig Developer

    How did you configure Postfix?
  5. jnsc

    jnsc rotaredoM Moderator

    This is the quick and dirty way I did it on Debian

    apt-get update
    apt-get install mailman
    -> Y
    -> OK
    -> en OK
    -> OK
    newlist Mailman
    postconf -e 'relay_domains ='
    postconf -e 'transport_maps = hash:/etc/postfix/transport'
    postconf -e 'mailman_destination_recipient_limit = 1'
    vi /etc/postfix/
    mailman   unix  -       n       n       -       -       pipe flags=FR user=list argv=/var/lib/mailman/bin/ ${nexthop} ${user}
    echo "   mailman:" > /etc/postfix/transport
    postmap /etc/postfix/transport
    vi /etc/mailman/
    # Uncomment this if you configured your MTA such that it
    # automatically recognizes newly created lists.
    # (see /usr/share/doc/mailman/README.{EXIM,...})
    MTA=None   # Misnomer, suppresses alias output on newlist
    # Uncomment if you use Postfix virtual domains, but be sure to
    # read /usr/share/doc/mailman/README.POSTFIX first.
  6. tebokkel

    tebokkel New Member

    What's the output (= configured or effective setting) of "postconf alias_maps" ?
    Are your aliases in /etc/aliases (and did you run newaliases)?

  7. dtemes

    dtemes New Member

    good info, thanks, I will try jnsc way step by step instructions, as I also have read something similar in other forums and web pages.

    I installed the system following instructions in "the perfect debian setup", an so regarding the psotfix part i just did an apt-get install postfix, while I installed mailman from source.

    Next monday will give it a try and post the results.

Share This Page