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

iRedAdminPro Upgrade Path 2.9 to 3.4

$
0
0

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

I am running iRedAdminPro 2.9 and iRedMail 0.9.9

Can I upgrade iRedAdminPro 2.9 directly to iRedAdminPro 3.4?


iredapd log stopped working

$
0
0

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

hi, i noticed after upgrading to iredmail 0.9.9 (~1 month ago) the iredapd.log is empty, even if i set log level to debug it's empty.
ii tried to restart iredapd and i deleted the empty iredapd.log

i don't really know what else to do, is this a knwon issue?

DKIM signature in MTA

$
0
0

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

When using Roundcoube or any mailclient my emails are DKIM signature signed.

But when emails sending through MTA (e.g. the site's notifications) the DKIM signature is missing.

I use the default iRedMail settings.

DKIM record in DNS and 'amavisd-new showkeys' are correct too.

I have read this post https://forum.iredmail.org/post53218.html already.

In Google I found the settings for postfix and open-dkim only.

Is there anything else I should do to sending my emails with DKIM signature?

Thank you.

certbot renew

$
0
0

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


good morning I tried to renew the letsencrypt certificate with certbot renew but I found this error:

-----------------------------------------------------
      Invalid host in redirect target "mail.mydomain.com.well-known".
      Check webserver config for missing "/" in redirect target.
---------------------------end---------------------

smtp auth problem

$
0
0

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

Hello
I have a virtual domains an vusers with aliases. Now I trying to move to iredmial. I stopped at smtp authorization to allow auth via e-mail or via alias
How can I set this in iredmail + mysql ?

example
1)e-mail : john@example.com
2)aliass : john.foo@example.com

in old systems i had ldap and : ((mail=%u%R)(mailAlternateAddress=%u%R))

The Samba 'panic action' script - Error Message

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  0.9.9
- Deployed with iRedMail Easy or the downloadable installer?  Download
- Linux/BSD distribution name and version:  Debian 9.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MariaDB
- 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 have not changed anything on my system. And get the following e-mail every 20 minutes via the Postmaster account.

"
The Samba 'panic action' script, /usr/share/samba/panic-action, was called for PID 2255 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
However, gdb was not found on your system, so the error could not be debugged.  Please install the gdb package so that debugging information is available the next time such a problem occurs.
"

How to change PHP version 7.2 to 7.3?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Easy
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  PosgreSQL
- 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 need to know how to change PHP version 7.2 to 7.3.

Thanks.

How to enable Firewall for dany access http and https?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Easy
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PostgreSQL
- 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 would like to activate the Ubuntu Firewall (UFW) so that when trying to access the panel (mail.domain.com) says that the page does not exist and can only access from my IP, and the rest of the mail works fine.

I have active from Nginx but I would like not to load the page to anyone.

How can I do this?

Thanks.


Users List

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.8.4
- Deployed with iRedMail Easy or the downloadable installer? Downloaderble Installer
- Linux/BSD distribution name and version: Centos 6.7
- 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, is it possible to download a list of all users with their email addresses under a domain into a txt doc?

certbot connection refused

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: CentOS 7
- 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'm trying to set up a certificate with certbot and when I run the command suggested in the installer, certbot fails because the default nginx config doesn't allow a connection over HTTP as opposed to HTTPS. Below is what certbot returns, does anyone have any advice?

[root@mx1 sites-enabled]# certbot certonly --webroot --dry-run -w /var/www/html -d mx1.domain.tld
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mx1.domain.tld
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. mx1.domain.tld (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://mx1.domain.tld/.well-known/acme- … pN97ez0As: Connection refused

IMPORTANT NOTES:
- The following errors were reported by the server:

   Domain: mx1.domain.tld
   Type:   connection
   Detail: Fetching
   http://mx1.domain.tld/.well-known/acme- … pN97ez0As:
   Connection refused

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.

change url to different servers

$
0
0

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

Hi
I am not that expert with nginx and I can't figure out how to make the changes I want I hope you can help me.

I would like to change the URLs to access different services to be the like this:

SOGo: mail.mydomain.com\
admin: iredadmin.mydomail.com\

can you please help me with this?

Disabled amavis + greylisting, postfix out of order

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail 0.9.9
- downloadable installer
- debian 9
- Store mail accounts inMariaDB
- Web server Nginx
====

Hi,

I disabled amavis because it use too much CPU/RAM and is often in error:

May  5 06:59:18 mail1 amavis[1075]: (01075-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
May  5 06:59:19 mail1 amavis[1075]: (01075-01) (!)clamav-socket: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2)
May  5 06:59:25 mail1 amavis[1075]: (01075-01) (!)clamav-socket av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 113) line 613.\n
May  5 06:59:25 mail1 amavis[1075]: (01075-01) (!)WARN: all primary virus scanners failed, considering backups

So commented in /etc/postfix/main.cf

#content_filter = smtp-amavis:[127.0.0.1]:10024

And in /etc/postfix/master.cf

#  -o content_filter=smtp-amavis:[127.0.0.1]:10026

and disabled services :

systemctl disable amavis
systemctl disable clamav-daemon
systemctl disable clamav-freshclam.service

Now, delivery is out of order, even after reboot :

May 12 13:53:17 mail1 postfix/error[3281]: xxxxxxxx: to=<me@example.com>, relay=none, delay=37483, delays=37483/0.42/0/0.06, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)
May 12 14:11:08 mail1 postfix/error[5221]: xxxxx: to=<me@example.com>, relay=none, delay=93066, delays=93065/0.79/0/0.04, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

What does I miss ?

