Zimbra: Modifying to Send Email on Email Recieved
I need Zimbra to detect an incoming email and run some code. I'm new to Zimbra and am still learning how it all fits together, but 开发者_如何学JAVAfrom what I can tell there are a few ways to go about this.
- Does Zimbra already run a script when an email is received? If so I could just add a few lines.
- Does Zimbra log incoming email? If so I could check that every so often and see what new emails have come in.
- Could create a scheduled job to query the database for new emails since last check.
Any ideas on where to go with this?
--
Some boring specifics: The people in the office don't check their work emails enough and are missing important stuff. My job is to send a notification email to their personal email address when they get mew mailZimbra can auto-forward to any address, but it can't run scripts on receipt without a lot of work. It's designed to scale to large installations, so (for one thing) it tries not to do anything per-recipient for a large distribution list. So e.g. there's no procmail and no real way to hook it up.
精彩评论