rorry47 / mailcow_module_WHMCS

A WHMCS module to automatically integrate with MailCow servers for new API MailCOW.
6 stars 1 forks source link

Unable to connect to Mailcow server on WHMCS #1

Open MinhazI opened 10 months ago

MinhazI commented 10 months ago

Hey there,

First of all, thank you for developing and updating this module.

I am trying to connect to my Mailcow server via WHMCS and I tried:

username: x-api-key password: [my-api-key] hostname: https://email.mydomain.com

But I keep on getting a port error when I use the default SSL port: 443

Could you please help me with this?

rorry47 commented 10 months ago

@MinhazI Hello! You do not need to provide either a login or password. You only need to specify the key in this field: image

Specify the hostname without https:// as the host, and also do not forget about the IP.

MinhazI commented 10 months ago

Oh nice, thank you so much, mate!

MinhazI commented 10 months ago

@rorry47 Hey, apart from the Mailbox Quota. Should we also have any custom fields or require the client to enter their domain via the WHMCS domain registration?

rorry47 commented 10 months ago

@MinhazI The quota and other parameters are configured in the config.php file in the module folder.

Yes, when creating a service you must indicate that a domain is required: image

MinhazI commented 10 months ago

Thank you!