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

Amavis letting "Passed BANNED" email through

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition (updated from 1.0)
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu (Server) 18.04.4 LTS
- 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.
====

I am using smtp relayhost in my Postfix configuration and I have the following settings in my /etc/amavis/conf.d/20-debian_defaults

$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_BOUNCE;
$final_bad_header_destiny = D_PASS;

but Amavis is still letting "Passed BANNED" mails through. I read somewhere in the forum that policies are handled by SQL and in "amavisd.policy", "banned_files_lover" has be set to "N". So the related settings in "20-debian_defaults" have no effect?

I also have a problem with bounce mails.

I have set "warnbannedsender => 1" in "$policy_bank{'ORIGINATING'}" of my "/etc/amavis/conf.d/50-user"

If I send a banned file from an internal (within our domain) email address to another internal email address, I do receive the bounce notification from "postmaster@domain.com" and also a report from "postmaster@mail.domain.com" (why the mail. ?!) sent to "postmaster@domain.com", however I do not receive any bounce notification nor a report to postmaster if I send a banned file from an external email address.


iredadmin not running under Docker

$
0
0

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

Hi,

i have problem on iredadmin, im using Docker Image Ubuntu 18.04.3 LTS, when i hit https://localhost/iredadmin i got error 502 Bad Gateway

this my /var/log/nginx/error.log

2020/03/04 10:41:38 [error] 30884#30884: *94 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "localhost"
2020/03/04 10:48:06 [error] 30884#30884: *106 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "localhost"
2020/03/04 10:48:07 [error] 30884#30884: *106 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "localhost"

i have been restart uwsgi

root@mx1:/# service uwsgi restart
* Restarting app server(s) uwsgi                                                                                              [ OK ]
root@mx1:/#

but i dont see in my process

root@mx1:/# ps -ef | grep uws
root      1668     6  0 10:54 pts/0    00:00:00 grep --color=auto uws
root@mx1:/#

can u help me for that error? thanks smile

Confirm updated to latest version?

$
0
0

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

Is there a way to confirm that an install is at the latest version and nothing being used has been left behind?

SMTP Connection Time and DKIM_invalid

$
0
0

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

Hey there,

two little problems with my iRedMail-Server I couldn't find an answer for iin the forum or in the docs.

1 - SMTP Connection Time: When ever I send an email the smtp connection takes about 5 to 10 sec before the mail is accepted by the server. Is teher any way to speed this up? I guess it has something to do with postfix in the first place?

2 - DKIM_invalid: The mail test on mail-tester.com shows me that my dkim is invalid:

X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail-tester.com
X-Spam-Level:
X-Spam-Status: No/0.1/5.0
X-Spam-Test-Scores: DKIM_SIGNED=0.1,SPF_PASS=-0.001,T_DKIM_INVALID=0.01,
    T_SPF_HELO_TEMPERROR=0.01,URIBL_BLOCKED=0.001
...
X-Spam-Date-of-Scan: Thu, 05 Mar 2020 10:42:16 +0100
X-Spam-Report:
    *  0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed
    *      (temperror)
    * -0.0 SPF_PASS SPF: sender matches SPF record
    *  0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
    *       valid
    *  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
    *      blocked.  See
    *      http://wiki.apache.org/spamassassin/Dns … nsbl-block
    *      for more information.
    *  0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid

The test passes but I am afraid that soome mailservers won't accept my mails at all.

Any hints on the two issues?

Thx for your help, Mike

SMTP Connection Time and DKIM_invalid [edit for more informations]

$
0
0

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

Hey there,

two little problems with my iRedMail-Server I couldn't find an answer for in the forum or in the docs.

1 - SMTP Connection Time: When ever I send an email the smtp connection takes about 5 to 10 sec before the mail is accepted by the server. Is there any way to speed this up? I guess it has something to do with postfix in the first place?

2 - DKIM_invalid: The mail test on mail-tester.com shows me that my dkim is invalid:

X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail-tester.com
X-Spam-Level:
X-Spam-Status: No/0.1/5.0
X-Spam-Test-Scores: DKIM_SIGNED=0.1,SPF_PASS=-0.001,T_DKIM_INVALID=0.01,
    T_SPF_HELO_TEMPERROR=0.01,URIBL_BLOCKED=0.001
