ClearFoundation Tracker - ClearOS
View Issue Details
0000211ClearOSapp-flexshare - Flexsharespublic2010-11-18 12:562013-02-01 15:14
bchambers 
bchambers 
normalminoralways
closedsuspended 
5.2-SP1 
 
0000211: Enabling Flexshare's Email Access without having Mail SMTP module installed breaks Flexshare config page
It's possible to define a Flexshare and configure Email attachment upload *without* having installed the Mail - SMTP module. We're currently only looking for the Cyrus class, but we should look at both Cyrus and Postfix as a requirement to enabling this type of access.
Fix:

/var/webconfig/htdocs/admin

Function: GetEmailEdit()

Modify to:

if (!file_exists("../../api/Cyrus.class.php") || !file_exists("../../api/Postfix.class.php")) {
  $hint = "<p style='padding:20px 0px 20px 0px; text-align: center'>" .
    WEB_LANG_MODULE_MISSING_SMTP . "  <a target='_blank' href='" .
    $_SESSION['system_online_help'] . "/" .
    $_SESSION['system_locale'] .
    (file_exists("../../api/Cyrus.class.php") ? "/admin/mail-smtp.php" : "/admin/mail-pop-imap.php") . "'>" .
    WEB_LANG_MORE_INFO . "</a>

";
  return $hint;
}
No tags attached.
Issue History
2010-11-18 12:56bchambersNew Issue
2010-11-18 13:23bchambersAssigned To => bchambers
2010-11-18 13:23bchambersStatusnew => confirmed
2010-11-18 13:23bchambersAdditional Information Updated
2013-02-01 15:14user2Statusconfirmed => closed
2013-02-01 15:14user2Resolutionopen => suspended

There are no notes attached to this issue.