• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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