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.

Problem with change ip exim.conf interface

Discussion in 'E-mail Discussions' started by Luchanu, Jun 8, 2010.

  1. Luchanu

    Luchanu Member
    PartnerNOC

    Joined:
    Aug 7, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys!
    I have a error, see the case:
    If you edit /etc/exim.conf, you see the line
    Code:
    interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
    Always i edit (if i want) exim.conf and i punt "#" for this line, and i add the line:

    Code:
    interface=xxx.xxx.xxx
    And the final syntax is here:
    Code:
    remote_smtp:
      driver = smtp
      interface = xxx.xxx.xxx
      #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}}
    obvious xxx.xxx.xxx is the ip.

    And It is not only this step, because i add the ip in Main >> IP Functions >> Add a New IP Address.

    Always works!, but the problem is...
    For all the account, if they send mails, they send with the new ip.

    But, i have a user, only a user, if they send mails, the send with the old ip.

    The case is very peculiar, because i used this method near 30 times.

    Anybody, any idea?
    Thanks a lot.
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Check /etc/mailips - do they have an entry in there?
     
Loading...

Share This Page