GithubHelp home page GithubHelp logo

iredmail / iredmail Goto Github PK

View Code? Open in Web Editor NEW
1.3K 38.0 204.0 3.37 MB

Full-featured, open source mail server solution for mainstream Linux/BSD distributions.

Home Page: https://www.iredmail.org/

License: GNU General Public License v3.0

PLpgSQL 1.85% Python 5.34% Shell 92.81%
email server foss freebsd openbsd centos debian ubuntu iredmail mainstream-linux

iredmail's Introduction

iRedMail is a full-featured mail server solution: https://www.iredmail.org/

Don't forget to check out our lightweight email archiving software: https://spiderd.io/

It supports few mainstream Linux/BSD distributions:

  • CentOS Steam 8, 9
    • Note: CentOS 7 and 8 are not supported, please use CentOS Stream or Rocky Linux instead.
  • Rocky Linux 8, 9
  • AlmaLinux 8, 9
  • Red Hat Enterprise Linux 8, 9
  • Debian 11
  • Ubuntu 22.04 (Recommend), 20.04
  • FreeBSD 13.x
  • OpenBSD 7.3

More info:

  • License: GPL v3
  • Authors: Zhang Huangbin (zhb at iredmail.org)
  • Check and download the latest stable release from website
  • Install iRedMail by following our installation guides strictly: Installation Guides
  • Community, bug report, feature requests: online support forum
  • We offer paid support services
  • Source packages patched or modified for RHEL/CentOS can be found here, other RPM packages are all installed from official yum repository and EPEL.

We recommend to deploy iRedMail server with the iRedMail Easy platform, it offers easy deployment, one-click upgrade, and tech support via the ticket system. Check our website for more details.

There's also an all-in-one Docker edition here: iredmail/dockerized.

iredmail's People

Contributors

anzulo1984 avatar beckerr-rzht avatar camaer avatar ciaranomara avatar damiandabrowski5 avatar esadcetiner avatar extremeshok avatar fa-ribeiro avatar iredmail avatar jdawley avatar mandza avatar mrlpm avatar ostadgeorge avatar twocoolbeans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iredmail's Issues

Customizing postfix config

I'm trying to customizing /etc/postfix/main.cf to add a relay host to support Spamhero.
I have created a sidecar container to setup the sasl password and update the config but postfix reload does pickup the config. And supervisorctl restart postfix causes postfix to crash.

Also, it would be helpful if https://www.github.com/iredmail/dockerized was open to the public so people can fork it. Then create a patch and PR.

onlyoffice mail docker

Please excuse me if this question is simple
I am new to this
I am attempting to use the Onlyoffice mail docker run as host with mysql 5.7.29 on ubuntu everything seems to link up untill
,ERROR 1062 (23000) at line 4 in file: '/tmp/cluebringer_init_sql.1530222400': Duplicate entry 'SenderIP:71.XXX.XX.XX' for key 'Source'

Password expiration notification email iredmail

Is there a function in iredmail for email users to set notification in 30, 14, 7, 1 day to password_expiration date?
I am trying to search someting about that...

Is there a possibility to set notification template per *@Domain ?

Allow member to send email as mailing list

iRedMail: 1.1
iRedAdmin-Pro: 4.2 (PostgreSQL)

we try to enable sending email as mailing list (user [email protected] authenticates as himself, but sends mail as [email protected] )

We followed the documentation at https://docs.iredmail.org/allow.member.to.send.email.as.mail.list.html

Now we can send email from aliases but not from a mailing list.
The sender is member of the mailing list but the SQL query result is empty. See below for details.

What do we have to do to make this work?

Mar 18 13:13:41 mail iredapd --> Apply plugin: reject_sender_login_mismatch
Mar 18 13:13:41 mail iredapd Sender: [email protected], SASL username: [email protected]
Mar 18 13:13:41 mail iredapd Apply strict restriction (ALLOWED_LOGIN_MISMATCH_STRICTLY=True).
Mar 18 13:13:41 mail iredapd Apply list/alias member restriction (ALLOWED_LOGIN_MISMATCH_LIST_MEMBER=True).
Mar 18 13:13:41 mail iredapd [SQL] query per-user alias address: #012SELECT address#012                           FROM forwardings#012                          WHERE address='[email protected]' AND forwarding='[email protected]' AND is_alias=1#012                          LIMIT 1
Mar 18 13:13:41 mail iredapd SQL query result: None
Mar 18 13:13:41 mail iredapd No per-user alias address found.
Mar 18 13:13:41 mail iredapd [SQL] query members of mail alias account ([email protected]): #012SELECT forwarding#012                           FROM forwardings#012                          WHERE address='[email protected]' AND forwarding='[email protected]' AND is_list=1#012                          LIMIT 1
Mar 18 13:13:41 mail iredapd SQL query result: None
Mar 18 13:13:41 mail iredapd No such mail alias account.
Mar 18 13:13:41 mail iredapd <-- Result: REJECT Sender is not same as SMTP authenticate username
Mar 18 13:13:41 mail iredapd Session ended.
Mar 18 13:13:41 mail iredapd [123.123.123.123] RCPT, [email protected] => [email protected] -> [email protected], REJECT Sender is not same as SMTP authenticate username [[email protected], [email protected], client_name=xyz.ip, reverse_client_name=xyz.ip, helo=computer.localnet, encryption_protocol=TLSv1.3, encryption_cipher=TLS_AES_256_GCM_SHA384, server_port=587, process_time=0.0389s]
Mar 18 13:13:41 mail iredapd [SQL] Insert into smtp_sessions: #012        INSERT INTO smtp_sessions (#012            time, time_num,#012            action, reason, instance,#012            client_address, client_name, reverse_client_name, helo_name,#012            encryption_protocol, encryption_cipher,#012            server_address, server_port,#012            sender, sender_domain,#012            sasl_username, sasl_domain,#012            recipient, recipient_domain)#012        VALUES (#012            '2020-03-18 12:13:41', 1584533621,#012            'REJECT', 'Sender is not same as SMTP authenticate username', 'abcdef.123456.xyz',#012            '123.123.123.123', 'xyz.ip', 'xyz.ip', 'computer.localnet',#012            'TLSv1.3', 'TLS_AES_256_GCM_SHA384',#012            '321.321.321.231', '587',#012            '[email protected]', 'example.com',#012            '[email protected]', 'example.com',#012            '[email protected]', 'example.com')#012

