mailing list ispconfig 3.0.4.3 debian6

Discussion in 'Installation/Configuration' started by patbonf, Mar 1, 2012.

  1. patbonf

    patbonf New Member

    Hello,

    I have a problem with mailing list on my server, i create a mailing list but i don't know how use it.
    I have create it like in manual, but i don't receive any email.
    here parameter of my mailing list:
    Client: client1
    Domain: domain.com
    Listname: liste001
    Email: [email protected]
    Password: ********

    In manual it's write :"list administrator will receive an email with all important details..."
    But witch email is it? where i can configure it.
    The 2 link in manual:http://example.com/cgi-bin/mailman/admin/testlist and http://example.com/cgi-bin/mailman/listinfo/testlist don't work.

    Can you help me?

    Thank's
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The list you created is named "liste001" and not "testlist" as the example links in the manual and your server is not named example.com. Replace testlist with liste001 and example.com with the hostname of your server in the links.
     
  3. patbonf

    patbonf New Member

    Sorry, I haven't modify links in my post but I have do that with with my parameters, but it's don't work.

    The mail i must receive by creating mailing is witch one: the email I enter in mailing list or another?

    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats the email address that you enter into the email field when you create a list. Are you sure that you installed and configured mailman properly before you installed ispconfig and that you started mailman?
     
  5. patbonf

    patbonf New Member

    Its pre-configured distribution, i will check that an post an answers when done.

    Thanks you for help, and for ispconfig.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The installation steps for mailman are:


    Since version 3.0.4, ISPConfig also allows you to manage (create/modify/delete) Mailman mailing lists. If you want to make use of this feature, install Mailman as follows:

    apt-get install mailman

    Before we can start Mailman, a first mailing list called mailman must be created:

    newlist mailman

    root@server1:~# newlist mailman
    Enter the email of the person running the list: <-- admin email address, e.g. [email protected]
    Initial mailman password: <-- admin password for the mailman list
    To finish creating your mailing list, you must edit your /etc/aliases (or
    equivalent) file by adding the following lines, and possibly running the
    `newaliases' program:

    ## mailman mailing list
    mailman: "|/var/lib/mailman/mail/mailman post mailman"
    mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
    mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
    mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
    mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
    mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
    mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
    mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
    mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
    mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"

    Hit enter to notify mailman owner... <-- ENTER

    root@server1:~#

    Open /etc/aliases afterwards...

    vi /etc/aliases

    ... and add the following lines:

    [...]
    mailman: "|/var/lib/mailman/mail/mailman post mailman"
    mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
    mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
    mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
    mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
    mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
    mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
    mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
    mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
    mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"
    Run

    newaliases

    afterwards and restart Postfix:

    /etc/init.d/postfix restart

    Then start the Mailman daemon:

    /etc/init.d/mailman start

    -----------------------

    afterwards download the ispconfig tar.gz and run the update script and choose to reconfigure services during update:

    cd /tmp
    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    tar xvfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install
    php -q update.php
     
  7. grungy

    grungy Member

    Till, do we have to configure mailman from shell or does ISPConfig 3 do that for us?


    This is what I get when I install and try to run mailman:

    # newlist mailman
    Enter the email of the person running the list: my@email
    Initial mailman password:
    /etc/mailman/virtual_to_transport.sh: 39: This is the module which takes your site-specific settings.

    From a raw distribution it should be copied to mm_cfg.py. If you
    already have an mm_cfg.py, be careful to add in only the new settings
    you want. The complete set of distributed defaults, with annotation,
    are in ./Defaults. In mm_cfg, override only those you want to
    change, after the

    from Defaults import *

    line (see below).

    Note that these are just default settings - many can be overridden via the
    admin and user interfaces on a per-list or per-user basis.

    Note also that some of the settings are resolved against the active list
    setting by using the value as a format string against the
    list-instance-object's dictionary - see the distributed value of
    DEFAULT_MSG_FOOTER for an example.: File name too long
    from: can't read /var/mail/Defaults
    /etc/mailman/virtual_to_transport.sh: 55: MAILMAN_SITE_LIST: not found
    /etc/mailman/virtual_to_transport.sh: 60: DEFAULT_URL_PATTERN: not found
    /etc/mailman/virtual_to_transport.sh: 61: PRIVATE_ARCHIVE_URL: not found
    /etc/mailman/virtual_to_transport.sh: 62: IMAGE_LOGOS: not found
    /etc/mailman/virtual_to_transport.sh: 66: DEFAULT_EMAIL_HOST: not found
    /etc/mailman/virtual_to_transport.sh: 69: DEFAULT_URL_HOST: not found
    /etc/mailman/virtual_to_transport.sh: 72: Syntax error: word unexpected (expecting ")")
    Traceback (most recent call last):
    File "/usr/sbin/newlist", line 266, in <module>
    main()
    File "/usr/sbin/newlist", line 233, in main
    sys.modules[modname].create(mlist)
    File "/var/lib/mailman/Mailman/MTA/Postfix.py", line 232, in create
    _update_maps()
    File "/var/lib/mailman/Mailman/MTA/Postfix.py", line 60, in _update_maps
    raise RuntimeError, msg % (vcmd, status, errstr)
    RuntimeError: command failed: /etc/mailman/virtual_to_transport.sh /var/lib/mailman/data/virtual-mailman (status: 2, No such file or directory)
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The mailinglist with name "mailman" has to be created on the shell during ininital installation, later all other mailinglists are created trough ispconfig.

    Which ispconfig version? Did you install mailman before ispconfig was installed or did you run the ispconfig updater and reconfigured services after you installed mailman?
     
  9. grungy

    grungy Member


    I did an update from previous version running php -q update.php. When I wanted to create a mailing list I noticed nothing was happening. Than I noticed the mailman package was not installed and installed it from shell.

    Did not reconfigured services after I installed mailman.
     
  10. grungy

    grungy Member

    I manually run php -q update.php and reconfigured all services, mailing lists are created now. Thanks.
     
  11. grungy

    grungy Member

    Last edited: Dec 15, 2013
  12. grungy

    grungy Member

    Fixed, I missed to include mailman apache config:

    ln -s /etc/mailman/apache.conf /etc/apache2/conf.d/mailman.conf
     

Share This Page