diff --git a/src/Mailcow.php b/src/Mailcow.php index 51ea957..b592526 100644 --- a/src/Mailcow.php +++ b/src/Mailcow.php @@ -41,6 +41,16 @@ class Server_Manager_Mailcow extends Server_Manager ]; } + /** + * Override default username generator method + * + * @return string + */ + public function generateUsername($domainName) + { + return "adm_" . str_replace(".", "", $domainName); + } + /** * Returns link to account management page. *