Suggestion - add smtps to master.cf

Hello
I saw postfix don`t listen on 465 port
Maybe add support for:
root@webmail:~# grep smtps /etc/services
submissions 465/tcp ssmtp smtps urd # Submission over TLS [RFC8314]

add to master.cf:
smtps inet n - n - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o content_filter=smtp-amavis:[127.0.0.1]:10026

Best Regards
TaKeN

Random password generated when creating new account

"Need a random password?" should have random password generated long as min_passwd_length variable in settings.py.
There should not be a possibility to set password shorter than min_passwd_length for site admins.

Now it's always generating password strictly 10 chars long.

Missing iRedAPD tarball

On a fresh Centos7 system, I tried to install iRedMail and I got an error about a missing iRedAPD tarball. Specifically, iRedAPD-3.6.tar.gz

How to reproduce:

git clone https://github.com/iredmail/iRedMail.git
cd iRedMail
bash iRedMail.sh

Result:

sha256sum: misc/iRedAPD-3.6.tar.gz: No such file or directory
misc/iRedAPD-3.6.tar.gz: FAILED open or read

Looking at the dir at this location:

https://dl.iredmail.org/yum/misc/

I can see that iRedAPD only goes up to: iRedAPD-3.5.tar.gz

Installation script on centos 7

Getting these errors from the script:

iRedMail.sh: line 2: $'\r': command not found
iRedMail.sh: line 4: $'\r': command not found
iRedMail.sh: line 22: $'\r': command not found
: ambiguous redirect: 1
iRedMail.sh: line 138: syntax error near unexpected token $'\r'' iRedMail.sh: line 138: check_status_before_run install_all || (ECHO_ERROR "Pack'ge installation error, please check the output log.\n\n" && exit 255)

大量退信邮件如何批量删除

之前有个账号被利用发送垃圾邮件,导致有上万封退信邮件,请问这些邮件如何删除,不能清空所有收件箱,里面有正常邮件

Can't install using existing MySql

I can't install v1.0.
Debian 10 with apache2 and existing MySql
Command:
USE_EXISTING_MYSQL='YES' MYSQL_SERVER_ADDRESS='localhost' MYSQL_SERVER_PORT='3306' MYSQL_ROOT_USER='root' MYSQL_ROOT_PASSWD='' MYSQL_GRANT_HOST='localhost' bash iRedMail.sh

Use apt instead of apt-get

Hey,

I just saw about iredmail and finnaly founded a working thing.
In ubuntu/debian the code is using apt-get wich is recommanded too in scripts but if you use apt (there will be a little warning) but there will be a progress bar that could be an intressting freature.

can`t login webmail

Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 43: Unknown setting: ssl_min_protocol

installer breaks on sogo unknown packages

I don't know right now where it breaks, if it was on iredmail or iredadmin, but if you enable all features and SOgo, it breaks on ubuntu 18.04 because it don't find all files for sogo.

Latest version of iredmail and iredadmin SQL 4.3 was used.

OpenBSD Installation

I try to install py-mysql + py-mysqlclient (Backend OpenLDAP)

Can't install py-mysqlclient-1.4.6 because of conflicts (py-mysql-1.2.5p6)

bastion# pkg_add py-mysql
quirks-3.325 signed on 2020-06-09T15:08:04Z

bastion# pkg_add py-mysqlclient
quirks-3.325 signed on 2020-06-09T15:08:04Z
Can't install py-mysqlclient-1.4.6 because of conflicts (py-mysql-1.2.5p6)
--- py-mysqlclient-1.4.6 -------------------
Can't install py-mysqlclient-1.4.6: conflicts
Couldn't install py-mysqlclient-1.4.6

BR,

1 listed file could not be read

[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: https://dl.iredmail.org/yum/misc/iRedAdmin-1.0.tar.bz2
[ INFO ] + 2 of 6: https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.tar.gz
[ INFO ] + 3 of 6: https://dl.iredmail.org/yum/misc/iRedAPD-4.1.tar.gz
[ INFO ] + 4 of 6: https://dl.iredmail.org/yum/misc/netdata-v1.23.1.gz.run
[ INFO ] + 5 of 6: https://dl.iredmail.org/yum/misc/roundcubemail-1.4.7-complete.tar.gz
[ INFO ] + 6 of 6: https://dl.iredmail.org/yum/misc/webpy-0.51.tar.gz
[ INFO ] Validate downloaded source tarballs ...
misc/iRedAdmin-1.0.tar.bz2: OK
misc/mlmmjadmin-3.0.tar.gz: OK
misc/iRedAPD-4.1.tar.gz: OK
misc/netdata-v1.23.1.gz.run: OK
sha256sum: misc/roundcubemail-1.4.7-complete.tar.gz: No such file or directory
misc/roundcubemail-1.4.7-complete.tar.gz: FAILED open or read
misc/webpy-0.51.tar.gz: OK
sha256sum: WARNING: 1 listed file could not be read
[ FAILED ]
<< ERROR >> Package verification failed. Script exit ...
https://dl.iredmail.org/yum/misc/roundcubemail-1.4.7-complete.tar.gz == 404 Not Found

Docker: Can not open or preview received emails

Hi.

If I enable "Delivery status notification", I receive "Successful Mail Delivery Report" and can preview and open it, but when I send a mail, from example from gmail to my domain, I see this email in Inbox, but can neither preview it nor open (when I open it, I see This page isn’t working).

This is the address that raises an error: https://mail.domain.com/?_task=mail&_caps=pdf%3D1%2Cflash%3D0%2Ctiff%3D0%2Cwebp%3D1&_uid=4&_mbox=INBOX&_action=show

This is the notification report address which has no problem: https://mail.domain.com/?_task=mail&_caps=pdf%3D1%2Cflash%3D0%2Ctiff%3D0%2Cwebp%3D1&_uid=3&_mbox=INBOX&_action=show

If you inline both of them you will see that there is no difference, except uid, so the problem somewhere internally.

API issue creating mailbox

Hi !

We bought iRedMail Pro and I have an issue when creating user mailboxes and when the password does no contains a special character. I got this result from API:

string(39) "{"_success": false, "_msg": "PW_EMPTY"}"

(User password who contains a special character are ok).

I disabled server wide password requirements, because we are crating user from another database where password are already checked as strong.

Is this a bug or do I have to set some parameters to ignore password strenght when set by API ?

Thank you for your help !

Security scan fresh install of iRedmail

Hello,
I just do security scan of fresh install iRedmail and this is report:
TLS Version 1.0 Protocol Detection on ports:
25, 110, 143, 587, 993, 995
Solution:
Enable support for TLS 1.2 and 1.3, and disable support for TLS 1.0.
Description
The remote service accepts connections encrypted using TLS 1.0. TLS 1.0 has a number of cryptographic design flaws. Modern implementations of TLS 1.0 mitigate these problems, but newer versions of TLS like 1.2 and 1.3 are designed against these flaws and should be used whenever possible.
As of March 31, 2020, Endpoints that aren’t enabled for TLS 1.2 and higher will no longer function properly with major web browsers and major vendors.

TLS Version 1.1 Protocol Detection on ports:
25, 110, 143, 587, 993, 995
Solution:
Enable support for TLS 1.2 and/or 1.3, and disable support for TLS 1.1.
Description
The remote service accepts connections encrypted using TLS 1.1.
TLS 1.1 lacks support for current and recommended cipher suites.
Ciphers that support encryption before MAC computation, and authenticated encryption modes such as GCM cannot be used with TLS 1.1
As of March 31, 2020, Endpoints that aren’t enabled for TLS 1.2 and higher will no longer function properly with major web browsers and major vendors.

SSL/TLS Protocol Initialization Vector Implementation Information Disclosure Vulnerability (BEAST) on ports:
25, 587
Solution:
Configure SSL/TLS servers to only use TLS 1.2 if supported.
Description
A vulnerability exists in SSL 3.0 and TLS 1.0 that could allow information disclosure if an attacker intercepts encrypted traffic served from an affected system.
TLS 1.1, TLS 1.2, and all cipher suites that do not use CBC mode are not affected.

Access denied for users stats and admin.

Hello,
Again strange information in logs about MariaDB/MySQL.
iRedAdmin Version 1.1.0 - fresh install
OS: Debian 10

root@webmail:~# cat /var/log/mysql/error.log
2020-04-04 19:54:44 37 [Warning] Access denied for user 'stats'@'localhost' (using password: YES)
2020-04-04 19:54:44 38 [Warning] Access denied for user 'admin'@'localhost' (using password: YES)

Best Regards
TaKeN

Wrong php-fpm ip address in FreeBSD jail installation

Hi,

when installing iRedmail 1.1 in a Freebsd 12-STABLE jail, there is a configuration file that seems to contain a parameter with an incorrect value, making nginx replying with a "bad gateway" error.
The parameter is:
listen.allowed_clients = 127.0.0.1

in the file /usr/local/etc/php-fpm.d/www.conf . Instead of 127.0.0.1 the value should be the ip of the LOCAL_ADDRESS variable (the ip address of the jail). Using it, it just works.
Thank you,

iRedMail-1.3.1 - FreeBSD 12.1 - fresh installation but cannot load the page of iredadmin

I am the user of iredadmin pro over 7 years and have been using FreeBSD over 20 years. I have just tried to install iredmail-1.3.1 into FreeBSD 12.1 without any error or bugs. Unfortunately, the page of iredadmin is unable to load or display in our browser but the page of Roundcube and SOGo can (only in the intranet). The following is the error.log :-

2020/07/08 10:57:37 [error] 1450#100517: *2 writev() failed (32: Broken pipe) while sending request to upstream, client: 192.168.1.39, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "192.168.1.229"

No error.log has been generated through internet of Real IP. I have checked all log files but I cannot find the reason. Please help.

iRedmail.sh fails due to missing files on https://dl.iredmail.org/yum/misc/

As of this writing, HEAD is at commit 33d432f. Checking out and running iRedmail.sh results in:

root@host:~/iRedMail# bash iRedMail.sh
< SKIP > Function: check_new_iredmail.
[ INFO ] apt update ...
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://mirrors.digitalocean.com/ubuntu focal InRelease [265 kB]
Hit:3 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:4 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease
Hit:5 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:7 http://archive.canonical.com/ubuntu focal InRelease
Fetched 372 kB in 1s (358 kB/s)
Reading package lists... Done
'multiverse' distribution component is already enabled for all sources.
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: https://dl.iredmail.org/yum/misc/iRedAdmin-1.0.tar.bz2
[ INFO ] + 2 of 6: https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.tar.gz
[ INFO ] + 3 of 6: https://dl.iredmail.org/yum/misc/iRedAPD-4.0.tar.gz
[ INFO ] + 4 of 6: https://dl.iredmail.org/yum/misc/netdata-v1.22.1.gz.run
[ INFO ] + 5 of 6: https://dl.iredmail.org/yum/misc/roundcubemail-1.4.4-complete.tar.gz
[ INFO ] + 6 of 6: https://dl.iredmail.org/yum/misc/webpy-0.51.tar.gz
[ INFO ] Validate downloaded source tarballs ...
misc/iRedAdmin-1.0.tar.bz2: OK
**sha256sum: misc/mlmmjadmin-3.0.tar.gz: No such file or directory**
misc/mlmmjadmin-3.0.tar.gz: FAILED open or read
**sha256sum: misc/iRedAPD-4.0.tar.gz: No such file or directory**
misc/iRedAPD-4.0.tar.gz: FAILED open or read
misc/netdata-v1.22.1.gz.run: OK
misc/roundcubemail-1.4.4-complete.tar.gz: OK
misc/webpy-0.51.tar.gz: OK
sha256sum: WARNING: 2 listed files could not be read
        [ FAILED ]
<< ERROR >> Package verification failed. Script exit ...

Manually fetching the files with wget (and inspecting the location via browser) confirm they're missing:

root@host:~/iRedMail/misc# wget https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.tar.gz
--2020-06-02 21:07:35--  https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.tar.gz
Resolving dl.iredmail.org (dl.iredmail.org)... 139.162.146.87
Connecting to dl.iredmail.org (dl.iredmail.org)|139.162.146.87|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-06-02 21:07:35 ERROR 404: Not Found.

root@host:~/iRedMail/misc# wget https://dl.iredmail.org/yum/misc/iRedAPD-4.0.tar.gz
--2020-06-02 21:07:35--  https://dl.iredmail.org/yum/misc/iRedAPD-4.0.tar.gz
Resolving dl.iredmail.org (dl.iredmail.org)... 139.162.146.87
Connecting to dl.iredmail.org (dl.iredmail.org)|139.162.146.87|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-06-02 21:07:35 ERROR 404: Not Found.

Windows WSL Error - Debian Bullseye

lsb_release -a
Distributor ID: Debian
Description:    Debian GNU/Linux bullseye/sid
Release:        testing
Codename:       bullseye
root@LAPTOP-21F611179:/usr/src/iredmail# bash iRedMail.sh
********* ERROR *********
Release version of the operating system on this server is unsupported by
iRedMail, please access below link to get the latest iRedMail and a list
of supported Linux/BSD distributions and release versions.

http://www.iredmail.org/download.html

*************************

Ubuntu 16.04: latest version not supported and old version throws error to upgrade to new

Hello,
I was trying to install iRedMail on Ubuntu 16.04.
With latest version, I get an error like it is not supported to Ubuntu 16.04.
It supports Ubuntu 18.04.

I found that some people had installed v0.9.7 on Ubuntu 16.04 bak in 2018.
I tried to install it getting the source from github.
Now I get the error like:

[ INFO ] Checking new version of iRedMail ...

<< ERROR >> Your iRedMail version (0.9.7) is out of date, please
<< ERROR >> download the latest version and try again:
<< ERROR >> http://www.iredmail.org/download.html

Is there any workaround?

sha256sum: WARNING: 6 listed files could not be read

Hey there Dev Team !

I'm tryint to install iRedMail on a CentOS 7, freshly installed on a VPS, but I'm having issues right from the begining. Here is what my system sais:

0 ✓ mail /opt/iRedMail-1.1 $ sh iRedMail.sh 
[ INFO ] Checking new version of iRedMail ...
[ INFO ] Preparing yum repositories ...
[ INFO ] Installing package(s): epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.lonyai.com
 * epel: mirror.nextlayer.at
 * extras: centos.lonyai.com
 * updates: centos.lonyai.com
https://dl.iredmail.org/yum/rpms/7/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: dl.iredmail.org; Unknown error"
Trying other mirror.
Package epel-release-7-12.noarch already installed and latest version
Nothing to do
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: https://dl.iredmail.org/yum/misc/iRedAdmin-1.0.tar.bz2
[ INFO ] + 2 of 6: https://dl.iredmail.org/yum/misc/mlmmjadmin-2.1.tar.gz
[ INFO ] + 3 of 6: https://dl.iredmail.org/yum/misc/iRedAPD-3.4.tar.gz
[ INFO ] + 4 of 6: https://dl.iredmail.org/yum/misc/netdata-v1.19.0.gz.run
[ INFO ] + 5 of 6: https://dl.iredmail.org/yum/misc/roundcubemail-1.4.2-complete.tar.gz
[ INFO ] + 6 of 6: https://dl.iredmail.org/yum/misc/webpy-0.40.tar.gz
[ INFO ] Validate downloaded source tarballs ...
sha256sum: misc/iRedAdmin-1.0.tar.bz2: No such file or directory
misc/iRedAdmin-1.0.tar.bz2: FAILED open or read
sha256sum: misc/mlmmjadmin-2.1.tar.gz: No such file or directory
misc/mlmmjadmin-2.1.tar.gz: FAILED open or read
sha256sum: misc/iRedAPD-3.4.tar.gz: No such file or directory
misc/iRedAPD-3.4.tar.gz: FAILED open or read
sha256sum: misc/netdata-v1.19.0.gz.run: No such file or directory
misc/netdata-v1.19.0.gz.run: FAILED open or read
sha256sum: misc/roundcubemail-1.4.2-complete.tar.gz: No such file or directory
misc/roundcubemail-1.4.2-complete.tar.gz: FAILED open or read
sha256sum: misc/webpy-0.40.tar.gz: No such file or directory
misc/webpy-0.40.tar.gz: FAILED open or read
sha256sum: WARNING: 6 listed files could not be read
	[ FAILED ]
<< ERROR >> Package verification failed. Script exit ...

255 ✗ mail /opt/iRedMail-1.1 $

Did I do anything wrong?

Dockerize Iredmail as an option for deployment

Hey @iredmail ,
I would like to inquire if there is an interest in dockerizing iredmail as an option for deployment.
I have seen this discussion
https://forum.iredmail.org/topic13826-iredmail-and-docker-architecture-proposal.html
where some members of the community seemed reluctant.
A proposal that has since stalled here
https://github.com/kawaii/iredmail-docker
I have also come across this
https://www.github.com/lejmr/iredmail-docker
which seems to work okay but all the components are bundled into the docker image.
My proposal - if you are fine with it - is to work on a docker deployment for iredmail which would;

  1. Maintain the current structure of the project
  2. Be entirely option so it can co-exist with the current codebase.
  3. Split the components into individual services to allow for better customization.

The advantages of this approach would be

  1. It would be consistent with current deployments of Iredmail so migration to/from docker-iredmail would be seamless
  2. Deployment would always be up to date and follow versioning of core iredmail
  3. Optional and Non-Intrusive

Let me know what you think

misc/netdata-v1.23.0.gz.run: No such file or directory

It seems like the netdata link is broken

Reading package lists... Done
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: https://dl.iredmail.org/yum/misc/iRedAdmin-1.0.tar.bz2
[ INFO ] + 2 of 6: https://dl.iredmail.org/yum/misc/mlmmjadmin-3.0.tar.gz
[ INFO ] + 3 of 6: https://dl.iredmail.org/yum/misc/iRedAPD-4.0.tar.gz
[ INFO ] + 4 of 6: https://dl.iredmail.org/yum/misc/netdata-v1.23.0.gz.run
[ INFO ] + 5 of 6: https://dl.iredmail.org/yum/misc/roundc … ete.tar.gz
[ INFO ] + 6 of 6: https://dl.iredmail.org/yum/misc/webpy-0.51.tar.gz
[ INFO ] Validate downloaded source tarballs ...
misc/iRedAdmin-1.0.tar.bz2: OK
misc/mlmmjadmin-3.0.tar.gz: OK
misc/iRedAPD-4.0.tar.gz: OK
sha256sum: misc/netdata-v1.23.0.gz.run: No such file or directory
misc/netdata-v1.23.0.gz.run: FAILED open or read
misc/roundcubemail-1.4.6-complete.tar.gz: OK
misc/webpy-0.51.tar.gz: OK
sha256sum: WARNING: 1 listed file could not be read
[ FAILED ]
<< ERROR >> Package verification failed. Script exit ...

back to page after submit

form:
iredadmin.domain.pl/users/domain.pl
(List of user domain)

do:
after submitting disabling account on 3 page it takes back to first page

should be done:
afer submitting disabling account on any page it should take back to this page

/etc/mysql/debian-start - wrong root password after reboot

Hello
I just install fresh iRedMail 1.0 stable on Debian 10 and set MySQL root password when ask me.
After reboot server i saw information in daemon.log information about start:
/etc/mysql/debian-start
with wrong root password.

After add password to:
/etc/mysql/debian.cnf

[client]
host = localhost
user = root
password = "PASSWORD"
socket = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host = localhost
user = root
password = "PASSWORD"
socket = /var/run/mysqld/mysqld.sock
basedir = /usr

everything back to normal.

Best Regards
TaKeN

Testing CentOS 8 install.

steps done:
Installed CentOS 8 from scrap, updated.
downloaded iRedMail from GitHub as a .zip file, unzipped.

bash iRedMail.sh

this is the log of errors :

bash iRedMail.sh

[ INFO ] Checking configuration file: /home/admin/iRedMail-master/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /home/admin/iRedMail-master/config for mail server setting.
[ INFO ] Import installation process status from file: /home/admin/iRedMail-master/runtime/install.status.
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.
[ INFO ] Installing package(s): rsyslog firewalld postfix postfix-pcre postfix-mysql mariadb mariadb-server perl-DBD-MySQL php-common php-fpm php-gd php-xml php-mysqlnd php-ldap php-pgsql php-mbstring php-pecl-apcu php-intl nginx dovecot dovecot-pigeonhole dovecot-mysql amavisd-new spamassassin altermime perl-LDAP perl-Mail-SPF lz4 clamav clamav-update clamav-server clamav-server-systemd mlmmj sogo sogo-activesync libwbxml sogo-ealarms-notify sogo-tool sope49-gdl1-mysql gcc libcurl-devel openssl-devel python2-devel python2-pip python2-sqlalchemy python2-setuptools python2-dns python2-PyMySQL python2-jinja2 python2-requests fail2ban curl libmnl libuuid lm_sensors nc zlib iproute python2-pyyaml unzip bzip2 acl patch tmpwatch crontabs dos2unix logwatch lz4
No repository match: ius
No repository match: rpmforge
No repository match: atrpms
No repository match: remi
Inverse SOGo Repository 533 B/s | 358 B 00:00
Failed to download metadata for repo 'SOGo'
Error: Failed to download metadata for repo 'SOGo'
<< 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/

Do I have to manually add some repo?

amavis INVALID and FAILED warning

Hello
I just install fresh iRedMail 1.0 stable on Debian 10.
After reboot server i saw information in mail.log:

Dec 21 19:14:41 webmail amavis[2118]: (!)policy protocol: INVALID AM.PDP ATTRIBUTE LINE: POST / HTTP/1.1\r\n
Dec 21 19:14:41 webmail amavis[2118]: (!!)policy_server FAILED: Missing 'request' field at (eval 105) line 197, line 7.
Dec 21 19:14:42 webmail amavis[2118]: (!)policy protocol: INVALID AM.PDP ATTRIBUTE LINE: [{"version": "1.1", "params": [], "id": 0, "method": "getmempoolinfo"}, {"version": "1.1", "params": [], "id": 1, "method": "getnetworkinfo"}, {"version": "1.1", "params": [], "id": 2, "method": "getblockchaininfo"}, {"version": "1.1", "params": [], "id": 3, "method": "getmemoryinfo"}, {"version": "1.1", "params": [], "id": 4, "method": "gettxoutsetinfo"}]

Best Regards
TaKeN

PHP wrong config when you have the lastest version installed (via ppa)

Hey,
Thanks for that awesome fast fix!
Now i just founded out i have a issue with php since i use php7.4 (and upgraded to it) the php7.2 folder exsists but the php-ini or php-fpm.conf don't exsist. I know that under ubuntu if you use the default packages you would use only php7.2 but in this case the problem is that the apt you are using is surely written like apt install php php-xml php-mymoduleblalal but when you generate the config it goes in php/7.2 ( i am not sure if it's checking or not trough).

