Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 12130 articles
Browse latest View live

FreeBSD 13 iredadmin gets error

$
0
0

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

I just installed did a fresh install on a BSD server, wanting to migrate from a Linux server. When I go to iredadmin web management I just get Internal Server Error in the browser. Roundcube Mail works perfectly, what log do I need to look at in order to diagnosis the issue? Any help would be appreciated.


issuer certificate not found for certificate "/etc/pki/tls/certs/iRedM

$
0
0

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

Error Message:

nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/pki/tls/certs/iRedMail.crt"

I am attempting to enable ssl_stapling, when I enabled it with the following add to my ssl.tmpl file:

ssl_stapling on;
ssl_stapling_verify on;
resolver 1.1.1.1 8.8.4.4 valid=300s;
resolver_timeout 5s;

I get the error:
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/pki/tls/certs/iRedMail.crt"

I presume the iRedMail.crt is not a cert chain and only has the iRedMail info in it?

How do you enable ldaps on tcp/636?

$
0
0

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

Hi All,

I have an install of iRedMail without a webserver. I have my LDAP protected by UFW. But I am looking to enable LDAPS on port 636 so that I can have external services connect to the directory. I am struggling to find a solution to how todo this. I have already added the TLSCertificateFile and TLSCertificateKeyFile in /etc/ldap/slapd.conf.

Anyone know how I continue getting this enabled?

Thanks

John

Setting iRedmail with different IP addresses for Postfix and SoGo

$
0
0

Setting iRedmail with different IP addresses for Postfix and SoGo

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

Hello everyone!

We are looking to migrate over iRedmail from an existing mail server setup with Roundube mail, Postfix and dovecot. However, this setup is working on two environments i.e.
1. Postfix and Dovecot setup on one server with IP address: 192.168.1.140 (IP address mentioned is just for explaining purposes)
2. Roundcube and Apache setup on another server with IP address: 192.168.1.141

Now for reasons I can't explain, I have to use the same IP address configuration for the new iRedmail setup.

With that said, we have a test environment server with two network adapters ergo both IP addresses are allotted to one single server.

I was able to install iRedmail without any hiccups and I installed only SoGo (no Roundcube) for my webmail and it (SoGo webmail, Admin panel, netstat) is running as expected.

Firstly, I followed this tutorial https://docs.iredmail.org/send.out.emai … esses.html to setup smtp_bind_address
But with the above changes, I was not able to send/receive any emails!

Next, I reconfigured postfix with command

sudo dpkg-reconfigure postfix

after which the mynetworks section of the postfix's main.cf config file has the IP address: 192.168.1.140
So, the mynetwork section of /etc/postfix/main.cf file is saved something like this,

mynetworks = 192.168.1.140

Making these changes and reloading postfix made it work halfway through wherein incoming emails are being received i.e. email sent to my iRedmail server is being received to my inbox.

However, I am unable to send any emails. The mails are being queued (checked via mailq command) but not actually being sent.


So, requesting your support to understand what am I doing wrong. I am also concerned whether if this is the right way to set up an alternate IP address for postfix.

Apologies beforehand for not providing any log because as I am new to this I didn't know which log file to attach for troubleshooting. Please let me know and I will attach the log(s) accordingly.

P.S. We will be primarily using SoGo for Webmail, and ActivSync on Mail clients instead of IMAP & SMTP. Email sending/receiving is being tested with external email like Gmail.

One user, many domains

$
0
0

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

Hi, I'm the owner of some domain, let's say example.com and example.it ;
On my actual mail server (Domino) when I create a new user it works automatically with all the configured domain.
For example, I create user test@example.com, this mailbox receive mails sent to test@example.it too, without any specific configuration.

Now I'm trying to do the same with iredmail (not pro) but it seems to me that I have to create a different mailbox to manage the different domain (I mean that I have to create test@example.com and test@example.it , two user, two mailbox ).

Am I wrong? Is possible to create a user and let them receive mail from all the configured mail domain ? How?

Thanks

Is iRedmail able to be HA?

$
0
0

I am looking for an open-source email solution that also allows for high-availability. Is iRedmail able to do this, even if it has to be done with an add-on?

Login of domain admin to iRedAdmin fails

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0
- 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): PGSQL
- 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.
====

I have passwords for most accounts in mailbox.password in format {MD5}wyrzTHhK7H1s8xjByoOWqA== (<<< random data, not MD5 sum). The format is copied over from first instalation from 2012.

Everything works fine, just when I grant such user domain admin rights, the user is unable to login to iredadmin (INVALID_CREDENTIALS).

I solved this by changing the password to the same one... stored now in SSHA512.

Upgrading to Debian 11 (bullseye)

$
0
0

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

Are there any known issues when when upgrading from Debian 10 to 11?

On a test machine, I followed the official Debian guide:

