1 (edited by FlamingoBuddy 2019-07-05 21:03:38)

Topic: Extremely Slow to Receive Emails

- iRedMail version (check /etc/iredmail-release): 9.9 MARIADB
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Ubuntu LTS 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
I seem to be having troubles with receiving mail from other clients like gmail, etc. It can take around 30 minutes to an hour every time regardless of content, or source. I disabled greylisting to test, no luck. How should I go about diagnosing this issue?

Thanks :]

EDIT: Completely disabling all antivirus and security features fixed the issue, is there a way I can identify which security features are slowing the process down? Even after disabling everything I still notice a 1-3 minute delay.

2 (edited by Neutro 2019-07-05 21:27:31)

Re: Extremely Slow to Receive Emails

Hi and welcome smile

This is caused by greylisting.



Switch it to training mode:

https://forum.iredmail.org/topic12881-i … sting.html

After 2-3 months revert it back to normal mode and it will work without the delay for the mail servers which your server has already been in contact with before.

When that happens check the greylisting database and remove any unwanted server from the known server list.

This will help you reduce spam greatly.

For the 1-3 min delay check with another mailbox (gmail, yahoo..) if the delay is specific to your server.

If it is check if the hardware (cpu-ram-disk) is not saturated then make a test and copy the associated /var/log/mail.log lines here so we can see what's happening smile


Re: Extremely Slow to Receive Emails

In upcoming iRedAPD-3.0 (The postfix policy server), it will check sender server IP address against SPF record of sender domain, if IP is listed in SPF,  no greylisting applied. This should avoid many cases of delay.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee