1 (edited by schnappi 2025-01-08 08:54:36)

Topic: [SOLVED] Problem when trying to update mlmmj

When trying to update mlmmj get the following:

* Detected Linux/BSD distribution: DEBIAN
Install package: python3 python3-pip python3-requests uwsgi-plugin-python3 python3-pymysql
* Found mlmmjadmin: /opt/mlmmjadmin, symbol link of /opt/mlmmjadmin-3.2.0
<<< ERROR >>> No old config file found /opt/mlmmjadmin/settings.py, exit.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED] Problem when trying to update mlmmj

Why don't you have "/opt/mlmmjadmin/settings.py"?
Do you have a backup copy under /opt/mlmmjadmin/?

3

Re: [SOLVED] Problem when trying to update mlmmj

This server predates mlmmj. I suspect mlmmj was not installed correctly initially. Is there a better solution than asking for the contents and permissions of /opt/mlmmjadmin/settings.py before proceeding with the upgrade?

4

Re: [SOLVED] Problem when trying to update mlmmj

I resolve the issue by following this guide:

https://docs.iredmail.org/integration.mlmmj.mysql.html

My only question is which one should be used in /etc/postfix/master.cf:

# mlmmj - mailing list manager
# ${nexthop} is '%d/%u' in transport ('mlmmj:%d/%u')
mlmmj   unix  -       n       n       -       -       pipe
    flags=ORhu user=mlmmj:mlmmj argv=/usr/bin/mlmmj-amime-receive -L /var/vmail/mlmmj/${nexthop}

or

# mlmmj - mailing list manager
# ${nexthop} is '%d/%u' in transport ('mlmmj:%d/%u')
mlmmj   unix  -       n       n       -       -       pipe
    flags=ORhu user=mlmmj argv=/usr/bin/mlmmj-amime-receive -L /var/vmail/mlmmj/${nexthop}

The issue is whether to use "user=mlmmj" or "user=mlmmj:mlmmj." I think it should be the latter, but the tutorial lists the former.

5

Re: [SOLVED] Problem when trying to update mlmmj

First one.
You can find the one used by iRedMail from source code:
https://github.com/iredmail/iRedMail/bl … cf#L21-L24

6

Re: [SOLVED] Problem when trying to update mlmmj

I typed it wrong. The tutorial (https://github.com/iredmail/iRedMail/bl … cf#L21-L24) lists the following incorrect code:

# mlmmj - mailing list manager
# ${nexthop} is '%d/%u' in transport ('mlmmj:%d/%u')
mlmmj   unix  -       n       n       -       -       pipe
    flags=ORhu user=mlmmj argv=/usr/bin/mlmmj-amime-receive -L /var/vmail/mlmmj/${nexthop}