Control Web Panel
WebPanel => Postfix => Topic started by: leebrimlow on December 11, 2024, 02:24:07 PM
-
Hello, i have a problem that i can not send any e-mail to any mail server. or temp-mail or outlook or live.com
i can receive but can not send.
i only can send and receive from Gmail.
(https://up6.cc/2024/12/17339269518572.png)
(https://up6.cc/2024/12/173392701413451.png)
-
Disable csf firewall, make sure there are no blocked IPs and routing to the hosts (IPs) listed in your post is fine. Try to connect to the port 25 of the hosts manually using "telnet" to diagnose the problem.
-
Agreed make sure port 25 is open, and allowed by your provider. Most providers now a days have it block to stop spammers.
What OS are you using AlmaLinux 8 or 9?
Are you sending a test email for the CLI?
If not, try:
https://kb.starburstservices.com/tips-and-tricks/sending-test-email-in-almalinux-8-9-from-cli-using-s-nail/ (https://kb.starburstservices.com/tips-and-tricks/sending-test-email-in-almalinux-8-9-from-cli-using-s-nail/)
-
i have disabled the firewall and still the same problem
i tried telnet these IPs and got connection refused or timeout
When i connect to my other server with port 465 , it connects.
(https://up6.cc/2024/12/173399941348521.png)
i run: AlmaLinux release 8.10
i got this log from /var/mailog
Dec 12 11:54:40 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.8.45]:25: Connection timed out
Dec 12 11:55:10 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.42.11]:25: Connection timed out
Dec 12 11:55:40 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.73.3]:25: Connection timed out
Dec 12 11:55:40 panel postfix/smtp[2808727]: 06E5A1006E1B: to=<leebrimlow@outlook.com>, relay=none, delay=76060, delays=75940/0.1/120/0, dsn=4.4.1, status=deferred (connect to outlook-com.olc.protection.outlook.com[52.101.73.3]:25: Connection timed out)
Dec 12 11:56:23 panel postfix/smtpd[2809609]: connect from localhost[127.0.0.1]
Dec 12 11:56:23 panel postfix/smtpd[2809609]: 75BAD1016739: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=mahmoud@forsanhotels.sa
Dec 12 11:56:23 panel postfix/cleanup[2809612]: 75BAD1016739: message-id=<0827005e3c05c904360e2a743574a2a1@forsanhotels.sa>
Dec 12 11:56:23 panel opendkim[2806225]: 75BAD1016739: DKIM-Signature field added (s=default, d=forsanhotels.sa)
Dec 12 11:56:23 panel postfix/qmgr[2806220]: 75BAD1016739: from=<mahmoud@forsanhotels.sa>, size=603, nrcpt=1 (queue active)
Dec 12 11:56:23 panel postfix/smtpd[2809609]: disconnect from localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Dec 12 11:56:53 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.68.9]:25: Connection timed out
Dec 12 11:56:54 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.41.57]:25: Connection refused
Dec 12 11:56:55 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.11.16]:25: Connection refused
Dec 12 11:56:56 panel postfix/smtp[2808727]: connect to outlook-com.olc.protection.outlook.com[52.101.68.28]:25: Connection refused
Dec 12 11:56:56 panel postfix/smtp[2808727]: 75BAD1016739: to=<leebrimlow@outlook.com>, relay=none, delay=33, delays=0.14/0.01/33/0, dsn=4.4.1, status=deferred (connect to outlook-com.olc.protection.outlook.com[52.101.68.28]:25: Connection refused)
-
It looks like you try to connect to the remote servers from LAN. Is my guess correct ? If so then contact your ISP and ask to unblock the port 25 for you.
-
No, not at all. i just want to send receive E-mails :'( , the connection to outlook or any other server is refused.
it only accept receive and send E-mails to Gmail.
-
Pal, you are experiencing the problem not associated with CWP at all because you disabled firewall but it hasn't solved the problem. You can't establish the connection from the command prompt (shell) either. Therefore it means the problem is caused by you network settings or your ISP.