Title: Permissions executing Adddomain.exe or Adduser.exe via SSH

I am new to iMail and having a permissions issue, it seems. I have clients setup that execute via command line to the iMail server through SSH and trigger the adddomain or adduser programs. From an client that is logged in as an Administrator, it works fine using this command:

ssh -i c:\path\to\identity IP.OF.IMAIL.SERVER e:/imail/adddomain -h domain.com -i VIRTUAL -t domain.com

However, if I run this same command from a client that is not an administrator, the directory for the domain is created under the iMail directory, but the domain is not showing up in the iMail administrator. Similarly, when using a command for adduser, I receive 'ERR: Failed to add user...'.

Of course, all users (admin and otherwise) are setup as authorized users in SSH and plain SSH login for the users works fine. Anyone know what type of permissions I need to setup in order for these users to be able to execute the commands without error. Our iMail is setup using the iMail database.

--
Robert


Reply via email to