ISPConfig 3 and mailman

Discussion in 'Installation/Configuration' started by Chris00, Nov 25, 2015.

  1. Chris00

    Chris00 New Member

    After a very long struggle I am still unable to get Mailman to work. Anybody who has ISPConfig 3 and mailman running, could you please provide me with your config files? I have tried all the tutorials I could find on this setup and nothing works.

    Thank you
     
  2. Chris00

    Chris00 New Member

    OK, So I finally got it working. Probably not the best way, but it works for me.
    I couldn't understand why each time I change mm_cfg.py it gets reverted back.
    I then changed /usr/local/ispconfig/server/conf/mm_cfg.py.master to suit my configuration.
    Code:
    DEFAULT_URL_PATTERN = 'http://%s/'
    
    DEFAULT_EMAIL_HOST = 'list.mydomain.com'
    
    DEFAULT_URL_HOST   = 'list.mydomain.com'
    
    POSTFIX_STYLE_VIRTUAL_DOMAINS = ['list.mydomain.com']
    OWNERS_CAN_DELETE_THEIR_OWN_LISTS='yes'
    
    
    
    And removed the etc/mailman/virtual_to_transport.sh line
    /etc/postfix/main.cf:
    Code:
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf, list.mydomain.com
    
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf, hash:/var/lib/mailman/data/virtual-mailman
    
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf, hash:/etc/postfix/transport
    

    Log into ISPConfig, create a email domain list.mydomain, create a mailing list for that domain, remove the mailing list.
    Run /usr/lib/mailman/bin/genaliases and newaliases. And now it is working
     

Share This Page