ispCP - Board - Support
Add email redirection by script - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Add email redirection by script (/thread-16397.html)



Add email redirection by script - George Black - 11-21-2012 10:09 AM

Hi, I would like to set up email redirects for a specific domain from an external script. Has anyone done this before? Is there any script available? If not, what should I take care about? Does ispCP read out the Postfix alias file or does it depend on its own database?
Thanks in advance for your replies!


RE: Add email redirection by script - joximu - 11-21-2012 08:24 PM

ispcp wirtes the redirections in the database and then the request manager (or more exactly the mbox engine) puts the changes into the system config file (postfix aliases).

So - best would be you make the changes directly in the ispcp db, table mail_users (also change status to 'CHANGE') - and then kick the request manager.

/Joxi