burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & Marketing icon chevron
    • Streaming icon chevron

      ksuiteCollaborative suite

      Discover the collaborative suite → Discover →
    • kSuite Professional email, sovereign cloud and AI for sustainable performance
    • kSuite The suite for secure communication, storage and sharing
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Mail Service Create your email addresses with your domain
    • kChat
      kChat Communicate live with your teams
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
    • kChat
      Chk Link reducer & QR code generator
      Find the web hosting solution you need
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with over 100 CMS
    • web hosting
      Wordpress Hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • Node.js Hosting Create a dynamic, interactive site with Node.js
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domains’ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your site access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution

      Cloud services

    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • Cloud Server
      VPS Cloud Create a Windows / Linux server
    • Kubernetes service Deploy your containerised apps on a large scale.
    • VPS Lite
      VPS Lite Create a Windows/Linux server at a low cost
    • Database Service Manage your databases with a managed solution
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • Other services

    • llm api
      AI Tools Boost your productivity with our sovereign AI
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      NAS Synology Rent a NAS in our secure data centers
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • Housing
      Housing Install your servers in our data centers
    • Auth Add a privacy-friendly login method to your apps
      Infomaniak Events, the independent local events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets
    • kdrive
      Access Control Control access to your events with ease
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live radio station online
    • streaming video
      Video-Streaming Create and broadcast live events and TV online
    • VOD and AOD
      VOD & AOD service Host and broadcast your recordings without limits
  • Resources
    documentation icon Documentation
    Guides & tutorials
    API documentation
    special offers icon Special offers
    Get started for free
    Student programme
    Become an affiliate
    partner program icon Partner programme
    Find a partner
    Become a partner
    support icon Support & contact
    Contact Support
    Premium support - 24/7
    Contact our sales department
    Hiring an expert
    Migrate to Infomaniak
  • About us
    forest
    icon Ecological commitment
    We pollute. But we are taking action to reduce the footprint of our services and infrastructure
    Discover our commitment →
    icon About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    icon Security
    Data confidentiality
    Bug Bounty Programme
  • Get started for free
    Sign in
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • Get started for free
    Sign in
Price Price
Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base Creating discussion lists with Public Cloud

    Creating discussion lists with Public Cloud

    This guide explains how to manually create a discussion list system with your Mail Service, thanks to Mailman and the Public Cloud of Infomaniak!

     

    ⚠️ This guide is exclusively for users with a high level of technical expertise. No responsibility is assumed in case of damage or loss — be sure to back up your data before any manipulation. For assistance, contact a partner or launch a free tender. Also discover the role of the host.

     

    Preamble

    • Mailman is a free application for managing mailing lists, discussion groups, and newsletters.
    • The provided files allow for easy setup of Mailman.
    • The server and its firewall are deployed with Terraform, an Infrastructure as Code (IaaC) tool, and its configuration is done with Ansible.
    • This system allows you to create discussion lists for your various contacts (direction@, ecommerce@…).

     

    Preparation…

    … of your environment

    • Having an Infomaniak Mail Service is essential to follow this tutorial.
    • Download the files necessary for deploying Mailman on the Public Cloud via this GitHub repository.

    ... of the Mail Environment

    1. Create an address mailman@domain.xyz (help) and keep the password safe (it will be used to configure the server).
    2. Add the following aliases (help) :
      • postorius
      • mylist
      • mylist-bounces
      • mylist-confirm
      • mylist-join
      • mylist-leave
      • mylist-owner
      • mylist-request
      • mylist-subscribe
      • mylist-unsubscribe

    Your mail environment is ready, let's proceed with the deployment of Mailman!

    … of the Public Cloud

    1. Create a Public Cloud project and a user (help).
      • Warning: the Public Cloud password must be secure. 2FA authentication on your Infomaniak account is strongly recommended.
    2. Click here to access the OpenStack dashboard and use the identifier PCU-XXXXXX with the defined password.
    3. Download your openrc file. It allows you to authenticate as an administrator via command line (it contains information such as the identifier, password and datacenter).

    You are ready to connect to the OpenStack administration.

    ... of the instance

    To make your future instance accessible via SSH, HTTP and HTTPS, create a security group with the following command:

    openstack security group create --description "Ports 22 - 80 - 443 pour Mailman" mailman-sec

    Then add the necessary rules:

    openstack security group rule create --dst-port 80 --protocol TCP mailman-sec
    openstack security group rule create --dst-port 443 --protocol TCP mailman-sec
    openstack security group rule create --dst-port 22 --protocol TCP mailman-sec

    These steps can also be performed from the Horizon dashboard, in the Network → Security Groups tab. Refer to the Cloud documentation for more information on this subject.

    Deploy the instance that will host Mailman with the following command:

    openstack server create --flavor a1-ram2-disk20-perf1 --security-group mailman-sec --network ext-net1 --key-name <votre-clé> --image "Debian 11.5 bullseye" mailman3

    Once connected to the machine, update it:

    sudo apt update && sudo apt upgrade -y

    Install the openstack client:

    sudo apt install python3-openstackclient -y

    Install Ansible to automatically deploy Mailman:

    sudo apt install ansible -y

     

    Mailman Deployment

    To deploy Mailman, import your SSH key and the OpenRC file via SFTP to the installation machine.

    Use tools like putty, termius or mobaxterm (or any SSH/SFTP client) with the following information:

    • IP: IP address of the created machine
    • Port: 22
    • SSH key: .pem file
    • User: debian

    In this guide, Termius was used for the SFTP transfer.

    Download the necessary files:

    wget https://github.com/reneluria/mailman-cloud

    Move the files next:

    mv cle.pem mailman/
    mv PCP-XXXX.sh mailman/

    Access the folder:

    cd mailman/

    Protect the key by assigning the correct permissions:

    sudo chmod 600 tf-keypair.pem

    Create a file inventory to configure SMTP, the domain, etc. :

    nano inventory

    Fill in this template with your information:

    mailman ansible_host=xxx.xxx.xxx.xxx
    [all:vars]
    ansible_python_interpreter=/usr/bin/python3
    ansible_user=debian
    ansible_ssh_private_key_file=id_tf_keypair
    fqdn=mailman.<yourdomain>
    mail_host=mail.infomaniak.com
    mail_account=mailman@<yourdomain>
    mail_password=<email_password>
    mailman_user=mailman
    mailman_password=<interface_password>
    mailman_domain=<yourdomain>
    mailman_email=<your_email>

    Save with Ctrl + S, then exit with Ctrl + X.

    Start the deployment:

    ansible-playbook playbook.yml -D

    Mailman is now accessible at your IP address: X.X.X.X/mailman3

     

    Log in

    Log in with the credentials defined in the inventory file for:

    • Create a domain then a list « maliste »

    In the list settings, it is recommended:

    • DMARC Mitigations: Replace with the list's address »
    • Modify messages: Reply to the list " and " Reply to the first strip »


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display all FAQs for this product
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse WHOIS Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ©2025 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse WHOIS Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ©2025 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.