Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    May 2004
    Location
    India
    Posts
    4

    Default Exim (/etc/localdomains) problem after recent update

    Hello
    After recent cpanel/whm update, now if i change the MX record for a domain as i'm using spam filtering service from mailroute.net, i've to setup their MX record and have to setup exim to even accept emails, so that after filtering mailroute.net will forward them to my server. Now as soon as i change MX record, cpanel even removes the domain from /etc/localdomains and hence exim stops accepting email for that particular domain, how do i fix it. I even tried to add domain to it manually, but within 24 hours the domain is automatically removed from /etc/localdomains

    I need either that exim should just accept emails from just mailroute.net mail server and deny emails from other servers and also i don't want the domain to get removed from /etc/localdomains.

    I don't want to block port 25 as i even have other domains on the same server.

    Please guide

    Best Regards

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2003
    Posts
    397

    Default

    Hi

    same problem here, did u fix?

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Make sure the domain is not listed in /etc/remotedomains, that's why it's probably getting removed from /etc/localdomains. If you only want to receive email for a particular domain from a specific IP address then you'll have to write an exim ACL to do that for you.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2003
    Posts
    397

    Default

    yes it was in /etc/remotedomains why?

    the customer have change the mx record to use a proxy antispam, every time that he change the MX the domain is removed from localdomains and this cause a relay error

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    cPanel automatically puts a domain into /etc/remotedomains if the MX record is changed through the end-user cPanel UI. It does this because when you point an MX to a different server you want the email delivered off-server, otherwise any email delivered to that domain locally from any other account on the server will be delivered to the mailboxes on the server and not via the MX record.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Just check the box see attached images:
    Attached Thumbnails Attached Thumbnails Exim (/etc/localdomains) problem after recent update-picture-6.png   Exim (/etc/localdomains) problem after recent update-picture-7.png  

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Very nice
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2005
    Location
    Houston, TX
    Posts
    24

    Default

    Quote Originally Posted by cpanelnick View Post
    Just check the box see attached images:
    Now can this be done in WHM?
    //eleven2 - badass hosting

  9. #9
    Registered User
    Join Date
    Sep 2004
    Posts
    3

    Default

    Hi,

    We've opened a bug/feature request for this in WHM, with cPanel 10 we could edit the dns zone template so new accounts were auto setup to use of spam filtering service but since the changes to cPanel 11 if we do this the domain is put in the remote domains file.

    The same now happens if you edit a DNS zone in WHM and it has the MX record set to an external record. We need some way to disable this automated move to remotedomains when editing the DNS zones and when using the zone templates to configure the spam filtering setup.

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2005
    Location
    Houston, TX
    Posts
    24

    Default

    Ya i just hope this is done soon, this is a show stopper for us.
    //eleven2 - badass hosting

  11. #11
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by Neil-UKWSD View Post
    Hi,

    We've opened a bug/feature request for this in WHM, with cPanel 10 we could edit the dns zone template so new accounts were auto setup to use of spam filtering service but since the changes to cPanel 11 if we do this the domain is put in the remote domains file.

    The same now happens if you edit a DNS zone in WHM and it has the MX record set to an external record. We need some way to disable this automated move to remotedomains when editing the DNS zones and when using the zone templates to configure the spam filtering setup.
    If you use the mx editor you have the option to not do the remote domains check.

  12. #12
    Member
    Join Date
    Sep 2005
    Posts
    50

    Default

    Even though I did have 3 domains dissapear from /etc/localdomains, I'd say the new interface for handling MX records is vastly improved. I was hoping something like this would be added. Besides this problem, I've had no other issues with 11.

    I'd say good job overall to the CPanel staff.

Similar Threads & Tags
Similar threads

  1. Subdomain problem with recent cPanel update
    By JoelMurdochNZ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-28-2009, 05:16 PM
  2. Horde problem after recent update - displaying Rich Text messages
    By mtindor in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-03-2009, 12:05 AM
  3. Recent Update
    By tompgl in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-31-2007, 12:04 AM
  4. mod_security problem in most recent update
    By johnchan in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 12-07-2005, 09:44 AM
  5. Mail Problem After Recent cPanel+WHM Update
    By Mx9 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-25-2005, 11:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube