• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Set Mailrelay? mailmng --add-domain-to-sender-transport

nocrash

Basic Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

both 64 bit

11.0.9 CentOS 6 110120608.16 (patch version="20")
10.4.4 SuSE 11.4 1013111102.18 (patch version="45")

PROBLEM DESCRIPTION

I need to relay e-Mails for a domain to another mailserver

STEPS TO REPRODUCE

This feature seems undocumented? could i use mailmng --add-domain-to-sender-transport ?

/usr/local/psa/admin/bin/mailmng --add-domain-to-sender-transport --help
add sender transport for domain
Usage: --add-domain-to-sender-transport --domain-name=<domain> [--ip4-addr=<ip_address>] [--ip6-addr=<ip_address>]
Allowed options to add sender transport for domain:
--domain-name arg domain name (mandatory)
--ip4-addr arg ipv4 address
--ip6-addr arg ipv6 address
-h [ --help ] displays this help message

ACTUAL RESULT

If i set a domain-name and ip4-addr of the final mailserver, the postfix service restarts.
But mails are still handled as local and result to Unknown user.

EXPECTED RESULT

e-Mails for this Domain should be relayed to the ip address .

ANY ADDITIONAL INFORMATION

i also deactivate e-Mail for this domain, same result.


Thank you for any hint:)

--------------------------------------------------------------
 
Back
Top