1 (edited by lauris.neimanis 2019-12-18 16:06:44)

Topic: Upgrade iRedAdmin-Pro 4.1.2

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

In order to upgrade iRedAdmin-Pro from to 4.0 to 4.1.2. I have to upgrade iRedMail from 9.9 to 1.0. Manege to get to the step where I upgraded iRedAPD to 3.3, but can't get positive test on SRS (https://docs.iredmail.org/srs.html).

root@mx1:~# telnet localhost 7778
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
root@mx1:~# lsof -i -P -n | grep 7778
root@mx1:~#
root@mx1:~# cat /opt/iredapd/settings.py
############################################################
# DO NOT MODIFY THIS LINE, IT'S USED TO IMPORT DEFAULT SETTINGS.
from libs.default_settings import *
############################################################

# Listen address and port.
listen_address = "127.0.0.1"
listen_port = "7777"

# Run as a low privileged user.
run_as_user = "iredapd"

# Path to pid file.
pid_file = '/var/run/iredapd.pid'

# Path to log file.
# Set 'log_file = /dev/null' if you don't want to keep the log.
log_file = "/var/log/iredapd/iredapd.log"

# Log level: info, debug.
log_level = "info"

# Backend: ldap, mysql, pgsql.
backend = "mysql"

# Enabled plugins.
plugins = ["reject_null_sender", "wblist_rdns", "reject_sender_login_mismatch", "greylisting", "throttle", "amavisd_wblist", "sql_alias_access_policy"]

# For LDAP backend.
#
# LDAP server setting.
# Uri must starts with ldap:// or ldaps:// (TLS/SSL).
#
# Tip: You can get binddn, bindpw from /etc/postfix/ldap/*.cf.
#
ldap_uri = 'ldap://127.0.0.1:389'
ldap_basedn = 'o=domains,dc=iredmail,dc=org'
ldap_binddn = 'cn=vmail,dc=iredmail,dc=org'
ldap_bindpw = 'password'

# For SQL (MySQL/MariaDB/PostgreSQL) backends, used to query mail accounts.
vmail_db_server = "127.0.0.1"
vmail_db_port = "3306"
vmail_db_name = "vmail"
vmail_db_user = "vmail"
vmail_db_password = "some password"

# For Amavisd policy lookup and white/blacklists.
amavisd_db_server = "127.0.0.1"
amavisd_db_port = "3306"
amavisd_db_name = "amavisd"
amavisd_db_user = "amavisd"
amavisd_db_password = "some password"

# iRedAPD database, used for greylisting, throttle.
iredapd_db_server = "127.0.0.1"
iredapd_db_port = "3306"
iredapd_db_name = "iredapd"
iredapd_db_user = "iredapd"
iredapd_db_password = "some password"

MYNETWORKS = ['192.168.4.0/24', '192.168.3.0/24', '192.168.5.0/24']

LOCAL_TIMEZONE = 'GMT+02:00'
srs_forward_port = '7778'
srs_reverse_port = '7779'
srs_domain = 'mx1.example.com'
srs_secrets = []

2

Re: Upgrade iRedAdmin-Pro 4.1.2

Port 7778 and 7779 are not enabled by default. Please follow our tutorial to enable it:
https://docs.iredmail.org/srs.html

In iRedAPD-3.2 and earlier releases, it enables SRS by default after upgrading. But 3.3 disables it (if you're upgrading from iRedAPD-2.5 or earlier releases).

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee