Mautic 5 , connecting iredmail mail server

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:

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

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/
[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
1 Like

Can you check Maurice and the mail server logs.

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[Redacted]
Feb 14 23:32:31 mail postfix/smtps/smtpd[851930]: Anonymous TLS connection established from 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[Redacted]
Feb 14 23:32:32 mail postfix/smtps/smtpd[851930]: disconnect from 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]