Question
How to change the IP address for outgoing emails in Plesk for Linux with Postfix mail server?
Answer
-
Go to Tools & Settings > Mail Server Settings.
-
Set outgoing mail mode to one of the following options:
-
Send from domain IP addresses
-
Send from domain IP addresses and use domain names in SMTP greeting
-
Send from the specified IP addresses
-
-
Apply the changes.
Note: The changes will be made in the Postfix transport map file
/var/spool/postfix/plesk/sdd_transport_maps.db
.
Command-line instructions
-
Connect to a Plesk server via SSH.
-
Run the command:
# plesk bin site -u example.com -mail-service-ip 203.0.113.2
where
-
example.com - domain name
- 203.0.113.2 - IP address that will be used for mail of a domain
-