MailMan with 3.0.4

Discussion in 'Installation/Configuration' started by pier56, Nov 19, 2011.

  1. pier56

    pier56 Member

    The upgrade to 3.0.4 seems ok.

    I have installed mailman with the new manuel.

    But I created a list before this install, on a domain.

    And lists on this domain are created, but there are 404 errors for interfaces
    http://<domain>/cgi-bin/mailman/admin/<list>
    http://<domain>/cgi-bin/mailman/listinfo/<domain>

    ispconfig "mail warnings" shows :
    Nov 18 13:38:02 ks356348 postfix/postmap[5085]: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "<list>@<domain>"
    (and other aliases)

    /var/lib/mailman/data/aliases seems ok.
    But /var/lib/mailman/data/virtual-mailman has a problem :
    there are several lists of <domain> which are not deleted.

    Do you know how I can correct that ?

    Thanks !
     
  2. pier56

    pier56 Member

    It is for ispconfig.
    Sorry for error.
     
  3. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you create a second list with that name?
     
  4. pier56

    pier56 Member

    After reinstalling

    No, I tried to delete and recreate the list, same problem. And same problem with all lists on that domain.

    After reinstalling mailman, I have almost the same problem.

    Now, there are no errors with virtual-mailman.db. But if I delete a list of this domain, it stays in virtual-mailman. For others domains, no problem.

    I have found that web admin/users interfaces are https URLs for the domain mail of this list, and not http URL.

    And the links from admin/users interfaces are https URLs, and coded as http URLs.

    In mm_cfg.py, there is
    DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'

    And no https directive in <domain>.vhost

    Mystery...
     
  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Which distribution do you use?
     
  6. pier56

    pier56 Member

    system

    Debian lenny, bundled with ispconfig (3.0.1, if I remember).
    I updated from 3.0.2 to 3.0.4, by shell.
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Can you check if your Mailman is set up as follows (this is taken from the ISPConfig 3 Manual):

     
  8. albegior

    albegior New Member

    Hello FALKO
    I have the same problem on debian 6 and ISPConfig 3.0.4.1

    I installed mailman as described above with a little difference:

    for aliases, file: /etc/aliases it's wrong..

    I wrote them inside: /var/lib/mailman/data/aliases

    after it I run: "newaliases"

    The main list called "MAILMAN" works fine:
    http://test.justdinnerclub.net/cgi-bin/mailman/admin/mailman

    If I create a new list called "TEST" for virtualdomain www.servilux.it i receive the email with Subject: Your new mailing list: test
    but I can't manage the list trough web interface for 404 errors on both links:

    http://servilux.it/cgi-bin/mailman/admin/test

    http://servilux.it/cgi-bin/mailman/listinfo/test

    Best regards
    Alberto
     
  9. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  10. albegior

    albegior New Member

    Ciao Falko
    Only cgi-bin was enabled on servilux.it because they have one cgi on website, now it's switched off and mailman works fine....

    do you mean cig-bin and mailman can't run together?

    Thank you!
    Alberto
     
  11. albegior

    albegior New Member

    Ciao Falko,
    now mailman it's working but I have some errors in ISPConfig Cron - Log:

    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-admin@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-bounces@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-confirm@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-join@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-leave@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-owner@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-request@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-subscribe@servilux.xx"
    postmap: warning: /var/lib/mailman/data/virtual-mailman.db: duplicate entry: "prova-unsubscribe@servilux.xx"



    If I check /var/lib/mailman/data/virtual-mailman i have many lists but they was deleted and aren't on IspConfig now..

    root@test:/var/lib/mailman/data# cat virtual-mailman
    # This file is generated by Mailman, and is kept in sync with the binary hash
    # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you
    # know what you're doing, and can keep the two files properly in sync. If you
    # screw it up, you're on your own.
    #
    # Note that you should already have this virtual domain set up properly in
    # your Postfix installation. See README.POSTFIX for details.

    # LOOP ADDRESSES START
    mailman-loop@servilux.xx mailman-loop
    mailman-loop@servilux.xxx mailman-loop
    # LOOP ADDRESSES END

    # STANZA START: prova
    # CREATED: Fri Nov 25 15:41:01 2011
    prova@servilux.xx prova
    prova-admin@servilux.xx prova-admin
    prova-bounces@servilux.xx prova-bounces
    prova-confirm@servilux.xx prova-confirm
    prova-join@servilux.xx prova-join
    prova-leave@servilux.xx prova-leave
    prova-owner@servilux.xx prova-owner
    prova-request@servilux.xx prova-request
    prova-subscribe@servilux.xx prova-subscribe
    prova-unsubscribe@servilux.xx prova-unsubscribe
    # STANZA END: prova

    # STANZA START: prova
    # CREATED: Sun Nov 27 11:27:02 2011
    prova@servilux.xx prova
    prova-admin@servilux.xx prova-admin
    prova-bounces@servilux.xx prova-bounces
    prova-confirm@servilux.xx prova-confirm
    prova-join@servilux.xx prova-join
    prova-leave@servilux.xx prova-leave
    prova-owner@servilux.xx prova-owner
    prova-request@servilux.xx prova-request
    prova-subscribe@servilux.xx prova-subscribe
    prova-unsubscribe@servilux.xx prova-unsubscribe
    # STANZA END: prova

    # STANZA START: prova
    # CREATED: Sun Nov 27 11:36:01 2011
    prova@servilux.xxx prova
    prova-admin@servilux.xxx prova-admin
    prova-bounces@servilux.xxx prova-bounces
    prova-confirm@servilux.xxx prova-confirm
    prova-join@servilux.xxx prova-join
    prova-leave@servilux.xxx prova-leave
    prova-owner@servilux.xxx prova-owner
    prova-request@servilux.xxx prova-request
    prova-subscribe@servilux.xxx prova-subscribe
    prova-unsubscribe@servilux.xxx prova-unsubscribe
    # STANZA END: prova

    # STANZA START: test
    # CREATED: Sun Nov 27 11:50:02 2011
    test@servilux.xx test
    test-admin@servilux.xx test-admin
    test-bounces@servilux.xx test-bounces
    test-confirm@servilux.xx test-confirm
    test-join@servilux.xx test-join
    test-leave@servilux.xx test-leave
    test-owner@servilux.xx test-owner
    test-request@servilux.xx test-request
    test-subscribe@servilux.xx test-subscribe
    test-unsubscribe@servilux.xx test-unsubscribe
    # STANZA END: test

    I think when I delete one mailinglist from ISPConfig control panel, don't delete records from /var/lib/mailman/data/virtual-mailman.db

    Best regards
    Alberto
     
    Last edited: Nov 30, 2011
  12. pier56

    pier56 Member

    When I upgraded to squeeze, the problem disappeared.
     

Share This Page