Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.