#1  
Old 1st December 2007, 07:57
Meni Meni is offline
Junior Member
 
Join Date: May 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix and multiple IP's

Hi.

I have a server with 3 real IP addresses:
Code:
auto venet0:0
iface venet0:0 inet static
        address IP1
        netmask 255.255.255.255
        broadcast 0.0.0.0
auto venet0:1
iface venet0:1 inet static
        address IP2
        netmask 255.255.255.255
        broadcast 0.0.0.0
auto venet0:2
iface venet0:2 inet static
        address IP3
        netmask 255.255.255.255
        broadcast 0.0.0.0
I want postfix to use IP2 for sending emails, and NOT IP1.

Is there a way to do this?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 1st December 2007, 13:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
 
Default

Add the following line to /etc/postfix/main.cf and restart postfix:

smtp_bind_address = IP2

(replace IP2 with your IP of course)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running SMTP on multiple ports (postfix) eKg Tips/Tricks/Mods 23 29th August 2010 11:36
Postfix and sending with multiple domains anarion Server Operation 7 22nd March 2007 17:52
Postfix on FC5 w/Virtual Domains: Adding Mailman to Multiple Domains Ravenium HOWTO-Related Questions 1 28th October 2006 17:09
Multiple Servers / Dedicated Tasks ( Bind, Postfix ) Mr.Mr Installation/Configuration 1 18th July 2006 13:27
POstfix with multiple domains trav04 Installation/Configuration 3 14th February 2006 09:01


All times are GMT +2. The time now is 02:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.