1

Topic: iRedMail / PHPMailer very slow

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Hello,

I'm using my iRedMail server in combination with PHPMailer to send email from my webserver.
Everytime i do this it takes approximately 254 seconds before it sends an email.

Does anyone know how this can be?

Greetings,

hje.vkammen

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail / PHPMailer very slow

I have a section in my script that counts the seconds of runtime. I tried sending 7 emails from this script and this was the response: Total execution time in seconds: 1783.1004209518

3

Re: iRedMail / PHPMailer very slow

Did you use IP address of server hostname as mail server address? Is it possible that it toke too long to resolve the mail server address? You'd better test it manually like this:

$ telnet <mail_server_hostname> 25

4

Re: iRedMail / PHPMailer very slow

Hello ZhangHuangbin,

I just found the solution for my problem, i installed postfix on my webserver and using my iRedMail as a relay host.
Thankyou for youre reply.