Applicable to:
- Plesk for Linux
Question
How to change the IP address for outgoing emails in Plesk for Linux with Postfix mail server?
How to change outbound mail IP address for Postfix, if the primary IP address is blacklisted and mail is not going out?
Answer
-
Go to Tools & Settings > Mail Server Settings.
-
Set outgoing mail mode to one of the following options:
Note: To learn about each option, see this KB article.
-
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
.
-
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
-
Comments
1 comment
Changing to a different IP address broke the mail and all websites on the dedicated server.
This function is probably fully tested.
Maybe someone will answer why everything stops working normally.
Please sign in to leave a comment.