Quantcast
Channel: iRedMail — iRedMail Support

Move from an old postfix server

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian 12
- 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 all friends out there.

I have to move my mails from an old (very old) postfix server (which a linux crack did install and configure, I was able to manage that installation via linux-scratch)  to a new one and wanted to do his wih iRedMail. I have already rent a new (virtual) server and installed iRedMail successfully.

Now I thought I could point he old ip-address to the new one create the same  domain  and all users in IredMail and copy all content from the old .../Maildir/cur directory to the new one.

Could this work?


ALLOWED_LOGIN_MISMATCH_LIST_MEMBER not working

0
0

Hello,

I've added users "sender@domain.kz" and "alias@domain.kz", then executed SQL-command (as described here: [I can't post links?])

INSERT INTO forwardings (address, forwarding,
                              domain, dest_domain,
                              is_alias, active)
                      VALUES ('sender@domain.kz', 'alias@domain.kz',
                              'domain.kz', 'domain.kz',
                              1, 1);

Then I edited

/opt/iredapd/settings.py

and added line

ALLOWED_LOGIN_MISMATCH_LIST_MEMBER=True

at the end of the file and restarted iredapd service

service iredapd restart

When trying to send mail from alias@optimus-kz.kz logged in as sender@domain.kz I'm still getting error "Sender is not same as SMTP authenticate username". What did I do wrong?

how to use existing nginx and php for iredmail web service

0
0

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

only find the tutorial for remote mysql

General Upgrade and Greylist Questions

0
0

1) We are on iRedMail v0.9.7 (iRedAdmin-Pro, v2.8.0 (MySQL)) on CentOS 7.  Can we upgrade directly to the latest build/release of iRedAdmin/iRedAdmin-Pro?  We paid for the original year's code and support, but not since, though we plan to buy the latest version again.

2) We cannot get Greylisting to whitelist all subdomains of a particular domain.  For example, if we put in @.salesforce.com, it only adds salesforce.com, both in the GUI and when using the python script in the OS.  Does the new version of iRedAdmin allow wildcard domain whitelisting in Greylisting?

New install question

0
0

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

This is not the very first time I have installed redmail, but this has bugged me  every time...


the installation instructions and the installer screen both have this warning - when setting up the first mail domain name it must not match the server host name.

So, if my server is named "mail.example.com", the first mail domain must be something different such as "mailserver.example.com"?

if my server name matches this - matches what I have set up in DNS for my future mailserver, then I need to rename the server?

I'm sure this is a dumb question, but why?

New Domain

0
0

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

I want to add an existing domain to my iredmail Server.
I wanted to do this via:
How to Host Multiple Mail Domains in iRedMail with Nginx

I Have already changed the Zone File and

>host mail.new-server.de shows the right ip-address.

now I tried to follow the steps in the above Howto and added the lines in the /etc/amavis/config.d/50-user file, but when I try to restart the amavisd daemon (with amvis restart), I get:

Error in config file "/etc/amavis/conf.d/50-user": Can't locate object method "DKIM" via package "0" (perhaps you forgot to load "0"?) at /etc/amavis/conf.d/50-user line 495.

line 495 is read:
DKIM

Does anybody know what's wrong?

postfix turns user@my.domain into user@host.my.domain

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.6.8 PGSQL edition
- Deployed with iRedMail Easy or the downloadable installer: yes
- Linux/BSD distribution name and version: Debian GNU/Linux 12 (bookworm)
- Store mail accounts in which backend: PGSQL
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro: no
====

Hello there,

I recently set up iRedMail and linked it to my domain (FreeIPA) via LDAP. So far, everything is working quite well. The only thing that does not work is sending and receiving mails via alias addresses that do not correspond to the user name before the @. To change this, I have tried to add an alias mapping. For this I have:

1. extended the virtual_alias_maps line in /etc/postfix/main.cf:

virtual_alias_maps = proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ad_alias_maps.cf

2. create the file /etc/postfix/ad_alias_maps.cf:

server_host     = ipa-dc.my.domain
server_port     = 389
version         = 3
bind            = yes
start_tls       = yes
bind_dn         = uid=ldap_reader,cn=users,cn=accounts,dc=green,dc=local
bind_pw         = [ldap_readers pw]
search_base     = cn=users,cn=accounts,dc=green,dc=local
scope           = sub
query_filter    = (&(mail=%s)(objectClass=person)(memberOf=cn=mail_user_group,cn=groups,cn=accounts,dc=green,dc=local))
result_attribute= uid
debuglevel      = 0

With

postmap -q mars@green-x.net ldap:/etc/postfix/ad_alias_maps.cf

I could make sure that the mapping works the way I want it to. But as soon as I activate this configuration by reloading, the postfix always makes user@my.domain to user@mailserver.my.domain and the mail delivery fails. Without the additional alias mapping, it does not do this and I can send and receive mails to the standard addresses.

Can anyone give me a clue as to why this is happening?

Best regards and nice weekend

firewalll ports for iredmail with sogo

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? downladed installer for Debian/Ubuntu
- Linux/BSD distribution name and version: Ubuntu 20.04.6
- 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.
====

I really did search for the answer to this.  really hmm

I selected nginx and SoGo during installation.
I have this installation behind a NAT'ing firewall.

What ports (if any) on the internet facing firewall should be redirected to iredmail - other than 25, 80 and 443?
At present no ports are open or redirected.


Can mail.mydomain.com/SoGo be changed to just mail.mydomain.com?

0
0

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

How do I redirect the mail.mydomain.com/SoGo to mail.mydomain.com?

I'm hoping that's a setting in iredadmin?

On a new install, SoGo presents a login page -- the iredmin URL presents an niginx "404 not found" page  -- I do get prompted to accept the self signed certificate in the browser, so something is there ...

iRedMail Easy error installing

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
iRedMail Eaasy
- Linux/BSD distribution name and version:
Debian  12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
Maria
- 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'm trying to pre-install iRedMail Easy on a test machine with a fresh, clean installation of Linux Debian 12 before purchasing and deploying the production version, and during deployment, I encounter the following errors.

...
...
...
2024-03-23 15:32:51,033 [iRedMail Easy] | TASK [iredapd : [PIP] Check existence of Python module: web] *******************
2024-03-23 15:32:51,033 [iRedMail Easy] | TASK [iredapd : [PIP] Check existence of Python module: web] *******************
2024-03-23 15:32:51,034 [iRedMail Easy] | fatal: [mail.xxxxxxxxxxxxx.com]: FAILED! => {"changed": true, "cmd": "/usr/bin/python3 -c 'import web'", "delta": "0:00:00.030126", "end": "2024-03-23 16:32:51.000026", "msg": "non-zero return code", "rc": 1, "start": "2024-03-23 16:32:50.969900", "stderr": "Traceback (most recent call last):\n  File \"\", line 1, in \nModuleNotFoundError: No module named 'web'", "stderr_lines": ["Traceback (most recent call last):", "  File \"\", line 1, in ", "ModuleNotFoundError: No module named 'web'"], "stdout": "", "stdout_lines": []}
2024-03-23 15:32:51,034 [iRedMail Easy] | ...ignoring
...
...
...
2024-03-23 15:32:53,278 [iRedMail Easy] | TASK [iredapd : [PIP] Install package '0.62.tar.gz' with pip (/usr/bin/pip3).] ***
2024-03-23 15:32:53,279 [iRedMail Easy] | fatal: [mail.xxxxxxxxxxxxx.com]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip3", "install", "file:///tmp/iredmail-dl-mail.xxxxxxxxxxxxx.com-0.62.tar.gz"], "msg": "\n:stderr: error: externally-managed-environment\n\n× This environment is externally managed\n╰─> To install Python packages system-wide, try apt install\n    python3-xyz, where xyz is the package you are trying to\n    install.\n    \n    If you wish to install a non-Debian-packaged Python package,\n    create a virtual environment using python3 -m venv path/to/venv.\n    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make\n    sure you have python3-full installed.\n    \n    If you wish to install a non-Debian packaged Python application,\n    it may be easiest to use pipx install xyz, which will manage a\n    virtual environment for you. Make sure you have pipx installed.\n    \n    See /usr/share/doc/python3.11/README.venv for more information.\n\nnote: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.\nhint: See PEP 668 for the detailed specification.\n"}
2024-03-23 15:32:53,279 [iRedMail Easy] | NO MORE HOSTS LEFT *************************************************************
2024-03-23 15:32:53,286 [iRedMail Easy] | PLAY RECAP *********************************************************************
2024-03-23 15:32:53,286 [iRedMail Easy] | mail.xxxxxxxxxxxxx.com      : ok=239  changed=27   unreachable=0    failed=1    skipped=250  rescued=0    ignored=9   


After which the installation is interrupted and it states that it has failed.

Thank you for advance.

Slow response & degraded performance at 09:00 UTC every day

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Debian GNU/Linux 12 (bookworm), Kernel: Linux 6.1.0-18-cloud-amd64
- 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 am noticing reduced responsiveness and performance of my iRedMail server at precisely 09:00 UTC every day.

I'm unsure what is causing this. I've looked through crontab and /etc/cron.d entries and can't find anything that starts at this time.

My iRedMail server is all defaults & nothing extra with the exception of CertBot, though CertBot doesn't run at 09:00 UTC.

Would anyone know of a process that starts at this time?

(Resolved) sogo wrong username or password

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Rocky 9 64bit
- 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.
====

Fresh install of iredmail 1.6.8 on Rocky 9.
All services appear to be working normally, except Sogo shows wrong username or password for users and postmaster login attempts.
Not seeing any answers in sogo.log or sogo.conf even with debugging on.

Thank you,
Dave

Cronjob certbot error

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  Mariadb
- 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.
====
Cron <root@iredmail> certbot renew --post-hook "service postifx restart; service nginx restart; service dovecot restart" >/dev/null

postfix, not postifx

managesieve on larry and classic skins on 1.6.8

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? Download
- 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? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Just performed a fresh install and migrated from Ubuntu 18.04 same versions of iredmail /iRedadminPro

Prefer to use the previous larry and classic skins on roundcube, however the filter throws up an error during creation as an example on larry and classic skins.
Failed request: mail.xyz.co.uk/mail/?_task=mail&_action=plugin.managesieve&_framed=1&r[1]=From%3Aworldpay.com

Does not on Elastic.

copied the skins from previous install after upgrading roundcube to latest before migration of data etc... as do-release-upgrade broke my instance.

Is this a lost cause to use the old skins?
Thanks

could not save new password

0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
iredmail docker
- Deployed with iRedMail Easy or the downloadable installer?
docker
- Linux/BSD distribution name and version:
ubuntu 22.04LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
docker
- Web server (Apache or Nginx):
docker
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
Ive set up iredmail docker container, but users cant change password via roundcube, it shows "could not save new password", i can change password using admin panel.
How to figure out what caused this, what logs do i need to post.
Thank you for your support.






Latest Images