Old 1st December 2007, 08: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


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

Is there a way to do this?

Reply With Quote
Sponsored Links
Old 1st December 2007, 14:17
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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


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 12:36
Postfix and sending with multiple domains anarion Server Operation 7 22nd March 2007 18:52
Postfix on FC5 w/Virtual Domains: Adding Mailman to Multiple Domains Ravenium HOWTO-Related Questions 1 28th October 2006 18:09
Multiple Servers / Dedicated Tasks ( Bind, Postfix ) Mr.Mr Installation/Configuration 1 18th July 2006 14:27
POstfix with multiple domains trav04 Installation/Configuration 3 14th February 2006 10:01

All times are GMT +2. The time now is 15:36.

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