LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-17-2009, 06:15 AM   #1
eroy4u
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
Separate ip for sending different emails


There are 2 types of emails to be sent from my server: promotional emails to potential clients and opt-in emails to members of my site.
I want these two types to be sent from two different ip of same postfix server.

I want to ask, is that if my Postfix is set up in this way, even some of potential clients marked my promotional emails as SPAM, I still have opt-in emails to members of my site being unaffected?

Also, is it a good method to increase deliverability rate?

thanks.

Last edited by eroy4u; 09-17-2009 at 07:36 AM.
 
Old 09-17-2009, 07:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
What logic do you have to identify a difference between these types of email? different destination domains for example? Without knowing what data you can and can't use to distinguish, there's no chance of saying how to do this.

http://www.postfix.org/postconf.5.ht...relayhost_maps might give you angle to say that traffic from user a goes to smartrelay 1, traffic from user b goes to smartrelay 2, and then use some form of natting in iptables to nat traffic within the box based on where it's going... I'm unaware of being able to choose your IP address dynamically within a single postfix instance. You could always run two separate instances though I guess.

I really can't see a logic in wanting to do any of this though... why does it matter?
 
Old 09-17-2009, 07:44 AM   #3
eroy4u
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
What logic do you have to identify a difference between these types of email? different destination domains for example? Without knowing what data you can and can't use to distinguish, there's no chance of saying how to do this.

http://www.postfix.org/postconf.5.ht...relayhost_maps might give you angle to say that traffic from user a goes to smartrelay 1, traffic from user b goes to smartrelay 2, and then use some form of natting in iptables to nat traffic within the box based on where it's going... I'm unaware of being able to choose your IP address dynamically within a single postfix instance. You could always run two separate instances though I guess.

I really can't see a logic in wanting to do any of this though... why does it matter?
sorry i think i didn't make it very clear. I changed the names of the 2 types of emails to "non-opt-in promotional emails" and "opt-in members' email", does it seems more logical now?

thanks for your information about the sender dependent relayhost, i'll surely take a look, it seems i little bit difficult. do you know any tutorials that i can follow?
 
Old 09-18-2009, 12:35 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no that's no more logical in the slightest, merely confirmed you're spamming people. Why would the source IP address ever matter??
 
Old 09-18-2009, 02:49 AM   #5
eroy4u
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
yes, my non-opt-in promotional emails may be regarded as spam,

i'm just thinking, let this 'SPAM' labelled to just 1 IP only, so that I can still send opt-in email using another IP,

That's why I want to use 2 IPs to send two different kinds of email. am I wrong at anything? I haven't done this before so please correct me if.
 
Old 09-18-2009, 01:14 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Not sending spam would be a good way not to be listed as a spam blacklist... but as above, probably just run two different instances and it'll be the easiest really.
 
Old 09-21-2009, 04:22 AM   #7
eroy4u
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
thanks
 
  


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
sending emails using telnet ddaas Linux - Networking 6 10-30-2007 05:15 AM
Sending Emails yos123 Linux - General 1 04-12-2006 09:56 AM
Sending Emails Dragons_Way Linux - Software 2 03-09-2005 02:53 AM
Planned sending of emails Denisvt Programming 1 05-08-2004 08:34 AM
help with sending html emails pdelucia Linux - General 1 09-13-2003 11:06 AM

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

All times are GMT -5. The time now is 07:58 AM.

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