Sending All Mails [SMTP / PHP Function] Thruogh Another Server

Beny

Registered
Apr 28, 2011
3
0
51
Hello Everyone,
recently my webservers IP which is hosted in netelligent has been blocked by Yahoo! and Hotmail servers, tried changing ip but didnt work because whole ip range of this datacenter was blocked !
so i need to send all mails [ALL MAILS, NOT only SMPT] through another server which is located somewhere with trusted IPs like Singlehop or XLHost, so what do we need on both sides and what configuration should we apply ?!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator

Beny

Registered
Apr 28, 2011
3
0
51
other side should be cpanel server, right ?! with considering that IP is not changed in the header of the sent mail would these mails bypass yahoo and hotmail blockers ?!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Yahoo and hotmail do not do deep scanning, so the final IP that sends the message would be what they should be considering for determining if an email will pass into an inbox on their services.

I don't get what "other side should be cpanel server, right ?!" means exactly. Are you asking if the smart host server that will be filtering the emails should also have cPanel on it? It doesn't have to have cPanel on it, it just needs to be capable of receiving and then sending out the emails. If the second machine were also cPanel, you'd have to make that machine a relay for the other machine.

So the smart host machine (if it has cPanel) would need to have the IP for the initial machine into a file you create called /etc/alwaysrelay and then restart exim on that smart host machine. This should be all that is needed to allow the smart host machine to relay the emails from the initial machine.