https://www.debian.org/releases/stable/ … ng.en.html

After upgrading and rebooting, Dovecot and Postfix and SOGo started OK but iRedAPD threw an error:

someuser@testhost:~$ sudo systemctl status iredapd
● iredapd.service - iRedAPD (A simple posfix policy server)
     Loaded: loaded (/lib/systemd/system/iredapd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2021-12-08 22:27:12 PST; 1min 36s ago
    Process: 572 ExecStart=/usr/bin/python3 /opt/iredapd/iredapd.py (code=exited, status=1/FAILURE)
        CPU: 1.934s

Dec 08 22:27:11 testhost python3[572]: Traceback (most recent call last):
Dec 08 22:27:11 testhost python3[572]:   File "/opt/iredapd/iredapd.py", line 20, in <module>
Dec 08 22:27:11 testhost python3[572]:     from libs import __version__, daemon, utils
Dec 08 22:27:11 testhost python3[572]:   File "/opt/iRedAPD-5.0.3/libs/utils.py", line 19, in <module>
Dec 08 22:27:11 testhost python3[572]:     from web import sqlquote
Dec 08 22:27:11 testhost python3[572]: ModuleNotFoundError: No module named 'web'
Dec 08 22:27:12 testhost systemd[1]: iredapd.service: Control process exited, code=exited, status=1/FAILURE
Dec 08 22:27:12 testhost systemd[1]: iredapd.service: Failed with result 'exit-code'.
Dec 08 22:27:12 testhost systemd[1]: Failed to start iRedAPD (A simple posfix policy server).
Dec 08 22:27:12 testhost systemd[1]: iredapd.service: Consumed 1.934s CPU time.

And that's just the iRedAPD service. I don't know what else within iRedMail and iRedAdmin-Pro might be broken.

Thanks in advance for troubleshooting clues.


can I use the same client username and password login a changed domain

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iredmail0.99
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: centos7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): AD
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
with my iredmail, I have change my domain from AAA.com to BBB.com in same server, how can I still use the same client info(username, password) to login BBB domain ?
I use the windows active directory as the account authenticate.

thinks for your reply

mail rejected from iredmail server

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: ubuntu18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi guys
i installed iRedMail in my server and its work correctly but now i have a problem:
one server with this IP 65.21.130.240 try to send mail to my server and its receive by my server but rejected with helo command to sender

this message is:

Diagnostic-Code: smtp; 554 5.7.1 <static.240.130.21.65.clients.your-server.de>: Helo command rejected: ACCESS DENIED. Your email was rejected because the sending mail server appears to be on a dynamic IP address that should not be doing direct mail delivery (240.130.21.65)

how to resolve this?

安裝 rocky8 出現 symas-openldap-clients-2.4.59-1.el8.x86_64 conflicts

$
0
0

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

fresh install 出現:
Error:
Problem: problem with installed package openldap-clients-2.4.46-18.el8.x86_64
  - package symas-openldap-clients-2.4.59-1.el8.x86_64 conflicts with openldap-clients provided by openldap-clients-2.4.46-18.el8.x86_64
  - cannot install the best candidate for the job

Help with migration to iredmail

$
0
0

Is there any way to authenticate users on the new iredmail server against the old server: both against the system users - for incoming/imap and SASL for outgoing?

Alternatively, is there any way to additionally use the old usernames - different from e-mail addresses to login on the incoming besides the new iredmail authentication?

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check 1.4.2 OPENLDAP edition):
- Deployed with the downloadable installer
- Linux/Debian 11.1:
- Store mail accounts in LDAP backend
- Web server Nginx
- Manage mail accounts with iRedAdmin free
====

LDAP-based group ACL (SOGo, and other external services)

$
0
0

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

I'm not sure if that has been posted already (I only found https://forum.iredmail.org/post11173.html#p11173 and https://forum.iredmail.org/topic3059-ir … oups.html) so in case not, this is how I got LDAP-group based ACL for SOGo resources (e.g calendar) to work. Together with the authentication of external services (https://docs.iredmail.org/iredadmin-pro … vices.html) I think OpenLDAP based iRedmail is a great authentication service for other apps which usually use group ACLs (e.g. we use Nextcloud and rely heavily on AD groups). I hope I haven't overseen anything, as I'm quite new to iRedmail, and openLDAP.

Therefore, **I would also like to know if this approach is safe?** E.g. the ldap resource will not disappear/cause problems with iRedmail updates, etc?  Maybe it is better to not use ou=Groups (where iRedmail stores mailLists), but a separate ou (e.g. ou=customgroups) to store the group ACLs?

