• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

mailmng --add-alias not working

abdicar

New Pleskian
Hello there,

We're trying to add using an automatic script few aliases to our server with the lasted version of Plesk. But it is not working, as it is returning an empty respond.

[root@dns01 ~]# cd /usr/local/psa/admin/bin/
[root@dns01 bin]# ./mailmng --add-alias --domain-name=domain.com --mailname=abuse --alias=abuso
[root@dns01 bin]#

Any suggestion? I checked all the logs and I can not found any information related.

I can confirm that the alias is not registered or created.

Thank you,

Larry
 
We do not recommend to use internal Plesk commands from /psa/admin/(s)bin/
Please use commands from /psa/bin/
For example, command

# /usr/local/psa/bin/mail -u [email protected] -aliases add:abuso

works fine.
 
Back
Top