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.

Mass Email Routing Settings

Discussion in 'E-mail Discussions' started by Czo, Oct 6, 2011.

  1. Czo

    Czo Registered

    Joined:
    Oct 6, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    How to mass change this settings? I need to change this for 200-300 domains.

    Thx
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What exactly do you need to do? Im unclear on what you mean by email routing.
     
  3. Czo

    Czo Registered

    Joined:
    Oct 6, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The dns zone editor contains 'mail routing settings'. I need to change it for ~200 domains, first step i need it to change auto, or reomte.

    I'm found exim uses /etc/localdomains and maybe /etc/remotedomains, but changing this files, make no difference in whm gui.

    But if i'm edit dns zone files manually, it's working fine.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    So what is the exact change you are needing to make from the old to the new setting? Please provide the specific change from and to for help, so I can provide a command to use in the DNS zone files or the /var/cpanel/users/username files depending on what is being changed.
     
  5. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Are you referring to the MX records?

    Or what exactly do you want to change?

    AFAIK, if you add / remove files from the /etc/localdomians & /etc/remodomains files then you need to rebuild some files for WHM / cPanel to see the changes as well. I just can't remember which file it is, but it's probably one of the /scripts/rebuild* files
     
  6. Czo

    Czo Registered

    Joined:
    Oct 6, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    I wan't to change this: http://homokozo.czo.hu/emailrouting.png . I think, i need this script name. After editing local/remotedomains directly, and restarting mta, exims working like the config files, but this changes, not visible on the gui.
     
  7. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Yes, you want to change the MX record :)

    You need to run "/scripts/checkalldomainsmxs --yes" once you're done to sync everything.
     
Loading...

Share This Page