#1  
Old 20th May 2009, 11:45
bartu bartu is offline
Junior Member
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default triggered mail action

Hi there,

i'm planning using ISPConfig3 with postfix's 'sender_login_maps' feature. I use php script that gets mail aliases information and mail account information from ISPConfig's database. then it writes it to a file that postfix 'postmap' to .db format.
It seems to work well, but since users will change their email aliases and create mailboxes i need to call the script every time aliases or mailbox are changed or deleted. Is there a way to do this in ISPConfig3. Now i use cron for it and that's not a perfect way

--
regards
Bartek
Reply With Quote
Sponsored Links
  #2  
Old 20th May 2009, 21:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

You can just write a new ispconfig plugin for this that binds itself to the mail_user insert, update and delete events. Take a look at the existing mail plugins to get an idea how the event system works. It is enough to write a new plugin and then set a symlink in the plugins-enabled directoyr to activate it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail can't write Hellbound General 27 8th June 2009 21:51
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 09:50
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 02:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.