Provide an API call to retrieve the current mail exchanger type (remote/local/auto)
I am looking for an API function to retrieve the current mail exchanger routing type (local/remote/auto) from within a hosted account (non-root). I can successfully set it using the set_always_accept API call, but I can't find a way to retrieve the current setting.
I found the function get_user_information , and while it's returned data description includes a hash called "mxcheck" which should contain the current mail routing type for each domain, "mxcheck" is not included anywhere in the main hash content that is returned. I dumped the main hash returned from the call using Perl's Data::Dumper, and could not locate any property called "mxcheck", or any property that seemed to contain the local/remote/auto setting that I'm looking for.
It would be acceptable to have get_user_information work as documented and return the current mail exchanger type or to have a new API function that provides that information.