Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    3

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

    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 ?!

  2. #2
    Registered User
    Join Date
    Apr 2011
    Posts
    3

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

    no answer ?

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

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

    You are wanting to use a smart host router to route all emails through the smart host rather than directly from your machine. Please note that, for exim, your IP is still going to appear in the sender header as one of the IPs that handled the routing regardless, although it won't be the final IP routing the message.

    Here is a prior post where I discussed using a smart host router:

    http://forums.cpanel.net/f43/relay-a...tml#post766872
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    3

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

    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 ?!

  5. #5
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

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

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Problem: Server sending SPAM mails. Mail Queue with thousand of mails
    By jaimesuez in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-08-2011, 02:00 PM
  2. Problem sending out mails - SMTP Athentication forced
    By NetX in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-20-2007, 05:31 AM
  3. Server crash because php script sending mails to nobody
    By benito in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-18-2006, 04:30 PM
  4. php mail(); function doesn't work when disabling NOBODY from sending emails
    By ecwebtechie in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-02-2005, 10:07 AM
  5. easyapache and sending e-mails with php outside the server...
    By wimp in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-10-2003, 04:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube