ClearFoundation Tracker - ClearOS
View Issue Details
0001156ClearOSapp-mail-routing - Mail Routingpublic2013-05-23 14:422013-07-17 12:44
bchambers 
bchambers 
normalfeaturealways
closedfixed 
6.4.0 
6.4.0 Updates 
0001156: Provide hooks for mail archiving app
Mail archiving in 6.x uses flat files instead of fetching messages from IMAP server (like in 5.x).

Mail routing libraries need hooks to copy optionally archive messages if mail archive is installed and enabled.

Something like this:

if (file_exists('/var/clearos/mail_archive/enabled'))
  copy($this->_tmpfile, '/var/clearos/mail_archive/messages/' . preg_replace(array('/^</', '/>$/'), array('', ''), $this->_id));
No tags attached.
Issue History
2013-05-23 14:42bchambersNew Issue
2013-05-23 14:42bchambersStatusnew => assigned
2013-05-23 14:42bchambersAssigned To => bchambers
2013-05-23 14:49bchambersCheckin
2013-05-23 14:49bchambersNote Added: 0000859
2013-05-23 14:49bchambersStatusassigned => resolved
2013-05-23 14:49bchambersResolutionopen => fixed
2013-07-17 12:44user2Statusresolved => closed

Notes
(0000859)
bchambers   
2013-05-23 14:49   
Source Code Changelog
---------------------------------------------------
- Fixed Message-ID parsing bug [fixed tracker 0001154]
- Added hooks for mail archive app [fixed tracker 0001156]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=6046 [^]
U webconfig/apps/mail_routing/trunk/deploy/info.php
U webconfig/apps/mail_routing/trunk/libraries/Filter_Content.php
U webconfig/apps/mail_routing/trunk/libraries/Filter_Incoming.php
U webconfig/apps/mail_routing/trunk/packaging/app-mail-routing.spec