mailman on ISPConfig 2.2.3 on debian

Discussion in 'Installation/Configuration' started by TheBus, Jan 9, 2008.

  1. TheBus

    TheBus New Member

    Hi all,
    i try to understang how to configure mailman in order to use with ispconfig.

    i upgraded my ispconfig to ISPConfig 2.2.3
    I installed mailman from debian-package with apt-get

    and then?
    i try to set for a site the option mailing list and i enable cgi but i don't understand how to access to mailing list and how configure it

    if i do a list_lists i see only the mailman 1st mailing list

    Anyone can give me some hints?

    Regards
    TheBus
     
  2. jnsc

    jnsc rotaredoM Moderator

    Did you do a fresh install or an update? Did the installer ask you about mailman?
     
  3. TheBus

    TheBus New Member

    i did the upgrade before installing mailman.
    I try now to redo the upgrade (after the installation of mailman) but the installer don't ask to me nothing about mailman.
     
  4. jnsc

    jnsc rotaredoM Moderator

    This is because it's an update and not a fresh install.

    Here it what it does :

    it adds admispconfig to the list group

    edit config.inc.php.tmp
    Code:
    $go_info["server"]["mailman"]["default_mailman_domain"] = "lists.example.com";
    $go_info["server"]["mailman"]["new_list_path"] = "/usr/lib/mailman/bin/newlist";
    $go_info["server"]["mailman"]["config_list_path"] = "/usr/lib/mailman/bin/config_list";
    it adds
    Code:
    ### Mailman Section ###
    ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
    ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
    Alias /images/mailman/ /usr/share/images/mailman/
    ### End of Mailman Section ###
    to the apache configuration

    Add
    Code:
    transport_maps = hash:/etc/postfix/transport
    relay_domains = hash:/etc/postfix/relay-host-names
    mailman_destination_recipient_limit = 1
    
    to /etc/postfix/master.cf

    then do
    Code:
    postmap /etc/postfix/transport
    Code:
    postmap /etc/postfix/relay-host-names

    Add
    Code:
    mailman   unix  -       n       n       -       -       pipe flags=FR user=list argv=/var/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
    
    to /etc/postfix/master.cf

    uncomment
    Code:
    MTA=None
    /etc/mailman/mm_cfg.py

    This are the steps that are done by the installer. I hope it helps and I hope I didn't miss one step.

    Regards
     
  5. TheBus

    TheBus New Member

    i do a clean server install following the debian etch howto

    i installed libxml2-dev and mailman
    After i upacked the tar.gz and then i made the installation following the documentation

    Now i create a site with mailinglist support and i enable all (cgi*,php*,webmail,mailing list)
    I create a mailing list for the site but:

    if from console i write list_lists i don't see any list:

    ispconfig:~# list_lists
    No matching mailing lists found

    if i try to access to http://www.site.com/cgi-bin/mailman/
    i receive the error 404 (idem if i try to access to http://www.site.com/cgi-bin/mailman/listinfo)

    Ho i can usage it?
     
  6. jnsc

    jnsc rotaredoM Moderator

    Did you set the field "Mailman Domain:" in Management -> Settings -> EMail ?
     
  7. twall411

    twall411 New Member

    you say edit config.inc.php.tmp

    is that the one in the install_ispconfig directory? Do I then run ./setup or does that file end up in /root/ispconfig or some where else where I can edit it.
     
  8. jnsc

    jnsc rotaredoM Moderator

Share This Page