How to manually create virtual e-mail account.

xexull

New member
Joined
Mar 1, 2012
Messages
1
Hello!

I use DirectAdmin on CentOS 5.5 and I have some questions. How can I make manually ("in bash terminal") virtual e-mail account for example with main hostname.


Thanks for answer!
 
Hello,

Create a Virtual POP Account
Function Used to create a pop account for a domain
Command CMD_API_POP
Method GET or POST
Success Returns error=0 and url encoded String
Failure Returns error=1 and url encoded String
Form values:
Name Value
action create
domain the domain to be shown eg: domain.com
user email user eg: bob
passwd the password for the account
quota Integer in Megabytes. Zero for unlimited, 1+ for number of Megabytes.

http://www.directadmin.com/api.html


That would create a virtual email account on user domain. If you want one with hostname, then create a linux user with

Code:
useradd

http://www.cyberciti.biz/faq/howto-add-new-linux-user-account/
 
Back
Top