generate DKIM records
Hi,
I need to add the DKIM and SPF records while creating accounts via API, but I can't figure out how to generate the DKIM string.
I already add the account via createacct method, but now I am stuck in this.
Can someone help me out?
Thanks!
-
Hello :) You can ensure the following options are enabled under the "Domains" tab in "Tweak Settings": Enable DKIM on domains for newly created accounts Enable SPF on domains for newly created accounts This will automatically setup DKIM and SPF records upon account creation. The following thread goes into details on how to setup a custom DNS record upon account creation if it's something you want to specify: Syntax for wwwacct Thank you. 0 -
Hi Michael, thanks for your help. [QUOTE]You can ensure the following options are enabled under the "Domains" tab in "Tweak Settings"
That's already checked and it works fine on account creation via cPanel, but it doesn't via API. At this moment I have to make another call to API after calling "createacct" method: [QUOTE]$acctconf = array( 'domain'=>$domain_name, 'HASDKIM'=>1, 'HASSPF'=>1 ); $response = $this->xmlapi->modifyacct($username,$acctconf);
It solves the issue but it isn't quite fancy. Thanks0 -
[quote="mundakas, post: 1621341">That's already checked and it works fine on account creation via cPanel, but it doesn't via API.
That could be a bug. Could you submit a bug report so we can reproduce the issue and open an internal case if necessary? Submit A Bug Report Thank you.0
Please sign in to leave a comment.
Comments
3 comments