...
X-Spam-Date-of-Scan: Thu, 05 Mar 2020 10:42:16 +0100
X-Spam-Report:
    *  0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed
    *      (temperror)
    * -0.0 SPF_PASS SPF: sender matches SPF record
    *  0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
    *       valid
    *  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
    *      blocked.  See
    *      http://wiki.apache.org/spamassassin/Dns … nsbl-block
    *      for more information.
    *  0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid

The test passes but I am afraid that some mail servers won't accept my mails at all. The amavisd-new testkeys on the server is positiv and passes. I did the configuration of the domains as described in Sign DKIM signature on outgoing emails for new mail domain.

Especially the T_DKIM_INVALID DKIM-Signature header exists but is not valid part confuses me.

Any hints on the two issues?

Thx for your help, Mike

Amavis not sending BANNED/VIRUS warning message to external senders

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition (updated from 1.0)
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu (Server) 18.04.4 LTS
- 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.
====

I have a problem with warning messages in case of BANNED/VIRUS content.

I am using an external relayhost in my Postfix configuration and I have the following settings in my /etc/amavis/conf.d/20-debian_defaults

$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_BOUNCE;
$final_bad_header_destiny = D_PASS;

I have set warnbannedsender => 1 and warnvirussender => 1 in $policy_bank{'ORIGINATING'} of my /etc/amavis/conf.d/50-user and in amavis.policy SQL table, virus_lover is set to N and banned_files_lover is set to Y.

If I send a banned/virus file from user1@ourdomain.com to user2@ourdomain.com, user1@ourdomain.com receives the warning message accordingly.

example warning for sending banned file:


BANNED CONTENTS ALERT

Our content checker found
    banned name: application/x-msdownload,.image,.png,test.dll

in email presumably from you <user1@ourdomain.com>
to the following recipient:
-> user2@ourdomain.com

Our internal reference code for your message is ...


The warning comes from postmaster@ourdomain.com and also a report from postmaster@mail.ourdomain.com (why the mail. though?!) will be sent to postmaster@domain.com.

If the banned/virus file sender is from an external domain, the sender does not receive any warning! Nor any report will be sent to postmaster@domain.com.

My guess is that somehow Amavis/Postfix do not follow the same relayhost smtp settings for sending warning messages! What do I look for?

[Closed] SMTP Connection Time and DKIM_invalid

$
0
0

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

Hey there,

two little problems with my iRedMail-Server I couldn't find an answer for in the forum or in the docs.

1 - SMTP Connection Time: When ever I send an email the smtp connection takes about 5 to 10 sec before the mail is accepted by the server. Is there any way to speed this up? I guess it has something to do with postfix in the first place?

2 - DKIM_invalid: The mail test on mail-tester.com shows me that my dkim is invalid:

X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail-tester.com
X-Spam-Level:
X-Spam-Status: No/0.1/5.0
X-Spam-Test-Scores: DKIM_SIGNED=0.1,SPF_PASS=-0.001,T_DKIM_INVALID=0.01,
    T_SPF_HELO_TEMPERROR=0.01,URIBL_BLOCKED=0.001
...
X-Spam-Date-of-Scan: Thu, 05 Mar 2020 10:42:16 +0100
X-Spam-Report:
    *  0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed
    *      (temperror)
    * -0.0 SPF_PASS SPF: sender matches SPF record
    *  0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
    *       valid
    *  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
    *      blocked.  See
    *      http://wiki.apache.org/spamassassin/Dns … nsbl-block
    *      for more information.
    *  0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid

The test passes but I am afraid that some mail servers won't accept my mails at all. The amavisd-new testkeys on the server is positiv and passes. I did the configuration of the domains as described in Sign DKIM signature on outgoing emails for new mail domain.

Especially the T_DKIM_INVALID DKIM-Signature header exists but is not valid part confuses me.

Any hints on the two issues?

Thx for your help, Mike

Problem

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installar
- Linux/BSD distribution name and version:  Ubuntu 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? iRedAdmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

I need sone help with my iredmail 1.1 / fetchmail

We have a domain in readyhosting.com with all my mails accounts with our domain kakata.com

I want to replace my old mailtrak server so i installed iredmail server to serve all emails account locally. We will use the roundcube to receive and send emails locally from this server.
The iredmail will run locally but will download all emails from readyhosting(kakata.com) using fetchmail and send emails with the relay options to use kakata.com as relay hosts.

Everythings is working fine to send emails, but i have a problem to receive emils correctly from the remote server with the fetchmail.

My fetchmailrc is:

set postmaster "postmaster@kakata.com"
set no bouncemail
set no spambounce
set properties ""
set logfile "/var/log/fetchmail.log"
set daemon 20
poll "pop.readyhosting.com"
with protocol pop3
user "dummy@kakata.com" there with password "DUMMYdummy2020" is "dummy@kakata.com" here


The problem is when the fetchmail program download the mail from remote dummy@kakata.com email account, it doesn't deliver to the same locally account.
If i use different target account, it works. For example if i change:

user "dummy@kakata.com" there with password "DUMMYdummy2020" is "test@kakata.com" here

In this case it works by sending the dummy@kakata.com mail from the remote server to the "test@kakata.com" account on the local server.

I think the problem is because both domains name are the same,  but i need both local and remote to be the same domain (kakata.com)

I will really appreciate any help.

Regards,
Carlos


Amavis not detecting viruses based on CalmAV unofficial signatures

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition (updated from 1.0)
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu (Server) 18.04.4 LTS
- 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.
====

I have followed the following guide to add Sanesecurity unofficial signatures to my ClamAV:

https://github.com/extremeshok/clamav-u … -debian.md

I tested the new signatures by running clamscan in my mailbox directory and it found more viruses, however amavis is still showing a "Passed CLEAN".

qr'^MAIL$', is uncommented under @keep_decoded_original_maps and @virus_name_to_spam_score_maps is also adjusted according to https://sanesecurity.com/support/problems/

Here is maillog with with amavisd log level 5:

https://pastebin.com/FzxzemG4

Amavis not detecting infected .doc file / CalmAV unofficial signatures

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition (updated from 1.0)
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu (Server) 18.04.4 LTS
- 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.
====

I have followed the following guide to add Sanesecurity unofficial signatures to my ClamAV:

https://github.com/extremeshok/clamav-u … -debian.md

I tested the new signatures by running clamscan in my mailbox directory and it found more viruses, however amavis is still showing a "Passed CLEAN". It's a .doc File named PO_05032020.doc

/etc/amavis/conf.d/50-user:
qr'^MAIL$', is uncommented under @keep_decoded_original_maps and @virus_name_to_spam_score_maps is also adjusted according to https://sanesecurity.com/support/problems/

Here is maillog with with amavisd log level 5:

https://pastebin.com/FzxzemG4

(550 5.1.1) - Recipient address rejected: User unknown in virtual mail

$
0
0

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

Mar  7 22:22:00 [USER] postfix/smtpd[50212]: NOQUEUE: reject: RCPT from *relayserver.domain.com*[**.***.***.**]: 550 5.1.1 <test.user@recipientdomain.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<***@*****.com> to=<test.user@recipientdomain.comk> proto=ESMTP helo=<*relayserver.com*>
Mar  7 22:22:01 [USER] postfix/smtpd[50212]: disconnect from *relayserver.domain.com*[**.***.***.**]

OpenBSD uwsgi-2.0.18 missing

$
0
0

I'm trying to install iRedMail on OpenBSD 6.6. The installation is fails because it can't find version .18. I looked at the repository and uwsgi-2.0.17 is the latest version there.

[ INFO ] Checking new version of iRedMail ...
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 5: https://dl.iredmail.org/yum/misc/uwsgi-2.0.18.tar.gz
ftp: Error retrieving file: 404 Not Found
[ INFO ] + 2 of 5: https://dl.iredmail.org/yum/misc/iRedAdmin-1.0.tar.bz2
iRedAdmin-1.0.tar.bz2 100% |****************************|   386 KB    00:01   
[ INFO ] + 3 of 5: https://dl.iredmail.org/yum/misc/mlmmjadmin-2.1.tar.gz
mlmmjadmin-2.1.tar.gz 100% |****************************| 39814       00:00   
[ INFO ] + 4 of 5: https://dl.iredmail.org/yum/misc/iRedAPD-3.4.tar.gz
iRedAPD-3.4.tar.gz 100% |*******************************|   112 KB    00:00   
[ INFO ] + 5 of 5: https://dl.iredmail.org/yum/misc/roundc … ete.tar.gz
roundcubemail-1.4.2-co... 100% |************************|  6841 KB    00:07   
[ INFO ] Validate downloaded source tarballs ...
cksum: cannot open misc/uwsgi-2.0.18.tar.gz: No such file or directory
(SHA256) misc/uwsgi-2.0.18.tar.gz: MISSING
(SHA256) misc/iRedAdmin-1.0.tar.bz2: OK
(SHA256) misc/mlmmjadmin-2.1.tar.gz: OK
(SHA256) misc/iRedAPD-3.4.tar.gz: OK
(SHA256) misc/roundcubemail-1.4.2-complete.tar.gz: OK
    [ FAILED ]
<< ERROR >> Package verification failed. Script exit ...

Installing memcached

$
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? downloadable 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.
====

Hello, I am wondering the process of installing memcached on the Iredmail server. I am receiving some error entries in the logs and in the crontab that I receive daily. How do I implement it to function correctly as a Sogo cache?

Configuring iRedMail as only a backup MX

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 MARIADB edition
- 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): MARIADB
- Web server (Apache or Nginx): None
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I successfully deployed my first iRedMail server accepting mail for multiple domains. Now I'm trying to set up a second one as a backup MX. Ideally I don't want to have to configure any users/aliases on this server but just have it do antispam/virus, accept mail for my domains, and forward to the primary MX.

I installed iRedMail as I did for the first server, added all of my domains to the domain table, and set backup_mx = 1 for all domains.

I did not add any mailboxes, aliases, etc.

However, when I send mail to one of the users I get:
Mar  8 03:30:40 mx2 postfix/pipe[2128]: 48Zn1X0pGSzcs7x: to=<REDACTED>, relay=dovecot, delay=0.11, delays=0.02/0.02/0/0.08, dsn=5.1.1, status=bounced (user unknown)

How can I configure iRedMail to act as a backup MX as described above. Thanks!

Alias domain AND alias user

$
0
0

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

If I want to forward alias@domain2.com to user@domain1.com do I need to add records to alias_domain, alias, and forwardings? Or just alias and forwardings?

The example is alias@domain1.com to user@domain1.com, but in my example I want the alias on a different domain than the user.

Thanks.


I can send but not receive email

$
0
0

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

I installed iRedMail on a new server, I migrated the data from my old server, everything was successful, there were no errors. The problem is that after resetting the information in the new server, I can send mails, they are stored correctly in the server and they arrive to the recipient but I cannot receive mails.

If I send an email to the server with iRedMail it never arrives.
I have already verified that the directories have the corresponding permissions.
The A and MX records are correct. In fact, I only had to update the IP of record A to point to the new server.



Execute the following commands:
sudo chown -R vmail:vmail /var/vmail
sudo chmod -R 755 /var/vmail
sudo chmod -R g+w /var/vmail
sudo find /var/vmail -type f -exec chmod 664 {};
sudo find /var/vmail -type d -exec chmod 775



This is the result of running the following command
sudo lsof -i -P -n | grep LISTEN

