The export_horde_contacts_to_vcf Script

Valid for versions 108 through the latest version



Last modified: November 21, 2022


The /usr/local/cpanel/scripts/export_horde_contacts_to_vcf script exports Horde contacts to files in .vcf format. You can then import these files into Roundcube.


Only the root user can run this script.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/export_horde_contacts_to_vcf [options]


Use the following options with this script:

Option Description Example
--user Required
Export contacts for the cPanel user(s) you specify.
  • The script also exports the contacts of all email accounts under the cPanel user into separate files.
  • For multiple cPanel users, specify this option for each user.
--user=cptest --user=cptest2
--out Specify a directory for the .vcf files.
  • If you do not use this option, the script only outputs the contact data to the screen.
  • Do not add a trailing slash (/) after the directory name.

Additional Documentation