Sending E-Mail without source IP thru VPS
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!
Yes. Use SMTP and add this to postfix to remove the IP address of the "hidden" server from the headers:
Also check for Originating IP
And why not just use a 3rd party smtp provider? Sendgrid for example. It's cheap enough
only tried authmailer, but they've forwarded my server ip to everyone.
Use Mandrilll perhaps for transactional and Mailchimp for mailing?
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
Uhm..what about a nice DDoS protection?
There is one just a few posts above you:
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
I use it on several mail servers, just because I can (there is no reason for the headers to stay), and it works flawlessly.
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.