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

email forwarding batch creation

C

Cheong

Guest
I am now making migration from CPanel to Plesk for my web site.

Since we have more than hundreds of users using email forwarding in my previous system (CPanel), it is very redundant and hard job to input the email forwarding again for the hundred emails.

I can download the email forwarding list from CPanel.
Can any body tell me how to upload / create email forwarding in a batch in Plesk?

Thanks very much!
Cheong
 
Cheong,

i'm afraid there is no way 'to just tell Plesk to use this file'
forwarding cannot be transferred this way.
but i know that command line utilities can do this, in other words special command can turn this option on, look what i found:
http://download1.swsoft.com/Plesk/Plesk8.2/Doc/plesk-8.2-unix-cli/39181.htm

so, you can design a script that will look into this file and will execute command that will configuring forwarding on mail box.
http://download1.swsoft.com/Plesk/Plesk8.2/Doc/plesk-8.2-unix-cli/index.htm

here i found this info
 
Dear Tiramisu

You have give me a great hand. I believe this will help me to create emails easily and manage create an online email update easily.

However, when I try to access the utility, it seems that the utilities is not found in the utility folders:

From the Overview of the document("Plesk 8.2 for Linux/Unix CLI Reference") (http://download1.swsoft.com/Plesk/Plesk8.2/Doc/plesk-8.2-unix-cli/index.htm), it saids there should be a package "plesk-api-cli" installed and the utilities files can be find in the folder "/usr/local/psa/bin/"

However, the said utilities is not found in the folder but some other files.:

$ ls -la /usr/local/psa/bin/mail

lrwxrwxrwx 1 root root 42 Oct 4 02:13 /usr/local/psa/bin/mail -> /usr/local/psa/admin/plib/api-cli/mail.php


If I enter the "mail" command directly in my home folder, it seems not the command:

$ mail --help
mail: invalid option -- -
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]

I would be grateful if you know the about it.

Thanks very much!
Cheong
 
Back
Top