Quantcast
Channel: iRedMail
Viewing all 48101 articles
Browse latest View live

iRedAdmin 2.1

$
0
0

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

Hi,
I updated iRedMail to version 1.6.1. Can I safely upgrade now only iRedAdmin to version 2.1? Can I update 1.8 to 2.1 directly? Or better 1.8>1.8.1>1.9.0>2.0>2.1?


Re: iRedAdmin 2.1

$
0
0

On page github.com/iredmail/iRedMail/blob/master/ChangeLog I see now:

iRedMail-1.6.3:
    * Supports new distribution release:
        - OpenBSD 7.2. Note: 7.1 has been dropped.

    * Updated packages:
        + Roundcube -> 1.6.1
        + iRedAPD -> 5.2
        + mlmmjadmin -> 3.1.6
        + iRedAdmin -> 2.1
        + netdata -> 1.37.1
        + fail2ban -> 1.0.2 (OpenBSD)

So, I'll wait for upgrade instructions on docs.iredmail.org/iredmail.releases.html

When version 1.6.3 will publish as stable?

How to enable a remote user on mariadb/mysql after iredmail install

$
0
0

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

just wondering how i would configure remote access to this version of mariadb without screwing up the other softwares access to the databases

Re: Roundcube spamming mail.log with php deprecated messages

$
0
0

Hi,

exordium wrote:

Is it possible to supress the notifications or reduce the amount?

I'am change this file: /opt/www/roundcubemail/program/lib/Roundcube/bootstrap.php in linie 30

From:

'error_reporting' => E_ALL & ~E_NOTICE & ~E_STRICT,

To:

'error_reporting' => E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT,

ZhangHuangbin wrote:

I suggest upgrade Roundcube to latest 1.6.1 version which fixes many PHP8 compatibility issues.

I tried, but when I started www webmail it asked me to enter server.
I couldn't find where to set the default server "lochalhost".
I will wait some time before upgrade roundcube

Re: How to enable a remote user on mariadb/mysql after iredmail install

$
0
0

CREATE USER 'sqladmin'@'%' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON * . * TO 'sqladmin'@'%';

FLUSH PRIVILEGES;

open port 3306 in firewall

/etc/mysql/mariadb.conf.d/50-server.cnf

bind-address            = 0.0.0.0

service mysql restart


https://www.heidisql.com/

Create a new connection, login

Re: Feature request: 2FA login in iRedadmin

$
0
0
ZhangHuangbin wrote:

Will implement 2FA in future release. smile

Thank you for the reply smile

Re: Error updating system

Can not login in SOGO

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): latest stable (pro)
- Deployed with iRedMail Easy or the downloadable installer? (download)
- Linux/BSD distribution name and version: ubuntu 20.04
- 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.
====


we can not login in sogo since last iredmail pro update that we did. the error that I found:

Feb 03 18:02:45 sogod [3185158]: <0x0x55b0efa23160[SOGoCache]> Using host(s) 'localhost' as server(s)
Feb 03 18:02:45 sogod [3185158]: [WARN] <0x0x7f1daaff0f60[WOxElemBuilder]> could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdbd0f0[SOGoUserManager]> No authentication sources defined - nobody will be able to login. Check your defaults.
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdb9b40[SOGoSQLUserProfile]> failed to acquire channel for URL: (null)
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdb9b40[SOGoSQLUserProfile]> failed to acquire channel for URL: (null)
Feb 03 18:02:45 sogod [3185158]: [ERROR] <0x0x55b0efdb9b40[SOGoSQLUserProfile]> failed to acquire channel for URL: (null)

Checking the sogo.conf and old sogo.conf, both have everything commented with \\ and the unique difference is that the newest on has:

  //NGImap4AuthMechanism = "plain";

also commented.

I tried to follow this:
docs.iredmail.org/upgrade.sogo.combined.sql.tables.html

but it ends in an error:

ERROR: Failed to parse value of OCSFolderInfoURL in /etc/sogo/sogo.conf

Seems because sofo.conf basically has nothing configured.

So, how to make sogo.conf file using iredmail settings? We never touched in sogo.conf file since we installed and eventually did iredmail pro update.


dialog: command not found

$
0
0

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

I was following official steps to setup the free version and I ended with "dialog command not found". I has to install it: apt -y install dialog

After that I was able to run the wizard. I think iredmail setup needs to check this package or add in system preparation in the official setup doc.

Could not get lock /var/lib/dpkg/lock-frontend: sogo setup failed

$
0
0

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

I was installing a new iredmail setup and after the wizard, it ended with the error:

[ INFO ] Installing package(s): python3-setuptools python3-pip python3-wheel python3-requests uwsgi uwsgi-plugin-python3 postfix postfix-pcre libsasl2-modules mariadb-client mariadb-server postfix-mysql libdbd-mysql-perl php-cli php-fpm php-json php-gd php-curl mcrypt php-intl php-xml php-mbstring php-zip php-mysql nginx-full dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj nomarch cpio lzop cabextract p7zip-full rpm libmail-spf-perl unrar-free pax lrzip gpg-agent libclamunrar9 mlmmj python3-pymysql memcached sogo sogo-activesync sope4.9-gdl1-mysql python3-sqlalchemy python3-dnspython python3-pymysql python3-jinja2 python3-netifaces python3-bcrypt python3-dnspython python3-simplejson python3-pymysql fail2ban geoip-bin geoip-database zlib1g libuuid1 libmnl0 curl lm-sensors netcat bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool rsyslog nftables
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3341 (unattended-upgr)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/

In this new fresh setup I asked to setup sogo. Then i tried to execute the iRedMail.sh file and same error. So I cheked the processes running and I saw that some python script is installing packages... so seems to me that iRedMail.sh installer is trying to execute sogo setup in parallel with previous services.

By the way, I did not ask in anywhere to execute apt upgrade (and is not set to be automatic), but seems thar iRedMail.sh did that, because I saw the kernel being upgraded.

I waited the upgrade procedure finish and then I executed iRedMail.sh again. Now it is able to conginue sogo setup.

ps: I was just doing this new fresh setup to recover sogo.conf file to another server. we need a better way to do that, as iredmail.sh do this from standardized sogo.conf.

Cant log into Roundcube after upgrade

$
0
0

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

After upgrading from Ubuntu 20.04 to 22.04 I can't log into Roundcube.

It says "Login failed".

I noticed this when upgrading mlmmjadmin

root@mail:~/mlmmjadmin-3.1.5/tools# bash upgrade_mlmmjadmin.sh
* Detected Linux/BSD distribution: UBUNTU
Install package: python3 python3-pip python3-requests uwsgi-plugin-python3 python3-pymysql
* Found mlmmjadmin: /opt/mlmmjadmin, symbol link of /opt/mlmmjadmin-3.1.2
* Found old config file: /opt/mlmmjadmin/settings.py
* Copying new version to /opt/mlmmjadmin-3.1.5
* Copy /opt/mlmmjadmin/settings.py.
* Removing old symbol link /opt/mlmmjadmin
* Creating symbol link: /opt/mlmmjadmin-3.1.5 -> /opt/mlmmjadmin
* Copy systemd service file.
'/opt/mlmmjadmin/rc_scripts/systemd/debian.service' -> '/lib/systemd/system/mlmmjadmin.service'
Created symlink /etc/systemd/system/multi-user.target.wants/mlmmjadmin.service -> /lib/systemd/system/mlmmjadmin.service.
* mlmmjadmin has been successfully upgraded.
* Restarting service: mlmmjadmin.
* Sync mailing list profiles to SQL/LDAP.
No mailing list found. Abort.
* Upgrading completed.
<<< NOTE >>> If mlmmjadmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/

What does "No mailing list found" mean?

root@mail:/home/mike# tail '/var/log/mail.log' 
Feb  4 19:24:32 mail dovecot: auth-worker(868491): Error: conn unix:auth-worker (pid=868487,uid=130): auth-worker<6>: passwd(postmaster@odysseytours.nz): getpwnam() failed: Address family not supported by protocol
Feb  4 19:24:32 mail dovecot: lda(postmaster@odysseytours.nz)<868502><>: Error: auth-master: userdb lookup(postmaster@odysseytours.nz): Auth USER lookup failed
Feb  4 19:24:32 mail dovecot: lda(868502): Fatal: Internal error occurred. Refer to server log for more information.
Feb  4 19:24:32 mail postfix/pipe[868485]: 4P7Jlx72C8z1Dn: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=102211, delays=102211/0.02/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
Feb  4 19:24:32 mail postfix/pipe[868480]: 4P7kwn0sZcz1bm: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=42264, delays=42264/0.05/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
Feb  4 19:24:32 mail postfix/pipe[868498]: 4P7GHb4XhXznW: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=108885, delays=108885/0.05/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )
Feb  4 19:24:32 mail dovecot: auth-worker(868504): Error: conn unix:auth-worker (pid=868487,uid=130): auth-worker<1>: passwd(postmaster@odysseytours.nz): getpwnam() failed: Address family not supported by protocol
Feb  4 19:24:32 mail dovecot: lda(postmaster@odysseytours.nz)<868490><>: Error: auth-master: userdb lookup(postmaster@odysseytours.nz): Auth USER lookup failed
Feb  4 19:24:32 mail dovecot: lda(868490): Fatal: Internal error occurred. Refer to server log for more information.
Feb  4 19:24:32 mail postfix/pipe[868488]: 4P7Jlx74KYz1Dq: to=<postmaster@odysseytours.nz>, orig_to=<root@mail.odysseytours.nz>, relay=dovecot, delay=102211, delays=102211/0.02/0/0.06, dsn=4.3.0, status=deferred (temporary failure. Command output: lda(postmaster@odysseytours.nz): Error: net_connect_unix(/run/dovecot/stats-writer) failed: Permission denied )

