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.
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)