• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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 abuse@domain.com -aliases add:abuso

works fine.
 
Back
Top