Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

help: exim + cpanel + wildcard MX record

Discussion in 'General Discussion' started by rs-cpanel, Jan 13, 2006.

  1. rs-cpanel

    rs-cpanel Registered

    Jun 20, 2004
    Likes Received:
    Trophy Points:

    I'm trying to get wildcard MX records working with a customer subdomain. As far as I can see, there is no way to set this up currently.

    So, I set up a MX record for * Exim rejected it with 'lowest MX record points to localhost'. To get by this, I manually added '*' to /etc/localdomains, and then edited /etc/exim.conf and changed all 'lsearch' lines for this file to 'wildlsearch'.

    Of course, when it went looking for valiases, it didn't find any. I tweaked the checkvalias function in /etc/ to move up the domain hierarchy (eg for, look for /etc/valiases/, then /etc/valiases/, etc.).

    That seems to get the mail accepted, but then it never arrives anywhere. I'm guessing I need to replace all the lsearches on valiases/$domain with perl to do the same domain hiearchy trick to get the actual aliases.

    Or, possibly a redirect router, similar to the vdomainalias one, that simply redirects user@* to, and manually create /etc/valiases/

    Obviously i'm not an exim guru here, so I'm hoping someone else is and might have ideas. I've run out of time to muck with it, so I thought I'd solicit ideas for my next try..

Share This Page