• 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.

How to mass create email aliases?

N

ninja

Guest
Hello all,

For a single mail account .... how can I mass create a bunch of mail aliases ... rather than typing in 200+ from the pleask web interface one by one?

I have an old /etc/aliases file on another linux box where I have all the aliases listed.

thanks


Also ... is there anyway to maybe synchronise a /etc/aliases file from a local linux box running sendmail into plesk. This may allow me to still maintain all my aliases locally and somehow synchronise aliases between my local sendmail aliases file and Plesk box. I'll settle for the bulk import though ...
 
thanks for the info. Used the command line to add 100's of aliases .... got rid of a mail catch-all rule for a domain that was accepting any email address etc ... mainly spam.

Is there anyone out there that has written scripts / automation to work with the command lines when trying to sync aliases or email accounts with other servers?

ie. When adding/deleting aliases on Local linux box, script (perl or otherwise) logs into plesk box and does the same using the command line?
 
Back
Top