Author |
|
jrquint Newbie
Joined: 26 February 2009 Location: United States
Online Status: Offline Posts: 10
|
Posted: 26 February 2009 at 8:57am | IP Logged
|
|
|
I am setting up afterlogic webmail pro(demo) right now. SO far I am VERY impressed. I've use a couple other PHP webmail clients and this so far is the best/easiest for our situation.
One issue I do have so far, is setting some of the user defaults. I found a previous post on modifying the class_account.php file to change the "Leave messages on server" defaults.
I do not see a way to change the default of "Delete message from database if it no longer exists on mail server"
Any ideas?
Also we are looking at branding the webmail center as we are a regional ISP.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 February 2009 at 2:25am | IP Logged
|
|
|
This is more complicated thing to implement as it's not set via MailMode, it depends on synchronization mode selected for Inbox folder. Currently, making such changes requires modifying source code in multiple locations, including obfuscated code (the code made as unreadable as possible in order to prevent removing license key checks).
We're going to release WebMail Pro 4.5 in early March 2009. In that version, it will be enough to modify only a couple of lines of the source code to achieve what you need. We'll provide you with instructions on this if you like.
Regards,
Igor
|
Back to Top |
|
|
jrquint Newbie
Joined: 26 February 2009 Location: United States
Online Status: Offline Posts: 10
|
Posted: 13 March 2009 at 11:23am | IP Logged
|
|
|
I just downloaded and installed 4.5 and modified the
MailMode as far as I knew. I would like instructions on
removing the"Delete message from database if it no longer
exists on mail server" default if you have them.
Also, with 4.4 i remember being prompted or seeing
something in the installation instructions on changing the
data directory to something not web accessible. I had 4.4 at
/var/webmail_data but 4.5 puts under the
/var/www/afterlogic web accessible directory
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 16 March 2009 at 4:25am | IP Logged
|
|
|
1. Find function GetDefaultFolderSync($_settings) in class_account.php file (line ~413) and replace:
Code:
case MAILPROTOCOL_POP3:
return FOLDERSYNC_AllEntireMessages; |
|
|
with:
Code:
case MAILPROTOCOL_POP3:
return FOLDERSYNC_NewEntireMessages; |
|
|
2. Find function GetDefaultFolderSync() in adminpanel/plugins/webmail/common/class_account.php (~337) and replace:
Code:
case WM_MAILPROTOCOL_POP3:
return WM_FOLDERSYNC_AllEntireMessages; |
|
|
with:
Code:
case WM_MAILPROTOCOL_POP3:
return WM_FOLDERSYNC_NewEntireMessages; |
|
|
Quote:
Also, with 4.4 i remember being prompted or seeing
something in the installation instructions on changing the
data directory to something not web accessible. I had 4.4 at
/var/webmail_data but 4.5 puts under the
/var/www/afterlogic web accessible directory |
|
|
In the past, we've been aware of multiple issues related to configuring data folder path, setting access permissions over this folder and so on. Eventually, we decided to make web subfolder a default location for the data folder (user is still allowed to move it elsewhere), access to the folder is protected with .htaccess file.
Regards,
Igor
|
Back to Top |
|
|