Intercept email account creation process

Jul 16, 2009
9
0
51
Hello all,

I want to add new email accounts, created using cPanel, into my LDAP server as well.

Is it possible to change email account creation process?

I was thinking that cpanel uses addpop script to create email accounts, but it just used to create email accounts via command line.

Regards,

Guilherme
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hello all,

I want to add new email accounts, created using cPanel, into my LDAP server as well.

Is it possible to change email account creation process?

I was thinking that cpanel uses addpop script to create email accounts, but it just used to create email accounts via command line.

Regards,

Guilherme
Yes, you can intercept the email account creation process. You would intercept the Email module's addpop function with a custom event handler. You can read more about creating your own custom event handler at:

CustomEventHandler < DevHooks < TWiki

If you need help with understanding how to use a custom event handler, let me know.