Maybe you already did it but there is 2 possiblities or you define the version in apt or yum,... by doing apt install php7.2 php7.2-xml or you can use the php -v command and find the php version with like php --version | head -n 1 | cut -d " " -f 2 or php --version | head -n 1 | cut -d " " -f 2 | cut -c 1,3

I founded it out because i can't see my webserver.

Please rename /etc/iredmail-release for OpenBSD

I use OpenBSD 6.7!

If I start neofetch I can see information from /etc/iredmail-release and not from the system. Please rename your /etc/iredmail-release file for right neofetch output.

Wrong output :

bastion$ neofetch
             ,        ,            [email protected] 
            /(        )`           ------------------------ 
            \ \___   / |           OS: 1.3 OPENLDAP edition. # Get professional support from iRedMail Team: http://www.iredmail.org/support.html amd64 
            /- _  `-/  '           Host: HP
           (/\/ \ \   /\           Kernel: 6.7 
           / /   | `    \          Uptime: 41 mins 
           O O   ) /    |          Packages: 380 (pkg_info) 
           `-^--'`<     '          Shell: ksh v5.2.14 99/07/13.2 
          (_.)  _  )   /           Resolution: 1920x1080 
           `.___/`    /            WM: i3 
             `-----' /             Terminal: xterm 
<----.     __ / __   \             CPU: Intel i7-6500T (4) @ 2.794GHz 
<----|====O)))==) \) /====|        GPU: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 
<----'    `--' `.__,' \            Memory: 1922MiB / 8042MiB 
             |        |
              \       /       /\                           
         ______( (_  / \______/                            
       ,'  ,-----'   |
       `--{__________)

Packages missing on CentOS 8

Few packages are missing on CentOS 8. The situation is very weird and I'm lost.

  • uwsgi. Could be installed with python pip, but available in EPEL 7.
  • postfix-pcre. Same as php-imap, postfix SRPM builds postfix-pcre sub-package.
  • php-imap. php-7.2 has it as builtin, not sub-package.

ConnectionError when editing users

In the admin web portal I attempt to edit users by clicking "Edit Account Profile", but the error

Error: ConnectionError(ProtocolError('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',)),)

is printed at the top of the web page. I cannot see any error reporting happening on my Ubuntu 18.04 server. Any ideas?

Emails go to spam folder in gmail

Thanks to all contributors of this repository, really appreciate great effort you put in this project.

Now i have Installed my Mail server by following this guide: linuxbabe. , i've installed everything as suggested.

But i have a problem though.
Every time i send my emails to gmail they go to spam folder.

I tried to search online but i cannot see any clear way of fixing the problem.

[ EDIT ]

I have also heard people saying the problem is related to localhost [127.0.0.1] in the mail header, and they suggest that the problem can be fixed by removing it ( Even though they do not tell how)

And some are against removing localhost [127.0.0.1] in mail header

[ EDIT 2 ]

Mail header:

Message ID	<[email protected]>
Created at:	Thu, Mar 26, 2020 at 11:39 AM (Delivered after 44 seconds)
From:	chawila rabi <[email protected]>
To:	[email protected]
Subject:	chawila
SPF:	PASS with IP MY-IP-ADDRESS Learn more
DKIM:	'PASS' with domain EXAMPLE.COM Learn more
DMARC:	'PASS' Learn more
Delivered-To: [email protected]
Received: by 2002:a50:c048:0:0:0:0:0 with SMTP id u8csp1705124edd;
        Thu, 26 Mar 2020 02:40:21 -0700 (PDT)
X-Google-Smtp-Source: ADFU+vv+BznGXYytLoijEGsdq5W4+Run9RcLOy7RybWle5h8Pu6UUekokGby04FOpRCW7/g+Vbww
X-Received: by 2002:ac8:38eb:: with SMTP id g40mr6788062qtc.98.1585215621202;
        Thu, 26 Mar 2020 02:40:21 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1585215621; cv=none;
        d=google.com; s=arc-20160816;
        b=DNY0c3R5994pxMpueQHWhcN2WPbY7a+PaUrza3I5LvVt5kowXNKxCBhwqWc404mWtv
         ydzli5EqOdwUX2RWFpfgkSuVzOCwdj2CNNNHYICsb0+EEH3pJPr2XsBM5Cxe7YQhqmlU
         Kpp6ayUTWCnOTp/CfMIfwSoihjjKJA7ePb898RDMkkXH9nI9OyY7YNqxy9pffatf+MiM
         iJ5xiW80U2CNfbU+AUn54xcPyDIA/mF4GsikU7EKnyvcr9o8zWbBeG9cD5QFpu22z707
         WNki3UfutFSxsS3JAXRydl7k+jpsJloSh90RsW0nabTdF6npk05IRQ5Quy8VxKKL1jSV
         yJBg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=organization:message-id:user-agent:subject:to:from:date
         :mime-version:dkim-signature;
        bh=Mh2Xz0f85PtVRMU0mEZwchI365UMckbn7RlTXBEfCMw=;
        b=JHXQqFCCiWt7jAm7vlA8UhVfrVDc9opNDfj1/zxs0e/loGydYeJMETXnHXP9q/6JSy
         FPxT4v7/C3gqnYMzjTffIfMX/TVGCoQiUarLjHEQUJkNIKMf3JIDatwN8uZI5Plb3BA3
         MnUz/eUHnBC3wy2r6lwOzwwtYzAgwSpJqzBAfDW2Z8IVAHyHIv+su9grs1sY5YsQrNtP
         mIt1VhS/1g3HuWu3wnrrBquO9zWe3TP/BF4GQHoln5bFbCydXzhwakihCncAds2M0o0F
         dJv2tDWTu7PHHzpYkP74oZLwTgiKUoL4vXY9oz7UQZFXFL3MVB/q784BAAn7deD588Ks
         MwLQ==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass [email protected] header.s=dkim header.b=JrJ75wMs;
       spf=pass (google.com: domain of [email protected] designates MY-IP-ADDRESS-HERE as permitted sender) [email protected];
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=EXAMPLE.COM
Return-Path: <[email protected]>
Received: from mail.EXAMPLE.COM (mail.EXAMPLE.COM. [MY-IP-ADDRESS-HERE])
        by mx.google.com with ESMTPS id d17si840171qtj.176.2020.03.26.02.40.20
        for <[email protected]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 26 Mar 2020 02:40:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates MY-IP-ADDRESS-HERE as permitted sender) client-ip=MY-IP-ADDRESS-HERE;
Authentication-Results: mx.google.com;
       dkim=pass [email protected] header.s=dkim header.b=JrJ75wMs;
       spf=pass (google.com: domain of [email protected] designates MY-IP-ADDRESS-HERE as permitted sender) [email protected];
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=EXAMPLE.COM
Received: from mail.EXAMPLE.COM (mail.EXAMPLE.COM [127.0.0.1]) by mail.EXAMPLE.COM (Postfix) with ESMTP id 48p0MB4fMMz5tGV for <[email protected]>; Thu, 26 Mar 2020 09:39:50 +0000 (UTC)
Authentication-Results: mail.EXAMPLE.COM (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=EXAMPLE.COM
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= EXAMPLE.COM; h=content-type:organization:message-id :user-agent:subject:to:from:date:mime-version; s=dkim; t= 1585215577; x=1587807578; bh=I0N0s3nLspBejS4QlWMImSU6LZisdTsa2uC TW2kCClw=; b=JrJ75wMsfEr5SufnqE7wb892rYlUCC6egaUkcDOHyWikCNo1tGl KPh3GOcMuIvNbIczS+y8RznmSaKu3QhB02jxdgHqJpl4MGoensGShy7t0eApeoE7 vHXHJBinBpGO64HvFptokxULacb8emBZvyvpn+eXCNvUF66TzPClKui8=
X-Virus-Scanned: Debian amavisd-new at mail.EXAMPLE.COM
Received: from mail.EXAMPLE.COM ([127.0.0.1]) by mail.EXAMPLE.COM (mail.EXAMPLE.COM [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HhIO7_uvqxFy for <[email protected]>; Thu, 26 Mar 2020 09:39:37 +0000 (UTC)
Received: from localhost (mail.EXAMPLE.COM [127.0.0.1]) by mail.EXAMPLE.COM (Postfix) with ESMTPSA id 48p0Lx1hDpz5tGT for <[email protected]>; Thu, 26 Mar 2020 09:39:37 +0000 (UTC)
MIME-Version: 1.0
Date: Thu, 26 Mar 2020 11:39:37 +0200
From: Oarabile Chawilani <[email protected]>
To: [email protected]
Subject: chawila
User-Agent: Roundcube Webmail
Message-ID: <[email protected]>
X-Sender: [email protected]
Organization: Amplified Crafts
Content-Type: multipart/mixed; boundary="=_00037a52c7447a75f844dac708875dff"

--=_00037a52c7447a75f844dac708875dff
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

So the question i'll like to ask is: How do we fix this problem?

Invalid DB password.

Hello!

Thank You for awesome iRedMail. I have been working with it on CentOS-7 more than year and it is great!

Now I installed iRedMail successfully on CentOS-8 with PostgreSQL-12, Nginx and all dependencies.
After trying to make requests I get following results in /var/log/maillog for roundcube:
DB Error: SQLSTATE[08006] [7] FATAL: password authentication failed for user "roundcube" in /opt/www/roundcubemail-1.4.3/program/lib/Roundcube/rcube_db.php on line 175 (GET /mail/)

Also /iredadmin fails with 502 error on in /var/log/messages I got following: WSGI app 1 (mountpoint='buildresource.ru|/iredadmin') ready in 0 seconds on interpreter 0xb69100 pid: 2074 Mar 16 12:34:27 d40641 uwsgi[1951]: Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/web/application.py", line 287, in process#012 return p(lambda: process(processors))#012 File "/usr/lib/python2.7/site-packages/web/session.py", line 96, in _processor#012 self._cleanup()#012 File "/usr/lib/python2.7/site-packages/web/session.py", line 203, in _cleanup#012 self.store.cleanup(timeout)#012 File "/usr/lib/python2.7/site-packages/web/session.py", line 367, in cleanup#012 self.db.delete(self.table, where="$last_allowed_time > atime", vars=locals())#012 File "/usr/lib/python2.7/site-packages/web/db.py", line 1168, in delete#012 db_cursor = self._db_cursor()#012 File "/usr/lib/python2.7/site-packages/web/db.py", line 736, in _db_cursor#012 return self.ctx.db.cursor()#012 File "/usr/lib/python2.7/site-packages/web/db.py", line 676, in _getctx#012 self._load_context(self._ctx)#012 File "/usr/lib/python2.7/site-packages/web/db.py", line 688, in _load_context#012 ctx.db = self._connect(self.keywords)#012 File "/usr/lib/python2.7/site-packages/web/db.py", line 1228, in _connect#012 conn = DB._connect(self, keywords)#012 File "/usr/lib/python2.7/site-packages/web/db.py", line 716, in _connect#012 return self.db_module.connect(**keywords)#012 File "/usr/lib64/python2.7/site-packages/psycopg2/__init__.py", line 130, in connect#012 conn = _connect(dsn, connection_factory=connection_factory, **kwasync)#012OperationalError: FATAL: password authentication failed for user "iredadmin"

What should I do to fix bugs?

iRedMail Docker credentials for iredadmin

After setting up the docker of iRedMail with a password in iredmail-docker.conf at the /iredadmin/login what's the username is supposed to be? (tried with admin but didn't work)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.