Skip to main content
Version: 2.1.26

Mail Relay

Emails > Relay (/emails/relay) sets the backup SMTP route: where outgoing mail goes when this server cannot deliver it itself.

Two situations make this necessary, and neither is a fault in the mail server:

  • The hosting provider blocks outbound port 25. This is common and there is nothing the server can do about it.
  • The server's address has no sending reputation yet, so mail is refused or filed as spam by everyone.

In both cases the answer is to hand the message to a relay that can deliver it.

The page can set a relay host and credentials, and can ask the CLI to prove they work. It cannot show you a password. The password is written straight into /etc/postfix/sasl_passwd, which is 0600 and owned by root, and it is never stored anywhere the panel can read it back — so neither can anything else.

hitechcloudcli native-mailrelay <show|set|unset|test|sync>