开发者

create mail account on server via php

i have programmed small mail reader script

and linked it with my website script

My question is

i want allow my website users to make them mail on my server

IMAP email on my domain

Question is:

How to create email on server via php

i searched in i开发者_JAVA百科map library and found no thing

thank you and sorry for my language!


That depends entirely on your configuration. I, for example, use Postfix with Dovecot and have MySQL store the users. If I want to add a user, I simply run INSERT INTO MAIL.USERS ('un@domain', ENCRYPT('password')). I got a couple of different sets of instructions here.

Of course, this was for CentOS, so you may need to do a bit more research.


$str = 'adduser user1';

exec($str);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