Wednesday, February 19, 2014

How to change SMTP server IP (Exim IP) on WHM server

Standard
1) Login to WHM
Click Exim Configuration Editor
Check the box next to:
“Send outgoing mail from the ip that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface)”
Save Changes
Then edit the file /etc/mailips
from shell and add:
*: #ReplacewithnewIP#
service exim restart
2) Login to Shell
Access the Exim configuration file:
nano /etc/exim.conf
Locate remote_smtp
The default setup will look like:
remote_smtp:
driver = smtp
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{}}}{}}
helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_ho stname}}
Change to:
remote_smtp:
driver = smtp
interface = 12.14.12.14 # Change to your server IP address.
Save changes and exit.
Restart Exim
If there is an exim update when you upgrade your cPanel server you will need to re-enter the interface again.

source  : https://kb.hivelocity.net/how-to-change-smtp-server-ip-exim-ip-on-whm-server/

Related Posts:

  • Export Graph ProblemLagi-lagi cacti bermasalah, fungsi export graphnya tidak jalan. Biasa… googlin, dan nemu url ini : http://forums.cacti.net/viewtopic.php?t=20612&h… Read More
  • Cacti Buat MikrotikTernyata sudah lengkap tool untuk monitoring Mikrotik dengan cacti. Jadi sekarang udah bisa menggrap : System HDD CPU Memory Uptime General Active PP… Read More
  • Creating Graph for Mikrotik Queue Tree using CactiIt’s a long title, isn’t it ? Okay, first thing first, You have to download all these files : cacti_host_template_mikrotik_queue.xml cacti_data_templ… Read More
  • Mari Belajar BGP Apakah BGP? Border Gateway Protocol atau yang sering disingkat BGP merupakan salah satu jenis routing protocol yang ada di dunia komunikasi data. Se… Read More
  • /bin/rm: Argument list too long.Squid mati lagi gara-gara disk log full….. di hapus malah keluar error “/bin/rm: Argument list too long.” setelah googling katanya filenya terlalu bes… Read More

0 comments:

Post a Comment