Sending E-Mail without source IP thru VPS
Hi!
I have a high traffic website.
Due to DDoS protection measures I'm hiding the original server IP in every possible way.
For e-mail sending I'm using a HTTP passthru to a VPS: posting all mail data via curl to a VPS with open IP, and that was sending the mail, so the original server address is not seen).
This now prevents me to send a mass-mailing to all of my customer base, which is becoming bigger and bigger.
When I've tried to send a mass mailing, the VPS's apache halted with an 500 Error, waiting to be rebooted.
My question would be if there is any tutorial here to setup an SMTP server which does not show my server's original IP? I was trying out authmailer.com service, but that forwards the originating IP in a header field, which allowed my original server to be attacked via the IP
Thanks for the help in advance!
Comments
Yes. Use SMTP and add this to postfix to remove the IP address of the "hidden" server from the headers:
Taken from:
https://tech.tiq.cc/2014/02/how-to-set-up-an-email-server-with-postfix-and-dovecot-without-mysql-on-debian-7/
(((o(゚▽゚)o))) If privacy is outlawed, only outlaws will have privacy. (((o(゚▽゚)o)))
ヽ(`Д´)ノ Everyone should run Tor on their idle servers.
Also check for Originating IP
...
...
And why not just use a 3rd party smtp provider? Sendgrid for example. It's cheap enough
AlphaVPS - OpenVZ and KVM, DDoS Protected VPS in London, UK | Sofia, BG | Nuremberg, DE | NYC, US and LA, US. Cheap Dedicated servers with fast delivery!
only tried authmailer, but they've forwarded my server ip to everyone.
:
free trial zilore monitoring
Use Mandrilll perhaps for transactional and Mailchimp for mailing?
Clouvider Limited - Leading EU Hosting Solution Provider || UK Dedicated Server Sale - True HA Cloud VPS - Latest LET Offer
Cloud Web Hosting | SSD & SAS HA VPS on OnApp | Dedicated Servers | Colocation | Managed Services
SendGrid forwards your server IP too, just a warning.
Mandrill will not hide your origin.
I'm looking at setup of a different VPS, just for private mail relay. same reason, to avoid disclosure of server IP that is "protected" by cloudflare. current plan is to VPN / gre tunnel to the VPS, so origin IP will then be 192.168.x.x rather than external IP of the server.
if there's a better plan, I'm listening. surely can't be first to need this solution
free trial zilore monitoring
Uhm..what about a nice DDoS protection?
¦ x64Dash ¦
There is one just a few posts above you:
http://www.lowendtalk.com/discussion/comment/1212142/#Comment_1212142
(((o(゚▽゚)o))) If privacy is outlawed, only outlaws will have privacy. (((o(゚▽゚)o)))
ヽ(`Д´)ノ Everyone should run Tor on their idle servers.
which I am going to test. thanks for the info. seems too good to be true, that's all. easy to test, so will find out soon enough
free trial zilore monitoring
I use it on several mail servers, just because I can (there is no reason for the headers to stay), and it works flawlessly.
(((o(゚▽゚)o))) If privacy is outlawed, only outlaws will have privacy. (((o(゚▽゚)o)))
ヽ(`Д´)ノ Everyone should run Tor on their idle servers.
Mailjet does not disclose origin IP. It's free up to 6,000 emails per month or 200 per day. Non-free tiers aren't too bad either.
https://www.mailjet.com/pricing_v3