I tried adding

service stats {
    unix_listener stats-reader {
        user = vmail
        group = vmail
        mode = 0660
    }

    unix_listener stats-writer {
        user = vmail
        group = vmail
        mode = 0660
    }
}

to /etc/dovecot/dovecot.conf now it says

Feb  4 20:04:49 mail roundcube: <ihqm485t> IMAP Error: Login failed for postmaster@odysseytours.nz against 127.0.0.1 from 192.168.1.1. Unsupported authentication mechanism. in /opt/www/roundcubemail-1.4.7/program/lib/Roundcube/rcube_imap.php on line 211 (POST /mail/?_task=login&_action=login)
Feb  4 20:04:49 mail dovecot: imap-login: Disconnected: Connection closed (tried to use unsupported auth mechanism): user=<>, method=LOGIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<5mvxadrzqMF/AAAB>
Feb  4 20:04:50 mail roundcube: PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/www/roundcubemail-1.4.7/program/include/rcmail_output_html.php on line 1612
Feb  4 20:06:14 mail roundcube: PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/www/roundcubemail-1.4.7/program/include/rcmail_output_html.php on line 1612
Feb  4 20:06:18 mail dovecot: imap-login: Disconnected: Connection closed (tried to use unsupported auth mechanism): user=<>, method=LOGIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<U8c8b9rzCKV/AAAB>
Feb  4 20:06:18 mail roundcube: <d4n71kmh> IMAP Error: Login failed for info@shesheds.co.nz against 127.0.0.1 from 127.0.0.1. Unsupported authentication mechanism. in /opt/www/roundcubemail-1.4.7/program/lib/Roundcube/rcube_imap.php on line 211 (POST /mail/?_task=login&_action=login)
Feb  4 20:06:19 mail roundcube: PHP Deprecated:  strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /opt/www/roundcubemail-1.4.7/program/include/rcmail_output_html.php on line 1612

I tried logging into ireadmin and resetting the password

Re: Cant log into Roundcube after upgrade

$
0
0

- Try to upgrade Roundcube to latest 1.6.1, it supports PHP 8.1.
- Check Dovecot log file, make sure all errors are fixed.

Re: Could not get lock /var/lib/dpkg/lock-frontend: sogo setup failed

$
0
0

Seems another apt process is running, please kill it then launch iRedMail installer again.

Re: dialog: command not found

Re: Can not login in SOGO

$
0
0

Seems file /etc/sogo/sogo.conf was overwritten during upgrading SOGo packages. You should be able to find a working copy under /etc/sogo/, please copy it to /etc/sogo/sogo.conf then restart SOGo service. It should work.


Re: How to enable a remote user on mariadb/mysql after iredmail install

$
0
0

Why do you need to access MariaDB server remotely?

Re: iRedAdmin 2.1

$
0
0

If you have latest iRedMail release running, it's ok to upgrade iRedAPD, iRedAdmin (and iRedAdmin-Pro), mlmmjadmin from current old version to latest one directly and skip old releases between them.

Re: Editing an user in a domain gets connection error

$
0
0

Hi

I guess this file got lost somewhere on the flow?

# service mlmmjadmin status
mlmmjadmin is stopped.
# service mlmmjadmin start
Starting mlmmjadmin.
realpath() of /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini failed: No such file or directory [core/utils.c line 3662]
# ls -al /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini
ls: /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini: No such file or directory

Internal server error and wrong version number errors

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB (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.
====

After migrating all databases from mail9 to mail10, everything seems to work OK _except_ the ability to log in to iRedAdmin-Pro. The login screen appears but after entering any username/password combination the result is always "Internal server error". Syslog isn't much help, as there's no specific error listed.

In this thread, zhb described running iredadmin as a standalone server, and having a curl client make a request to it:

https://github.com/iredmail/iRedMail/issues/85

That returns this error:

root@mail10:/etc/ssl/private# curl -k https://localhost:8080
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Usually that error is related to bad certs. This server has a valid Letsencrypt cert and it is linked to iRedMail.{crt,key} as described in the docs.

How can I troubleshoot and fix this internal server error? Thanks.

Re: stupid question about sender_canonical_maps and recipient_canonical_ma

$
0
0
laurent.bardi wrote:

with iredmail how i do that ?

iRedMail uses Postfix too and it doesn't enable sender_canonical_maps / recipient_canonical_maps by default, so you're free to enable them with same settings.

Viewing all 48101 articles
Browse latest View live