There are 2 things needed:
1) another SOGoUserSource to get the groups (to not interfere with the user-authentication)
{
    // Used for groups
    type = ldap;
    id = groups;
    canAuthenticate = YES;
    isAddressBook = NO;
    displayName = "LDAP Groups";

    hostname = "ldap://127.0.0.1:389";
    baseDN = "domainName=%d,o=domains,dc=MYDOMAIN,dc=net";
    bindDN = "cn=vmail,dc=MYDOMAIN,dc=net";
    bindPassword = "XXXXX";
    filter = "objectClass=groupOfNames"; #<<-- NEW filter

    bindAsCurrentUser = YES;


    // The algorithm used for password encryption when changing
    // passwords without Password Policies enabled.
    // Possible values are: plain, crypt, md5-crypt, ssha, ssha512.
    userPasswordAlgorithm = ssha512;
    GroupObjectClasses = (groupOfNames); #<<--- NEW (maybe not needed?)

    CNFieldName = cn;
    IDFieldName = cn;
    // value of UIDFieldName must be unique on entire server
    UIDFieldName = cn;
}

2) a openldap resource for group membership (I used phpldapadmin to create it):

# Entry 1: cn=grpnames4@MYDOMAIN.net,ou=Groups,domainName=...
dn: cn=grpnames4@MYDOMAIN.net,ou=Groups,domainName=MYDOMAIN.net,o=domains,dc=MYDOMAINonal,dc=net
cn: grpnames4@MYDOMAIN.net
member: mail=it7@MYDOMAIN.net,ou=Users,domainName=MYDOMAIN.net,o=domains,dc=MYDOMAIN,dc=net
member: mail=it5@MYDOMAIN.net,ou=Users,domainName=MYDOMAIN.net,o=domains,dc=MYDOMAIN,dc=net
objectclass: groupOfNames
objectclass: top


After restart of SOGo, you should be able to search for the group-name when sharing resources, and upon adding ACLs and subscribing, the group members should see the resources.

If you add another group member in openLDAP later on, you need to additionally subscribe the user (but that was the same when using AD groups, and can be done via the sogo-tool). If you remove a user, it will take a couple of minutes until the resource disappears for this user.

Regarding SOGo, and SuperUsers: does it matter which user I add in "SOGoSuperUsernames" ? Should it be the postmaster, or can it be any other user?

Problem to start amavis after restore backup mails and database

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- 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): 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 restore the database and vmail1 directory, I executed the next command: doveadm quota recalc -A
After this procedure, I restart the next services: amavis,postfix,dovecot.
And amavis is not start with the next log of systemctl status:

