Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-04-2016, 01:55 AM   #1
LQ Newbie
Registered: Jan 2016
Posts: 1

Rep: Reputation: Disabled
Postfix and sendmail - outgoing ip address and 2 static ip address problem

Hello there .
We have a server with 2 static ip address which I defined them in my linux box (our server is debian 8 with ispconfig installed) .

Well, as we're writing a marketing software, we need to send out group mails to some specified lists, but with 2 ip address, suppose we have x.x.x.x and y.y.y.y we need to send and specify which ip address use to send email to ...) .

I followed this tutorial and configured my postfix to use two instances, but when I select postfix2 instance (The one that has y.y.y.y) to send email, the X-ORIGINATING-IP field in yahoo mail full header still show the x.x.x.x ip address .

I really don't know where is the problem .

The first and main postfix instance is set to ip address (x.x.x.x) and the sencond one (postfix2) has y.y.y.y ip address .

I use this command to send mail from the second instance : sendmail -C /etc/postfix2 -t

but when I check the yahoo mail, it says it comes from x.x.x.x however I wanted it to use y.y.y.y ip address .

Can anyone please tell where is the problem and how to set the proper configuration to use 2 different ip addresses for sending mail?

Thank you!

Last edited by xmail400x; 01-04-2016 at 01:57 AM.
Old 01-06-2016, 02:29 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
The ispconfig control mail service. How do you configure ispconfig for mail service?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 sender address of outgoing emails in Sendmail ALInux Linux - Server 8 05-10-2012 06:25 PM
Postfix outgoing address whaase Linux - Server 4 02-23-2009 09:42 AM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 08:38 PM
[SOLVED] Converting static IP-address to dynamic IP-address Blue_Ice Linux - Networking 3 07-20-2006 03:35 AM
2 NICs, RH9, Outgoing IP Address Problem... sornman Linux - Networking 4 08-28-2003 09:02 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

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