ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label interface ip. Show all posts
Showing posts with label interface ip. Show all posts

2010/10/20

Change exim interface IP address

We can change the exim interface IP by editing exim.conf.

1. Open exim.conf in the text editor.

vi /etc/exim.conf

2. Check for the following lines in exim.conf
======================
remote_smtp:

driver = smtp

interface=
======================
You need to modify this as given below

*******************
remote_smtp:

driver = smtp

interface=xx.xx.xx.xx

Where  xx.xx.xx.xx with your IP address.
******************

3. You need to restart exim service in the server.

/etc/init.d/exim restart

2009/10/02

How to change interface/source IP address in postfix.

Follow the steps below if you want to change interface/source
IP address in Postfix.

Modify the variable smtp_bind_address in /etc/postfix/main.cf

If it’s not present, just add it.

smtp_bind_address = IP Address

Then service postfix reload

Make sure you reload postfix. Restart, stop/start may not work