Results 1 to 11 of 11
  1. #1

    I'd Like to change Exim IP

    I'd like to change Exim IP and so I edited
    vi /etc/exim.conf commented out the default interface.

    driver = smtp
    #interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
    interface = ##.###.##.##
    helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_hostname}}

    driver = smtp
    interface = ##.###.##.##
    #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}}
    dk_private_key = "/var/cpanel/domain_keys/private/${dk_domain}"
    dk_canon = nofws
    dk_selector = default

    But all emails sent using webmail goes to Mail Que and its not getting out. While mail using POP (outlook) using SMTP of our ISP works fine. What did I missed ? Actually after changing it, I tested using webmail and outlook and its succefully reached the recipient but when I woke up webmail not getting thru.

    Summary :

    Default exim.conf
    --webmail works fine
    --But IP is blocked somewhere

    New IP setup
    --outlook (pop & smtp) works
    --cannot sent thru webmail
    --clean IP

    I want the New IP option. Any assistance would be appreciated.
    thank you
    Last edited by jolo22; 09-10-2009 at 03:16 AM.

  2. #2
    Have you added the new IP to /etc/mailips and /etc/mailhelo files ?

  3. #3
    do I just add it like just one liner? actually I have two servers two different provider my other server works fine by just doing the above interface and its mailips and mailhelo dont have any content.

    will try it.

  4. #4

    pop before smtp

    You must be having cpanel as control panel. If it is so, try to disable "pop before smtp". This may help you.
    Mathew Augustine
    Systems Engineer
    "Drink nothing without seeing it; sign nothing without reading it."

  5. #5
    yes I'm on CPANEL and centOS. How do I disbale pop before smtp ?

    i tried that but it doesnt work. thank you

  6. #6
    What version of exim are you using?
    Support Facility | 24/7 web hosting technical support services
    Technical support | Server management | Data migration

    Technical Articles

  7. #7
    Join Date
    Nov 2005
    Do you get any error while sending mail using webmail with the new IP? Did you check the exim queue as well if that says something?
    Mellowhost - Providing High Quality Web Hosting Services since 2007
    SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
    A Hosting Provider with Complete SSD VPS & Shared Hosting.

  8. #8
    Version of exim : Exim version 4.69 #1 built 16-Mar-2009

    Do you get any error while sending mail using webmail with the new IP? Did you check the exim queue as well if that says something?
    When I changed the new IP on the interface inside exim.conf it works and it reaches my other domain on other server where previously doesnt get in. But after like 6 hours it keeps on going into the mail que and not getting sent out. Since then it is not working and so I removed the newly IP again.

    The below error from exim_mainlog which I recently tested from webmail to my other dedi server from other provider using the main ip of the server.

    2009-09-10 23:02:25 1MllA1-0002ZI-Rb ** [email protected] R=lookuphost T=remote_smtp: retry time not reached for any host after a long failure period
    2009-09-10 23:02:25 1MllAH-0002a9-80 <= <> R=1MllA1-0002ZI-Rb U=mailnull P=local S=1718

  9. #9
    Join Date
    Jul 2009
    changing the main server Ip address will also make this happen for you as exim sends email vis main server IP address.

  10. #10
    When you change main IP, do we have to wait propagation? and do we have to contact the server provider?


  11. #11
    Join Date
    Nov 2004
    newer versions of cpanel will send out email via the site's IP if you have the correct WHM setting enabled. Simply enable the WHM setting and change the site IP.

Similar Threads

  1. EXIM: How to change outgoing HELO?
    By Frontpage in forum Hosting Security and Technology
    Replies: 1
    Last Post: 07-02-2009, 10:00 AM
  2. change path of exim log
    By prashant1979 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 12-22-2008, 08:09 AM
  3. cPanel: change exim.conf
    By Cristi4n in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-06-2007, 07:31 AM
  4. change exim smtp port to 26
    By hugedragon in forum Hosting Security and Technology
    Replies: 3
    Last Post: 05-26-2007, 01:00 AM
  5. how to change smtp relay ip for exim
    By kamyana in forum Hosting Security and Technology
    Replies: 6
    Last Post: 01-14-2007, 09:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts