--- title: "Change your outgoing Email IP address on a WHM / cPanel server" slug: "how-to-change-outgoing-email-ip-address-on-a-whm-cpanel-server" updated: 2026-07-13T02:33:52Z published: 2026-07-13T02:33:52Z canonical: "docs.serversaustralia.com.au/how-to-change-outgoing-email-ip-address-on-a-whm-cpanel-server" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.serversaustralia.com.au/llms.txt > Use this file to discover all available pages before exploring further. # Change your outgoing Email IP address on a WHM / cPanel server Use the below listed guide to change the outgoing mail IP address for the **entire server**: 1. Log into WHM and go to the '**Exim Configuration Manager**': ![The Exim Configuration Manager is highlighted in the WHM service configuration menu.](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/image-1657596100288(1).png) 1. Through the **‘Basic Editor’**, select the '**Domains and IPs**' section: ![Exim Configuration Manager interface showing Basic Editor and Domains and IPs options.](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/Screenshot 2026-06-06 at 9.01.53 am.jpg) Followed by turning the following setting to **‘On’** and save your changes.![Instructions for configuring custom IP for outgoing SMTP connections in mail settings.](https://cdn.document360.io/d809f158-d4f4-47ff-83d4-18d9c9f7a04d/Images/Documentation/Screenshot 2026-06-06 at 8.53.06 am.jpg) 1. SSH to the server and edit the **/etc/mailips** file in your favourite command line text editor. If you're unsure of which text editor to use, '**nano'** is the easiest for beginners. `root@server ~]# nano /etc/mailips` S 1. Edit the file to make sure it looks like this: `*: 123.123.123.123` *(Make sure you replace 123.123.123.123 with the actual IP address you wish to send email from).* 2. Save the file. That's it! Your Exim mail server will now send email from the IP address you've specified in the /etc/mailips file. > [!WARNING] > Please Note! > > You will need to make sure your domain's SPF record specifies the new IP address or your email may not be accepted by the receiving host. i.e. "v=spf1 a mx ip4:123.123.123.123 ~all"