Current time: 07-09-2020, 05:48 PM Hello There, Guest! (LoginRegister)


Post Reply 
Add email redirection by script
Author Message
George Black Offline


Posts: 1
Joined: Nov 2012
Reputation: 0
Post: #1
Question Add email redirection by script
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!
11-21-2012 10:09 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Add email redirection by script
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
11-21-2012 08:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)