(greylisting disabled because I wasn't able to receive mail from free.fr and protonmail.com)

Regards,
GQ

[iRedMail] Connection refused after 0.9.9 update

$
0
0

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

Hi,

First of all it is for me the opportunity to thank you very much for what you do: Thank you

Everything worked perfectly until I did the update from 0.9.8 to 0.9.9.
I followed this tutorial : https://docs.iredmail.org/upgrade.iredm … 0.9.9.html
(Except LDAP parts)

Now I can reach the roundcube login page, but when I try to connect here is the error I have in logs :

May 12 14:59:54 vps000000 roundcube: PHP Warning:  stream_socket_client(): unable to connect to 127.0.0.1:143 (Connection refused) in /opt/www/roundcubemail-1.3.6/program/lib/Roundcube/rcube_imap_generic.php on line 959
May 12 14:59:54 vps000000 roundcube: <r097nvf2> IMAP Error: Login failed for info@domain.com from 78.238.xxx.xxx. Could not connect to 127.0.0.1:143: Connection refused in /opt/www/roundcubemail-1.3.6/program/lib/Roundcube/rcube_imap.php on line 196 (POST /mail/?_task=login&_action=login)

Telnet return this :

root@vps000000:/etc/fail2ban# telnet localhost 143
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

iptables return this :

root@vps000000:/etc/fail2ban# iptables -L -n
Chain INPUT (policy DROP)
target     prot opt source               destination
f2b-postfix  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0            icmptype 8
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:443
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:25
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:587
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:110
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:995
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:143
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:993

Chain FORWARD (policy DROP)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain f2b-postfix (1 references)
target     prot opt source               destination
RETURN     all  --  0.0.0.0/0            0.0.0.0/0

Any suggestion please ?
Thx

Which port is better for encrypted mail? 465 or 587?

$
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.
====
Well, that's it. Which port would be the best for encrypted mail? 465 o 587?

Google says:
465: very sure port, but that mails can get to spam
587: Unsecured port, but mails arrive in the inbox

iRedMail Nextcloud 16

$
0
0

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

Hey there,
I think I'm going a bit nuts. lol I've been trying many different NGINX configuration files to get Nextcloud working on the same server as iRedmail, but under a different sub-domain. What ever I try nothing seems to work, although the most basic config does work but doesn't add a lot to securing NC.

My current NC NGINX config is:

<code>
server {
    listen 80;
    listen [::]:80;
    root /opt/www/nextcloud;
    index  index.php index.html index.htm;
    server_name nextcloud.server.domain;

    location / {
        rewrite ^ /index.php$uri;
    }

    location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
        return 404;
    }
    location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
        return 404;
    }

    location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
        fastcgi_intercept_errors on;
        fastcgi_request_buffering off;
    }

    location ~ ^/(?:updater|ocs-provider)(?:$|/) {
        try_files $uri $uri/ =404;
        index index.php;
    }

    location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
        try_files $uri /index.php$uri$is_args$args;
        access_log off;
    }

}
</code>

This document is saved in /etc/nginx/sites-enabled as nextcloud.conf

The problem with this particular configuration is that whenever I type in the URL http://nextcloud.server.domain/ I'm redirected to https://nextcloud.server.domain/mail/.

I'm not able to spot the issue here, I hope someone else sees it and can point me in the right direction.
Any help would be much appreciated.

Cheers...


0.9.9 broken for FreeBSD 12 ?

$
0
0

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

I tried 2 times to install iRedMail on a fresh FreeBSD 12 without success.
It ends this way :

===>   p5-Locale-gettext-1.07 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>  Configuring for p5-Locale-gettext-1.07
env: /usr/local/bin/perl5.28.2: No such file or directory
*** Error code 127

Stop.
make[5]: stopped in /usr/ports/devel/p5-Locale-gettext
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/misc/help2man
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/print/texinfo
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/security/libgcrypt
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/libxslt
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-lxml
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.

Yesterday it ends on same error.
Today I issued once more portsnap fetch update but I did'nt get any further.

If I install the packages (py-lxml, libxlst, libgcrypt, ...) with pkg install it gets past this step but in the end fails to build spamassassin.

Is the install on FreeBSD 12 broken ?
I'd rather would not install it on FreeBSD 11 or Linux.

Package Integrity and authenticity check ? SHA256/PGP

$
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.
====
Does iRedmail publish check sums and PGP keys?  I hunted around the forums and checked bit bucket. 

Thanks

RHEL 8 released

Email sent to Gmail is an error.And Email sent to Yahoo gets into Spam

$
0
0

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

Nice to meet you. I built an iRedMail server, but the phenomenon described in the subject occurs.
I also set SPF, DKIM, DMARC, and the score is perfect on the mail-test site.
The certificate uses Let's encrypt.

Error email returned when sending to Gmail address:
Our system has detected that this message
    is 550-5.7.1 likely suspicious due to the very low reputation of the
    sending IP 550-5.7.1 address. To best protect our users from spam, the
    message has been 550-5.7.1 blocked. Please visit 550 5.7.1
    https://support.google.com/mail/answer/188131 for more information.
    186si5497450pfc.247 - gsmtp (in reply to end of DATA command)

Could you tell me what caused the problem if there are people with similar experiences?

Thank you very much.

nginx and php not works fine

$
0
0

==== REQUIRED BASIC INFO OF MY IREDMAIL SERVER ====
- iRedMail version (0.9.9):
- Installed by  Downloadable installer
- CentOS 7.0:
- MySQL/PGSQL
- Nginx
====

Hi, i have a problem with nginx and php.
After installation , my webserver in http shows Test Page of nginx and https is not wotking. I don't know whats problem.
When i want run a simple php script its getting for download file.
I don't know whats wrong with server . I tried many times after rebuild OS server.
What can i do?

Viewing all 12124 articles
Browse latest View live


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