How to hide server primary IP form outgoing mail
I'm using Gmail SMTP for sending auto generated emails to my customers on my dedicated server with cPanel.
Our emails contain primary IP address of our server. Will following solution work for hiding my server main IP?
Buying a secondary server and set it up as my mail server and add its details in Google MX records in DNS settings.
Then add following comments to my main server exim.conf just below driver = smtp "headers_remove = Received"
[QUOTE]remote_smtp:
driver = smtp
headers_remove = Received
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_hostname}}
Please share your ideas
Please share your ideas
-
Hello :) Could you elaborate on why you prefer to hide the IP address for outgoing email? This might allow us to provide you with an alternate solution. Thank you. 0 -
Thank you for your reply. Because of DDoS attacks and other security reasons. 0 -
It's likely better to address the DDOS attack directly. Your hostname or IP address is always going to be visible in the email header. It's one of the best ways for mail servers track and prevent SPAM. You may want to consult with a qualified security expert to help prevent the DDOS attacks as they occur. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments