Closed ramyragab1 closed 4 years ago
- Any related error in Postfix log file (/var/log/maillog)?
- does your ISP block port 25?
ifound port 25 not open in centos can you help me to find how i open port 25 in iredmail
i use cloudflare
Port 25 is open in iRedMail by default. But you need to make sure it's NOT blocked by your ISP. Nowadays most ISPs block port 25 to avoid email spams.
no my isp not block any port
mail log
May 25 19:30:50 ip80 postfix/postfix-script[1643]: starting the Postfix mail system
May 25 19:30:50 ip80 postfix/master[1658]: daemon started -- version 2.10.1, configuration /etc/postfix
May 25 19:55:47 m postfix/postfix-script[1399]: starting the Postfix mail system
May 25 19:55:47 m postfix/master[1405]: daemon started -- version 2.10.1, configuration /etc/postfix
May 25 20:01:17 m postfix/postfix-script[3290]: stopping the Postfix mail system
May 25 20:01:17 m postfix/master[1405]: terminating on signal 15
May 25 20:01:18 m postfix/postfix-script[3370]: starting the Postfix mail system
May 25 20:01:18 m postfix/master[3372]: daemon started -- version 2.10.1, configuration /etc/postfix
May 25 20:10:51 m clamd[1044]: Received 0 file descriptor(s) from systemd.
May 25 20:10:51 m clamd[1044]: clamd daemon 0.102.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
May 25 20:10:51 m clamd[1044]: Running as user amavis (UID 993, GID 990)
May 25 20:10:51 m clamd[1044]: Log file size limited to 1048576 bytes.
May 25 20:10:51 m clamd[1044]: Reading databases from /var/lib/clamav
May 25 20:10:51 m clamd[1044]: Not loading PUA signatures.
May 25 20:10:51 m clamd[1044]: Bytecode: Security mode set to "TrustSigned".
May 25 20:10:52 m postfix/postfix-script[1624]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
May 25 20:10:52 m postfix/postfix-script[1642]: starting the Postfix mail system
May 25 20:10:52 m postfix/master[1647]: daemon started -- version 2.10.1, configuration /etc/postfix
May 25 20:10:53 m amavis[1050]: starting. /usr/sbin/amavisd at m.ftmal.com amavisd-new-2.11.1 (20181009), Unicode aware, LANG="en_US.UTF-8"
May 25 20:10:53 m amavis[1050]: perl=5.016003, user=993, EUID: 993 (993); group=, EGID: 990 990 (990 990)
May 25 20:10:53 m amavis[1824]: Net::Server: Group Not Defined. Defaulting to EGID '990 990'
May 25 20:10:53 m amavis[1824]: Net::Server: User Not Defined. Defaulting to EUID '993'
May 25 20:10:53 m amavis[1824]: Using primary internal av scanner code for clamav-socket
May 25 20:10:53 m amavis[1824]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
May 25 20:11:04 m clamd[1044]: Loaded 7026966 signatures.
May 25 20:11:06 m clamd[1044]: LOCAL: Unix socket file /var/run/clamd.amavisd/clamd.socket
May 25 20:11:06 m clamd[1044]: LOCAL: Setting connection queue length to 200
May 25 20:11:06 m clamd[1948]: Limits: Global time limit set to 120000 milliseconds.
May 25 20:11:06 m clamd[1948]: Limits: Global size limit set to 104857600 bytes.
May 25 20:11:06 m clamd[1948]: Limits: File size limit set to 26214400 bytes.
May 25 20:11:06 m clamd[1948]: Limits: Recursion level limit set to 16.
May 25 20:11:06 m clamd[1948]: Limits: Files limit set to 10000.
May 25 20:11:06 m clamd[1948]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
May 25 20:11:06 m clamd[1948]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
May 25 20:11:06 m clamd[1948]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
May 25 20:11:06 m clamd[1948]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
May 25 20:11:06 m clamd[1948]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
May 25 20:11:06 m clamd[1948]: Limits: MaxPartitions limit set to 50.
May 25 20:11:06 m clamd[1948]: Limits: MaxIconsPE limit set to 100.
May 25 20:11:06 m clamd[1948]: Limits: MaxRecHWP3 limit set to 16.
May 25 20:11:06 m clamd[1948]: Limits: PCREMatchLimit limit set to 100000.
May 25 20:11:06 m clamd[1948]: Limits: PCRERecMatchLimit limit set to 2000.
May 25 20:11:06 m clamd[1948]: Limits: PCREMaxFileSize limit set to 26214400.
May 25 20:11:06 m clamd[1948]: Archive support enabled.
May 25 20:11:06 m clamd[1948]: AlertExceedsMax heuristic detection disabled.
May 25 20:11:06 m clamd[1948]: Heuristic alerts enabled.
May 25 20:11:06 m clamd[1948]: Portable Executable support enabled.
May 25 20:11:06 m clamd[1948]: ELF support enabled.
May 25 20:11:06 m clamd[1948]: Mail files support enabled.
May 25 20:11:06 m clamd[1948]: OLE2 support enabled.
May 25 20:11:06 m clamd[1948]: PDF support enabled.
May 25 20:11:06 m clamd[1948]: SWF support enabled.
May 25 20:11:06 m clamd[1948]: HTML support enabled.
May 25 20:11:06 m clamd[1948]: XMLDOCS support enabled.
May 25 20:11:06 m clamd[1948]: HWP3 support enabled.
May 25 20:11:06 m clamd[1948]: Self checking every 600 seconds.
May 25 20:16:24 m postfix/submission/smtpd[2080]: connect from m.ftmal.com[127.0.0.1]
May 25 20:16:24 m postfix/submission/smtpd[2080]: Anonymous TLS connection established from m.ftmal.com[127.0.0.1]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
May 25 20:16:24 m postfix/submission/smtpd[2080]: 49WDyw5JhLz52CVr: client=m.ftmal.com[127.0.0.1], sasl_method=LOGIN, sasl_username=1@wkala.ga
May 25 20:16:24 m postfix/cleanup[2099]: 49WDyw5JhLz52CVr: message-id=c9ea535d5b82e933e55331b544ce5d8e@wkala.ga
May 25 20:16:24 m postfix/qmgr[1652]: 49WDyw5JhLz52CVr: from=1@wkala.ga, size=516, nrcpt=1 (queue active)
May 25 20:16:24 m roundcube:
Try to stop firewall service on your iRedMail server and try again. If it doesn't work, seems your ISP blocks port 25 for inbound. Please contact your ISP to get a confirmation and ask them to unblock.
how i can stop firewall
On CentOS 7, run service firewalld stop
.
thanks mate but i tray but still not receved any email i change to other ISP
i contact isp and tell me no block for any port i do fresh install but still same error can i change port 25 to other port
Jun 4 12:05:49 m postfix/postfix-script[1631]: starting the Postfix mail system
Jun 4 12:05:49 m postfix/master[1642]: daemon started -- version 2.10.1, configuration /etc/postfix
Jun 4 12:14:07 m postfix/postfix-script[24249]: stopping the Postfix mail system
Jun 4 12:14:07 m postfix/master[1642]: terminating on signal 15
Jun 4 12:14:08 m postfix/postfix-script[24330]: starting the Postfix mail system
Jun 4 12:14:08 m postfix/master[24332]: daemon started -- version 2.10.1, configuration /etc/postfix
Jun 4 12:15:39 m postfix/postfix-script[1311]: starting the Postfix mail system
Jun 4 12:15:39 m postfix/master[1333]: daemon started -- version 2.10.1, configuration /etc/postfix
Jun 4 12:29:20 m clamd[952]: Received 0 file descriptor(s) from systemd.
Jun 4 12:29:20 m clamd[952]: clamd daemon 0.102.3 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Jun 4 12:29:20 m clamd[952]: Running as user amavis (UID 994, GID 991)
Jun 4 12:29:20 m clamd[952]: Log file size limited to 1048576 bytes.
Jun 4 12:29:20 m clamd[952]: Reading databases from /var/lib/clamav
Jun 4 12:29:20 m clamd[952]: Not loading PUA signatures.
Jun 4 12:29:20 m clamd[952]: Bytecode: Security mode set to "TrustSigned".
Jun 4 12:29:22 m postfix/postfix-script[1632]: starting the Postfix mail system
Jun 4 12:29:22 m postfix/master[1685]: daemon started -- version 2.10.1, configuration /etc/postfix
Jun 4 12:29:22 m amavis[959]: starting. /usr/sbin/amavisd at m.ftmal.com amavisd-new-2.11.1 (20181009), Unicode aware, LANG="en_US.UTF-8"
Jun 4 12:29:22 m amavis[959]: perl=5.016003, user=994, EUID: 994 (994); group=, EGID: 991 991 (991 991)
Jun 4 12:29:24 m amavis[1835]: Net::Server: Group Not Defined. Defaulting to EGID '991 991'
Jun 4 12:29:24 m amavis[1835]: Net::Server: User Not Defined. Defaulting to EUID '994'
Jun 4 12:29:24 m amavis[1835]: Using primary internal av scanner code for clamav-socket
Jun 4 12:29:24 m amavis[1835]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
Jun 4 12:29:33 m clamd[952]: Loaded 7148889 signatures.
Jun 4 12:29:35 m clamd[952]: LOCAL: Unix socket file /var/run/clamd.amavisd/clamd.socket
Jun 4 12:29:35 m clamd[952]: LOCAL: Setting connection queue length to 200
Jun 4 12:29:35 m clamd[1872]: Limits: Global time limit set to 120000 milliseconds.
Jun 4 12:29:35 m clamd[1872]: Limits: Global size limit set to 104857600 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: File size limit set to 26214400 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: Recursion level limit set to 16.
Jun 4 12:29:35 m clamd[1872]: Limits: Files limit set to 10000.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxPartitions limit set to 50.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxIconsPE limit set to 100.
Jun 4 12:29:35 m clamd[1872]: Limits: MaxRecHWP3 limit set to 16.
Jun 4 12:29:35 m clamd[1872]: Limits: PCREMatchLimit limit set to 100000.
Jun 4 12:29:35 m clamd[1872]: Limits: PCRERecMatchLimit limit set to 2000.
Jun 4 12:29:35 m clamd[1872]: Limits: PCREMaxFileSize limit set to 26214400.
Jun 4 12:29:35 m clamd[1872]: Archive support enabled.
Jun 4 12:29:35 m clamd[1872]: AlertExceedsMax heuristic detection disabled.
Jun 4 12:29:35 m clamd[1872]: Heuristic alerts enabled.
Jun 4 12:29:35 m clamd[1872]: Portable Executable support enabled.
Jun 4 12:29:35 m clamd[1872]: ELF support enabled.
Jun 4 12:29:35 m clamd[1872]: Mail files support enabled.
Jun 4 12:29:35 m clamd[1872]: OLE2 support enabled.
Jun 4 12:29:35 m clamd[1872]: PDF support enabled.
Jun 4 12:29:35 m clamd[1872]: SWF support enabled.
Jun 4 12:29:35 m clamd[1872]: HTML support enabled.
Jun 4 12:29:35 m clamd[1872]: XMLDOCS support enabled.
Jun 4 12:29:35 m clamd[1872]: HWP3 support enabled.
Jun 4 12:29:35 m clamd[1872]: Self checking every 600 seconds.
Jun 4 12:31:32 m postfix/submission/smtpd[1994]: connect from m.ftmal.com[127.0.0.1]
Jun 4 12:31:32 m postfix/submission/smtpd[1994]: Anonymous TLS connection established from m.ftmal.com[127.0.0.1]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Jun 4 12:31:32 m postfix/submission/smtpd[1994]: 49d2BX29fvz4sJ1: client=m.ftmal.com[127.0.0.1], sasl_method=LOGIN, sasl_username=postmaster@ftmal.com
Jun 4 12:31:32 m postfix/cleanup[2013]: 49d2BX29fvz4sJ1: message-id=e9a1e61cb10ccd477d3b72ea1ed5f978@ftmal.com
Jun 4 12:31:32 m postfix/qmgr[1697]: 49d2BX29fvz4sJ1: from=postmaster@ftmal.com, size=533, nrcpt=1 (queue active)
Jun 4 12:31:32 m roundcube:
i test other mail server work fine and stop all firewall and file2ban still same error
According to the log, I can see Gmail successfully connected to your server for delivery, but reject temporarily due to greylisting service, you can wait for few minutes to receive it.
But can you send out email now?
yes i can send mail but didint receved
If you send email from Gmail and cannot receive it, your Gmail account should receive a bounce message. What’s the content of this bounce message?
It’s clear that you don’t have correct DNS records for mail domain edokkans.com. Please check our tutorial to setup dns records: https://docs.iredmail.org/setup.dns.html
i will check
@ramyragab1 How was it resolved?
Yes it's solved The issue was from Cloudflare If using Cloudflare as a proxy just turn the proxy off
Thanks for reply, if i turn Proxy status to off, should it fix?
Yes 👍 because Cloudflare is blocked port 25
Oh, So I'm going to buy a private server, because I'm using a server in my house 😁, I don't want my IP address to appear in public dns. Thanks for your reply ramy شكرا لك رامي ☺
Thanks حبيبي يا هندسة 😂
after clean install on centos 7 can't received any mail only send mail i set host name ftmal.com and mx is ftmal.com