Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    48

    Default Mail Exchanger

    It seems that Remote vs Local mail exchanger is a setting which goes beyond whether or not the domain is listed in /etc/remotedomains or localdomains. As I've moved every domain from localdomains to remotedomain, and still have accounts marked as local when modifying them in the WHM interface.

    What I'm wondering is how is this information stored? How can I modify it programmatically?

  2. #2
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    525

    Default Re: Mail Exchanger

    Hi kbuser,

    I think the best way to programmatically change that value for the users is to use the API2 Email::setalwaysaccept

    Regards,
    -DavidN
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Request

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    48

    Default Re: Mail Exchanger

    Thank you sir, you are a gentleman and a scholar!

    I'm not sure how I missed this API call, I must have been stuck in API1 land.

Similar Threads & Tags
Similar threads

  1. Backup Mail Exchanger
    By vixon in forum New User Questions
    Replies: 1
    Last Post: 05-13-2011, 03:32 AM
  2. Backup Mail Exchanger
    By MantisComp in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-12-2010, 05:25 AM
  3. Replies: 9
    Last Post: 08-27-2008, 04:03 PM
  4. Modify Mail Exchanger
    By ShelaghG in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-04-2004, 06:24 AM
  5. Mail Exchanger Question
    By evisions in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-25-2004, 05:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube