Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member madcow774's Avatar
    Join Date
    Oct 2002
    Posts
    19

    Default Use a certain IP to send mail to AOL

    Hi all.

    I currently have this in my exim.conf:
    remote_smtp:
    driver = smtp
    interface = 123.123.123.123

    Is there a way that I can have exim use a certain IP when sending to AOL only & then use the above IP when sending to everyone else?

    Thanks in advance for any help you may be able to provide...

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    After the Demo Router Check - assuming you have domain keys installed

    #
    # Lookup Router Host for my AOL IP
    #

    multi_ip_lookuphost_dk:
    driver = dnslookup
    domains =aol.com
    #ignore verisign to prevent waste of bandwidth
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    require_files = "/var/cpanel/domain_keys/private/${sender_address_domain}"
    headers_add = "${perl{mailtrapheaders}}"
    transport = ip_remote_smtp_dk

    multi_ip_lookuphost:
    driver = dnslookup
    domains =aol.com
    #ignore verisign to prevent waste of bandwidth
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
    headers_add = "${perl{mailtrapheaders}}"
    transport = ip_remote_smtp

    After Begin trasnports

    ip_remote_smtp:
    driver = smtp
    interface = ${lookup {${nhash_1:$message_id}} \
    lsearch {/etc/my_ips} {$value} {1.2.3.4}}

    ip_remote_smtp_dk:
    driver = smtp
    dk_private_key = "/var/cpanel/domain_keys/private/${dk_domain}"
    dk_selector = default
    interface = ${lookup {${nhash_1:$message_id}} \
    lsearch {/etc/my_ips} {$value} {1.2.3.4}}


    with the file my_ips having the IP

    If you change the nhash_1 - you can then have more than one ip in the my_ips file.
    Lloyd F Tennison

  3. #3
    Member
    Join Date
    Oct 2007
    Posts
    43

    Default

    Hello,

    i changed domains from aol.com to gmail.com and i added the ip on /etc/my_ips but im getting the following error:

    2008-10-02 15:31:29 1KlTpb-000132-2v == mail@gmail.com R=multi_ip_lookuphost_dk T=ip_remote_smtp_dk defer (-53): retry time not reached for any host


    Any suggestion will be appreciated

Similar Threads & Tags
Similar threads

  1. Not able send email to any of AOL users
    By crazyaboutlinux in forum E-mail Discussions
    Replies: 23
    Last Post: 03-13-2009, 08:09 AM
  2. Do I need exim running on port 587 for AOL users to send email?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-07-2007, 05:01 AM
  3. Mail being blocked from AOL
    By drumhtd in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-13-2005, 04:07 PM
  4. why does aol reject mail ?
    By rastoma in forum cPanel and WHM Discussions
    Replies: 26
    Last Post: 08-16-2002, 12:10 AM
  5. Exim doesn\'t send mail to AOL.
    By oSM in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-28-2002, 03:54 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube