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"
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
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