Hi Everything is installed. The web works, but email isn't sending. For example, if I send a Hotmail message, the mail log shows this: 2026-01-10T17:30:09.270607+02:00 huswood postfix/smtp[10081]: 35A8E10083B: to=<[email protected]>, relay=none, delay=16979, delays=16859/0.04/120/0, dsn=4.4.1, status=deferred (connect to hotmail-com.olc.protection.outlook.com[52.101.41.57]:25: Connection timed out) And in the mail queue, it shows this: 7C83B101D61 615 Tue Jan 6 15:04:33 xxxxxxxxxxxx (connect to hotmail-com.olc.protection.outlook.com[52.101.42.19]:25: Connection timed out) xxxxxxxxxxxxx Port 25 open. Can someone help?
Very likely, port 25 is not open in a firewall or router in front of your server. If it were open, you would be able to connect to the Outlook server on port 25. What you see there is not an installation issue. Please contact the support of the datacenter where you host the server or the provider that provides the internet connection for this system and ask them to open port 25.
Typical hosting@home issue, where the isp blocks port 25 to anywhere else but their own smtp server. Some datacenters do the same. If that's the case they'll most likely refuse to open the port for you. Set their smtp server as relayhost in ispconfig.
Port 25 open. I checked with telnet. janekpijakov@MacBook-Pro-Janek ~ % telnet 94.246.242.223 25 Trying 94.246.242.223... Connected to 94-246-242-223.ip.elisa.ee. Escape character is '^]'. 220 isp.huswood.ee ESMTP Postfix (Ubuntu)
When postfix says port 25 from your server to outlook.com is not open, then it's not open . It appears that you tested a connection from your desktop to the SMTP server of your ISP or your local server, but not from your Linux server to an external server like Outlook. As mentioned above, connections to your own server of the smtp server of your ISP will work when they block port 25. You must test with this command: Code: telnet hotmail-com.olc.protection.outlook.com 25 to see if port 25 outgoing is blocked by your ISP or data center, or not. And the telnet command must be run on your Linux server and not your desktop.
I am having the exact same probem with not able to send out emails, but can recevied emails. connect to alt4.aspmx.l.google.com[192.178.164.27]:25: Connection timed out hosting confirmed that port 25 is blocked, and can not open for me. they suggest me to use other port to send emails like 456 or use 3rd party mail relay. 1. So is there any way to send out emails without port 25 open? 2. Does using 3rd party mail relay resolve the issue?
No, not directly from your server without a relay server. yes. Or go to another hoster that allows it to run mail servers.
1. Where to set SMTP RELAY in ispconfig? 2. SMTP RELAY requires to setup sender email, but I have a lot of mailbox user with different sender email. Usually how to handle that?
System > Server config > Email Use a relay service that does not enforce you to set up fixed sernder addresses
Ok, I use a paid SMTP Relay server, setup POSTFIX and one SMTP account [email protected] for all same domain account [email protected] But when sending out email with Roundcube Webmail from [email protected] account, the from email always show [email protected] instead of [email protected]. root@server1:~# postconf sender_canonical_maps smtp_generic_maps smtp_header_checks sender_canonical_maps = regexp:/etc/postfix/sender_canonical smtp_generic_maps = smtp_header_checks = Is there anything I need to set in ispconfig? or anything else?