service amavis status
● amavis.service - Interface between MTA and virus scanner/content filters
     Loaded: loaded (/lib/systemd/system/amavis.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2021-12-10 17:42:15 UTC; 2ms ago
       Docs: http://www.ijs.si/software/amavisd/#doc
    Process: 15824 ExecStartPre=/usr/bin/find /var/lib/amavis -maxdepth 1 -name amavis-* -type d -exec rm -rf {} ; (code=exited, status=0/SUCCESS)
    Process: 15825 ExecStartPre=/usr/bin/find /var/lib/amavis/tmp -maxdepth 1 -name amavis-* -type d -exec rm -rf {} ; (code=exited, status=0/SUCCES>
    Process: 15826 ExecStart=/usr/sbin/amavisd-new foreground (code=exited, status=13)
   Main PID: 15826 (code=exited, status=13)
        CPU: 408ms

Dec 10 17:42:15 serv1.ns-service.es systemd[1]: amavis.service: Scheduled restart job, restart counter is at 5.
Dec 10 17:42:15 serv1.ns-service.es systemd[1]: Stopped Interface between MTA and virus scanner/content filters.
Dec 10 17:42:15 serv1.ns-service.es systemd[1]: amavis.service: Start request repeated too quickly.
Dec 10 17:42:15 serv1.ns-service.es systemd[1]: amavis.service: Failed with result 'exit-code'.
Dec 10 17:42:15 serv1.ns-service.es systemd[1]: Failed to start Interface between MTA and virus scanner/content filters.

I need help

Can't send out emails

$
0
0

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

Setup looks like working fine in general, can access mailboxes via RoundCube and via IMAP by desktop and mobile clients, and all mail clients can receive and send emails.
But sent email doesn't leave the server. Tried different destinations and none received anything (did check Spam folder).
And few days later I got this bounce in my postmaster mailbox:

-----8<-----
This is the mail system at host mx1.noXXXX.XX.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<amavis@mx1.noXXXX.XX> (expanded from ): connect to
127.0.0.1[127.0.0.1]:10026: Connection refused
config: created user preferences file: /var/lib/amavis/.spamassassin/user_prefs
-----8<-----

And attachment had this text file:

-----8<-----
Reporting-MTA: dns; mx1.noXXXX.XX
X-Postfix-Queue-ID: 4J6yWz0Kvfz40dt
X-Postfix-Sender: rfc822; amavis@mx1.noXXXX.XX
Arrival-Date: Mon,  6 Dec 2021 09:18:06 +0000 (UTC)

Final-Recipient: rfc822; amavis@mx1.noXXXX.XX
Original-Recipient: rfc822;amavis@mx1.noXXXX.XX
Action: failed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to 127.0.0.1[127.0.0.1]:10026: Connection
    refused
-----8<-----

Two questions:

1. Not clear if it's related or not.

2. How do I check what's happening with the sent email and find the root cause of the issue?

Thank you.


upgrading debian 8-9-10- to 11 php problems

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: debian Bullseye upgraded from debian 8
- 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.
====
Hello, I hope someone can help me a bit. long story short, I upgraded from jessie to bullseye, everything seems to work as it should, but I'm in trouble with PHP management. At this moment I have two php-fpm sockets running 5.6 and 7.4, how can I tell Nginx to only use 7.4 and remove 5.6?

amavisd keeps crashing/refusing connections stopping all mail flow.

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer?  Easy
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?  Regular
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
From one of many in the postfix mail.log (I can't find a log for amavis:)

"Dec 11 04:07:02 red postfix/amavis/smtp[114133]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused"

Of course this restricts all mail period.  After rebooting, a bunch of messages started trickling in.  But the other problem is with the docs which talk of an earlier version:

"Use one DKIM key for all mail domains

If you want to use one DKIM key for all mail domains, please follow steps below:
Make sure you have at least one DKIM key configured like below in Amavisd config file (amavisd.conf):"

However, on debian 11 (amavisd-new) there IS no such file anywhere on the hard drive.  I can't seem to find anything comparable so what happened to the main .conf file?  And why are the docs silent on this when they explicitly recommend debian 11?

Confused.

Regards,
Steve

EDIT:  By the way, this is a few days old install that I'm testing, not a long-haul beast yet!

freebsd 13 iredapd is shutting down eventually

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2 PGSQL edition.
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: FreeBSD 13
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): pgsql
- 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.
====
Iredapd is shutting down periodically for me on freebsd 13 1GB ram.

SOGO Doens't start after update

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? self installed
- Linux/BSD distribution name and version: Centos 8
- 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.
====

Helo,

After a update this morning of my centos server with yum update sogo doens't work.

can anybody help me?

sogod.service - SOGo is a groupware server
   Loaded: loaded (/usr/lib/systemd/system/sogod.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Mon 2021-12-13 18:56:29 CET; 18s ago
  Process: 8218 ExecStart=/usr/sbin/sogod -WOWorkersCount ${PREFORK} -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log (code=dumped, signal=SEGV)


Dec 13 18:56:28  systemd[1]: Starting SOGo is a groupware server...
Dec 13 18:56:29  systemd-coredump[8220]: Process 8218 (sogod) of user 980 dumped core.
Dec 13 18:56:29  systemd[1]: sogod.service: Control process exited, code=dumped status=11
Dec 13 18:56:29  systemd[1]: sogod.service: Failed with result 'core-dump'.
Dec 13 18:56:29  systemd[1]: Failed to start SOGo is a groupware server.


My /var/log/sogo/sogo.log is empty.

Disk Full Issues (CentOS and equivalents)

$
0
0

Recently I discovered that the 50GB "cl-root" file system created by a standard Centos (Rocky and Alma too, I suppose) install was essentially full. Fortunately, I noticed this a day or two before complete disaster.

A little investigation revealed that Centos creates cl-root (which contains all folders except /home) as 50GB and uses all the rest of the disk for cl-home. This is the reverse of what one would want for iRedMail, which keeps almost nothing in /home. The main mail folders and nearly everything else are stuck sharing 50GB, even when the disk is much larger.

This isn't hard to fix, but can be confusing to look up as there are so many variations. I thought I would record what worked for me (adapted from https://cyberark-customers.force.com/s/ … tos-root). See the referenced article for the rationale of each step.

Use at your own risk, but this worked for me out of the box.

0. BACK UP YOUR SYSTEM

1. df -h (check filesystem layout, verify that cl-root is 50GB and cl-home is large and empty)

2. cp -a /home /home2  (save /home folders to a folder in cl-root)

3. umount /dev/mapper/cl-home  (unmount cl-home)

4. lvremove /dev/mapper/cl-home  (delete it)

5. lvextend -l +100%FREE /dev/mapper/cl-root  (extend cl-root)

6. xfs_growfs /dev/mapper/cl-root  (grow the file system to fill the logical volume)

7. df -h  (check that cl-home is gone and cl-root has grown)

8. mv /home2/* /home/   (move saved /home folders back -- but now in cl-root)

9. rmdir /home2  (delete backup folder)

10. edit /etc/fstab and remove the line with cl-home

11. reboot

Viewing all 12130 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>