• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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