# Mautic 5 , connecting iredmail mail server

**URL:** <https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870>\
**Category:** Product Support\
**Created:** [February 12, 2024, 9:03pm UTC](https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870 "2024-02-12T21:03:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleanth](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@kleanth](https://forum.mautic.org/u/kleanth)\
**Post date:** [February 12, 2024, 9:03pm UTC](https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870/1 "2024-02-12T21:03:12Z")

</div>

**Your software**  
My Mautic version is: 5  
My PHP version is: 8.1  
My Database type and version is: 15.1

**Your problem**  
My problem is: When i go to the email settings and on the email dns part and enter my server info(i triple checked that) it gives me a timeout error, the mautic server is running on aws meanwhile the iredmail server is running on kamatera. What should i do or check? Thank you guys in advance

These errors are showing in the log:

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [February 13, 2024, 7:26am UTC](https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870/2 "2024-02-13T07:26:04Z")

</div>

Have you checked the logs and also what ports are you using for the email?

---

<div class="post-metadata">

**Author:** ![kleanth](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@kleanth](https://forum.mautic.org/u/kleanth)\
**Post date:** [February 13, 2024, 6:38pm UTC](https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870/3 "2024-02-13T18:38:20Z")

</div>

which log specifically here i have the apache one : [Tue Feb 13 11:28:53.737646 2024] [authz\_core:error] [pid 259821] [client 5.188.210.227:48681] AH01630: client denied by server configuration: /var/www/html/echo.php, referer: [https://www.google.com/](https://www.google.com/)  
[Tue Feb 13 16:15:57.315045 2024] [access\_compat:error] [pid 259818] [client 35.91.44.152:44854] AH01797: client denied by server configuration: /var/www/html/app/.env  
[Tue Feb 13 16:15:57.630277 2024] [access\_compat:error] [pid 259821] [client 35.91.44.152:44856] AH01797: client denied by server configuration: /var/www/html/app/.env  
[Tue Feb 13 16:16:10.993425 2024] [authz\_core:error] [pid 259822] [client 35.91.44.152:37456] AH01630: client denied by server configuration: /var/www/html/frontend\_dev.php  
[Tue Feb 13 16:16:14.061611 2024] [authz\_core:error] [pid 259821] [client 35.91.44.152:37522] AH01630: client denied by server configuration: /var/www/html/phpinfo.php  
[Tue Feb 13 16:16:14.376623 2024] [authz\_core:error] [pid 259822] [client 35.91.44.152:37538] AH01630: client denied by server configuration: /var/www/html/info.php  
and as for ports im using port 25 at email dns, and as for the server from where mautic is working:

1. UDP port 323
2. UDP port 53
3. UDP port 68
4. TCP port 3306
5. TCP port 53
6. TCP port 22
7. TCP port 80

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [February 14, 2024, 9:16am UTC](https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870/4 "2024-02-14T09:16:12Z")

</div>

Can you check Maurice and the mail server logs.

---

<div class="post-metadata">

**Author:** ![kleanth](https://avatars.discourse-cdn.com/v4/letter/k/d9b06d/32.png) [@kleanth](https://forum.mautic.org/u/kleanth)\
**Post date:** [February 14, 2024, 11:14pm UTC](https://forum.mautic.org/t/mautic-5-connecting-iredmail-mail-server/30870/5 "2024-02-14T23:14:15Z")

</div>

if by maurice you meant mautic(hope so), here are the logs: [2024-02-09 19:16:20] mautic.WARNING: PHP Warning - Undefined array key “path” - in file /var/www/html/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 109 {“hostname”:“ip-”,“pid”:}  
[2024-02-09 19:16:30] mautic.WARNING: PHP Warning - Undefined array key “path” - in file /var/www/html/app/bundles/CoreBundle/Controller/ExceptionController.php - at line 109 {“hostname”:“ip-”,“pid”:}  
and here are mail server logs: Feb 14 23:20:19 mail postfix/postscreen[851485]: DISCONNECT [Redacted]:[Redacted]  
Feb 14 23:25:14 mail postfix/smtps/smtpd[851675]: connect from unknown[Redacted]  
Feb 14 23:25:14 mail postfix/smtps/smtpd[851675]: SSL\_accept error from unknown[Redacted]: -1  
Feb 14 23:25:14 mail postfix/smtps/smtpd[851675]: warning: TLS library problem: error:0A00009C:SSL routines::http request:…/ssl/record/ssl3\_record.c:345:  
Feb 14 23:25:14 mail postfix/smtps/smtpd[851675]: lost connection after CONNECT from unknown[Redacted]  
Feb 14 23:25:14 mail postfix/smtps/smtpd[851675]: disconnect from unknown[Redacted] commands=0/0  
Feb 14 23:32:31 mail postfix/smtps/smtpd[851930]: connect from [scanner-25.ch1.censys-scanner.com](http://scanner-25.ch1.censys-scanner.com)[Redacted]  
Feb 14 23:32:31 mail postfix/smtps/smtpd[851930]: Anonymous TLS connection established from [scanner-25.ch1.censys-scanner.com](http://scanner-25.ch1.censys-scanner.com)[Redacted]: TLSv1.3 with cipher TLS\_CHACHA20\_POLY1305\_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256  
Feb 14 23:32:32 mail postfix/smtps/smtpd[851930]: discarding EHLO keywords: CHUNKING  
Feb 14 23:32:32 mail postfix/smtps/smtpd[851930]: lost connection after EHLO from [scanner-25.ch1.censys-scanner.com](http://scanner-25.ch1.censys-scanner.com)[Redacted]  
Feb 14 23:32:32 mail postfix/smtps/smtpd[851930]: disconnect from [scanner-25.ch1.censys-scanner.com](http://scanner-25.ch1.censys-scanner.com)[Redacted] ehlo=1 commands=1  
Feb 14 23:35:52 mail postfix/anvil[851933]: statistics: max connection rate 1/60s for (465:Redacted) at Feb 14 23:32:31  
Feb 14 23:35:52 mail postfix/anvil[851933]: statistics: max connection count 1 for (465:Redacted) at Feb 14 23:32:31  
Feb 14 23:35:52 mail postfix/anvil[851933]: statistics: max cache size 1 at Feb 14 23:32:31  
Feb 14 23:39:52 mail postfix/postscreen[852151]: CONNECT from [Redacted]:[Redacted] to [113.30.150.239]:25  
Feb 14 23:39:52 mail postfix/postscreen[852151]: PREGREET 11 after 0.02 from [Redacted]:[Redacted]: EHLO User\r\n  
Feb 14 23:39:52 mail postfix/postscreen[852151]: DISCONNECT [Redacted]:[Redacted]  
Feb 14 23:41:51 mail postfix/postscreen[852226]: CONNECT from [Redacted]:[Redacted] to [113.30.150.239]:25  
Feb 14 23:41:51 mail postfix/postscreen[852226]: PREGREET 9 after 0.26 from [Redacted]:[Redacted]: EHLO \r\n  
Feb 14 23:41:51 mail postfix/postscreen[852226]: DISCONNECT [Redacted]:[Redacted]