systemd-r   338 systemd-resolve   13u  IPv4    568      0t0  TCP 127.0.0.53:53 (LISTEN)
php-fpm7.   426            root    7u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)
memcached   447        memcache   26u  IPv4  18917      0t0  TCP 127.0.0.1:11211 (LISTEN)
sshd        464            root    3u  IPv4  16967      0t0  TCP *:22 (LISTEN)
sshd        464            root    4u  IPv6  16969      0t0  TCP *:22 (LISTEN)
uwsgi       465       iredadmin    6u  IPv4  18858      0t0  TCP 127.0.0.1:7791 (LISTEN)
uwsgi       467           mlmmj    6u  IPv4  15841      0t0  TCP 127.0.0.1:7790 (LISTEN)
nginx       472            root    8u  IPv4  17842      0t0  TCP *:443 (LISTEN)
nginx       472            root    9u  IPv4  17843      0t0  TCP *:80 (LISTEN)
nginx       473        www-data    8u  IPv4  17842      0t0  TCP *:443 (LISTEN)
nginx       473        www-data    9u  IPv4  17843      0t0  TCP *:80 (LISTEN)
uwsgi       499           mlmmj    6u  IPv4  15841      0t0  TCP 127.0.0.1:7790 (LISTEN)
uwsgi       500           mlmmj    6u  IPv4  15841      0t0  TCP 127.0.0.1:7790 (LISTEN)
uwsgi       501           mlmmj    6u  IPv4  15841      0t0  TCP 127.0.0.1:7790 (LISTEN)
uwsgi       502           mlmmj    6u  IPv4  15841      0t0  TCP 127.0.0.1:7790 (LISTEN)
uwsgi       503           mlmmj    6u  IPv4  15841      0t0  TCP 127.0.0.1:7790 (LISTEN)
uwsgi       574       iredadmin    6u  IPv4  18858      0t0  TCP 127.0.0.1:7791 (LISTEN)
uwsgi       575       iredadmin    6u  IPv4  18858      0t0  TCP 127.0.0.1:7791 (LISTEN)
uwsgi       576       iredadmin    6u  IPv4  18858      0t0  TCP 127.0.0.1:7791 (LISTEN)
uwsgi       577       iredadmin    6u  IPv4  18858      0t0  TCP 127.0.0.1:7791 (LISTEN)
uwsgi       578       iredadmin    6u  IPv4  18858      0t0  TCP 127.0.0.1:7791 (LISTEN)
mysqld      579           mysql   22u  IPv4  17879      0t0  TCP 127.0.0.1:3306 (LISTEN)
python2     581         iredapd    3u  IPv4  16108      0t0  TCP 127.0.0.1:7777 (LISTEN)
dovecot     674            root   15u  IPv4  19416      0t0  TCP 127.0.0.1:4190 (LISTEN)
dovecot     674            root   21u  IPv4  19420      0t0  TCP 127.0.0.1:24242 (LISTEN)
dovecot     674            root   28u  IPv4  19426      0t0  TCP *:110 (LISTEN)
dovecot     674            root   29u  IPv4  19427      0t0  TCP *:995 (LISTEN)
dovecot     674            root   33u  IPv4  19473      0t0  TCP 127.0.0.1:24 (LISTEN)
dovecot     674            root   43u  IPv4  19483      0t0  TCP *:143 (LISTEN)
dovecot     674            root   44u  IPv4  19484      0t0  TCP *:993 (LISTEN)
dovecot     674            root   63u  IPv4  19505      0t0  TCP 127.0.0.1:12340 (LISTEN)
lmtp        769           vmail    9u  IPv4  19473      0t0  TCP 127.0.0.1:24 (LISTEN)
lmtp        775           vmail    9u  IPv4  19473      0t0  TCP 127.0.0.1:24 (LISTEN)
lmtp        777           vmail    9u  IPv4  19473      0t0  TCP 127.0.0.1:24 (LISTEN)
lmtp        778           vmail    9u  IPv4  19473      0t0  TCP 127.0.0.1:24 (LISTEN)
lmtp        779           vmail    9u  IPv4  19473      0t0  TCP 127.0.0.1:24 (LISTEN)
sogod       885            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       907            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       909            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       910            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       911            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       912            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       913            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       914            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       915            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       916            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
sogod       931            sogo    3u  IPv4  22554      0t0  TCP 127.0.0.1:20000 (LISTEN)
/usr/sbin  1388          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  1388          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  1388          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  1388          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
master     1745            root   13u  IPv4  23058      0t0  TCP *:25 (LISTEN)
master     1745            root  115u  IPv4  23159      0t0  TCP *:587 (LISTEN)
master     1745            root  127u  IPv4  23172      0t0  TCP 127.0.0.1:10025 (LISTEN)
master     1745            root  130u  IPv4  23176      0t0  TCP 127.0.0.1:10028 (LISTEN)
netdata    1755         netdata    4u  IPv4  23588      0t0  TCP 127.0.0.1:19999 (LISTEN)
netdata    1755         netdata   35u  IPv4  19833      0t0  TCP 127.0.0.1:8125 (LISTEN)
stats      2056         dovecot   11u  IPv4  19420      0t0  TCP 127.0.0.1:24242 (LISTEN)
/usr/sbin  2069          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2069          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2069          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2069          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2070          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2070          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2070          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2070          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2071          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2071          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2071          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2071          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2072          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2072          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2072          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2072          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2073          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2073          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2073          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2073          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2074          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2074          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2074          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2074          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2075          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2075          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2075          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2075          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
/usr/sbin  2076          amavis    5u  IPv4  21009      0t0  TCP 127.0.0.1:10024 (LISTEN)
/usr/sbin  2076          amavis    6u  IPv4  21010      0t0  TCP 127.0.0.1:10026 (LISTEN)
/usr/sbin  2076          amavis    7u  IPv4  21011      0t0  TCP 127.0.0.1:10027 (LISTEN)
/usr/sbin  2076          amavis    8u  IPv4  21012      0t0  TCP 127.0.0.1:9998 (LISTEN)
php-fpm7. 14701        www-data   10u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)
php-fpm7. 14703        www-data   10u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)
php-fpm7. 14707        www-data   10u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)
php-fpm7. 14709        www-data   10u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)
php-fpm7. 14712        www-data   10u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)
php-fpm7. 14801        www-data   10u  IPv4  17026      0t0  TCP 127.0.0.1:9999 (LISTEN)



I ran out of ideas, I've been consulting publications with the same problem but I still can't find a solution, could someone help me?

The ports are also open within the network, I've exhausted most of the possible causes of this problem but I can't think of what else it could be.

I've sent mail to myself from iCloud and Gmail, neither of which has returned any error messages saying that the server or mail address can't be found, so I've assumed that they arrive at the new server but aren't stored by some erroneous permission or something else.

One user can't see new email in inbox

$
0
0

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

Hello,

One of my users can't see mail received over past 2-3 days in Sogo or Thunderbird. Maillog shows mail received OK and sent to Dovecot.

While investigating this, iRedAdmin showed "internal server failure" when trying to check user's account setting. Restarted Nginx and that went away.

Also restarted Dovecot, but no change to this user.

OpenBSD dialog-1.3.20190808 install fails

$
0
0

dialog package fails to install. I don't think this is a iRedMail fault. I will contact the package maintainer. I wanted to make you aware of the problem.

mail5:~/iRedMail-1.1# bash iRedMail.sh
[ INFO ] Install package: dialog
[ INFO ] Installing packages (pkg_add -i -m): dialog
--- dialog-1.3.20190808 -------------------
dialog-1.3.20190808 is not for the right architecture
Couldn't install dialog-1.3.20190808
[ INFO ] Checking configuration file: /root/iRedMail-1.1/config ...[ INFO ] Found, but not finished. Launching installation wizard.
/root/iRedMail-1.1/dialog/config_via_dialog.sh: line 44: dialog: command not found
[ INFO ] Exit.

Databases migration to different shared server

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? unsure
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? unsure
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Our current setup doesn't have high availability. Looking into setting up HA. I have 2 questions.

1. In document https://docs.iredmail.org/haproxy.keepa … terfs.html "iredapd" database is excluded from replication. Is there a reason for this? Will it break anything if we replicate it?

2. Can we migrate mysql databases (vmail, amavisd, roundcubemail, iredadmin,iredapd) to a different server (to EC2 or RDS)? There is a document on how to install iRedMail using remote mysql but not document listed on how to migrate and then change connection strings. If this is possible then planning on using one RDS and multiple email servers running iRedMail services

Thanks!

Add customer subdomain in DNS pointing to mail server?

$
0
0

Hi,

I have an iRedMail server running on mail.mydomain.com.
I would like my customers to connect to mail.customerdomain.com in their mail config and end up at the same mail server.
Is adding A and AAAA records enough? Or do I need to do more like certificate stuff?

Regards,

Rinze

Viewing all 12132 articles
Browse latest View live


Latest Images

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