The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ip rotation for exim mail server

Discussion in 'E-mail Discussions' started by mastansaheb, Jan 27, 2012.

  1. mastansaheb

    mastansaheb Registered

    Joined:
    Jan 26, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all,

    Am new for this forum, We have 4 exim mail servers, all the mail servers have 4 dedicated ip's. We are sending thousonds of messages per day, so that the mails are going to spam. I heard from some where about ip rotation for avoid this problems. And finally i configure ip rotation for exim in two ways as follows.


    1st method-->


    vi /etc/exim.conf
    2. Search for the line : interface =
    3. Replace this line with interface = xxx.xxx.x.1${eval:${substr{-2}{1}{$tod_zulu}}%9+1}
    4. If your server is having ip’s from xxx.xxx.x.11 to xxx.xxx.x.20 , you can use above line.
    +1 is is the starting ip ie xxx.xxx.x.1′1′ and %9 is the increment value ie 11(xxx.xxx.x.11) to how much. Here it is 20 (xxx.xxx.x.20)

    2nd Method -->
    It is done by perl script.

    in /etc/exim.conf file
    remote_smtp:
    driver = smtp
    interface = "${perl{randinet}}"
    helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_hostname}}

    I done the things like this. But still i am not able to get the output.

    Can anybody show me how to check the result of above scenario.
     
    #1 mastansaheb, Jan 27, 2012
    Last edited: Jan 27, 2012
  2. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
  3. edzzone

    edzzone Member

    Joined:
    Sep 22, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    are this method mention below still working?
    what if my IP pool is not continuous and theres gap example xx.xx.xx.11-15 and xx.xx.xx.20-25
    how to configure this one?

    Thank you

     
Loading...

Share This Page