LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-10-2009, 08:17 AM   #1
fandar
Member
 
Registered: Oct 2006
Posts: 61

Rep: Reputation: 15
Cant change outgoing smtp ip address in EXIM 4


Hello, I have 3 ip address on my VPS and I need to change exim configuration to listen only on one ip address.
VPS have WHM and Cpanel installed.

I changed in exim configuration interface to my ip, so it looks like
Quote:
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$
interface = 72.9.225.31
I restarted exim, but it is still listening on all ip address
Quote:
root@vps_10189 [~]# netstat -pant |grep exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 13534/exim
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 13529/exim
Howto change the listening ip address? Thank You
 
Old 05-11-2009, 10:12 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I think what you are looking for is on this page..

http://www.exim.org/exim-html-curren...html/ch13.html

local_interfaces to start..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change default outgoing ip address vivhost Fedora 2 03-31-2009 10:54 PM
Passing outgoing SMTP traffice through IPCop Firewall without tagging IP Address Firehawk335 Linux - Security 3 01-03-2007 01:00 PM
Exim - How do I change the smtp sending port? korozion Linux - Software 1 02-13-2006 05:26 PM
to change outgoing mac and ip address korenje Linux - Networking 3 12-31-2005 12:41 AM
Change from email address exim chestnut Linux - Software 3 06-22-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration