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.

Exim 4.84-1 does not support MySQL lookup

Discussion in 'E-mail Discussions' started by anadtoka, Dec 23, 2014.

  1. anadtoka

    anadtoka Member

    Joined:
    Mar 22, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok guys here is a deal. I am moving clients sites from Gentoo nginx+php-fpm to cpanel... and currently in process of moving exim rules... really did a lot of hard work with converting nginx rules and integrating exim ones... this is bonus for all you (the owner will buy license then) and me since I will get a job...

    So now I have a cpanel installed on Centos 6.6 and wanted to enable MYSQL Lookup support since exim should be able to check mysql database of the site and for this I have to rebuild or your RPM or install another exim ... there was no 4.48-1 version in
    http://updates.cpanel.net/pub/exim/ so I decided to add Artrpms repo and install
    exim-mysql-4.80.1-49.el6.x86_64 plus exim-4.80.1-49.el6.x86_64

    First of cource I removed current exim
    Code:
    rpm -e --nodeps exim
    warning: /etc/localdomains saved as /etc/localdomains.rpmsave
    warning: /etc/eximrejects saved as /etc/eximrejects.rpmsave
    warning: /etc/exim.pl saved as /etc/exim.pl.rpmsave
    
    Then installed but no luck
    Code:
    root@server [~]# /etc/init.d/exim restart
    Shutting down exim: [FAILED]
    Starting exim: /usr/sbin/exim: error while loading shared libraries: libspf2.so.2: cannot open shared object file: No such file or directory
    [FAILED]
    
    Now PLEASE help me to add exim MYSQL LOOKUP support really count on your help. IT would be cool to have your exim 4-84-1 rebuild with MySQL lookup support but if this will not be possible we can use any other solutions.

    IMPORTANT: By the way was also thinking to to use /scripts/eximup ro reinstall exim but it is missing... why is that? I think in this scrip there could be some option to add MYSQL_LOOKUP support. What do you think?
     
  2. anadtoka

    anadtoka Member

    Joined:
    Mar 22, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    What I need at least is

    Where can I get an srpm of exim-4.84-1.cp1146.x86_64 so I can rebuild it and re-install it..
    And tell me where is /scripts/eximup ? can it be returned please? may be I can make needed changes through it and just run eximup --force to reinstall?
     
  3. anadtoka

    anadtoka Member

    Joined:
    Mar 22, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    This is not supported, and I'd advise against setting this up because you would have to maintain Exim and update it on your own. Instead, I suggest opening a feature request for this via:

    Submit A Feature Request

    If you do decide to go through with it, there's an older thread you may find helpful:

    Configuring Exim with MySQL lookup support

    Please note our documentation on setting a service to "unmanaged" before installing a custom version:

    RPM Targets
    RPM Cookbook

    Thank you.
     
  5. anadtoka

    anadtoka Member

    Joined:
    Mar 22, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hurray I did it! yes I saw that thread from the beginning... Sorry have no any other varians.. need this lookup to be added.

    Just an update for those who decide to make the same now... That thread is pretty outdated
    Packages are now can be found at Downloads - cPanel Inc.

    It would be cool if there was search rpm option but anyway you can check your local instaled packaged using rpm-qa and then check appropriate version of cpanel. For example when building from sources it also asked for below additional packages to be installed... I already had cpanel-libspf2-1.2.10-1.cp1136.x86_64.rpm installed.. from the name we can see that package is from cp1136... 11.36 version of cpanel. exim srpm package was under 11.46 version

    rpm -Uhv http://httpupdate.cpanel.net/RPM/11...anel-libspf2-devel-1.2.10-1.cp1136.x86_64.rpm
    rpm -Uhv http://httpupdate.cpanel.net/RPM/11...anel-libsrs_alt-devel-1.0-2.cp1136.x86_64.rpm
    rpm -qa |grep cpanel-pcre
    rpm -Uhv http://httpupdate.cpanel.net/RPM/11.36/centos/6/x86_64/cpanel-pcre-devel-8.35-1.cp1136.x86_64.rpm

    Now what is left is disable exim updates
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see you were able to successfully make those changes. You can prevent updates to Exim by setting it to "unmanaged" using the instructions in the documents provided in my previous post.

    Thank you.
     
Loading...

Share This Page