Author |
|
dla Newbie
Joined: 20 February 2013 Location: United States
Online Status: Offline Posts: 8
|
Posted: 04 March 2013 at 7:26am | IP Logged
|
|
|
Hello, in response to this thread (http://www.afterlogic.com/forum/forum_posts.asp?TID=4040&PN=1)
I do have the latest version 6.6 of Afterlogic Webmail Lite PHP and this is what I see in the debug logs:
[15:08:50.35] [POST(1)] /webmail/processing.php
[15:08:50.35] POST > [xml]
[15:08:50.35]
[15:08:50.35] POST[xml] = <?xml version="1.0" encoding="utf-8"?><webmail><param name="action" value="login" /><param name="request" value="" /><param name="token" value="ccbf4f7aeed58eaaae086e6df6d3fe6d"/><param name="email"><![CDATA[xxxxxx@wright.local]]></param><param name="mail_inc_pass"><![CDATA[xxxxxxxxxx]]></param><param name="sign_me" value="0"/><param name="advanced" value="0"/><param name="domain_name"><![CDATA[]]></param><param name="language"><![CDATA[]]></param></webmail>
[15:08:50.36] CAppServer->DoLogin
[15:08:50.36] DB : connected to xxxx@127.0.0.1
[15:08:50.36] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_realm`, `deleted`, `def_acct`, `mailing_list`, `quota`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `def_order`, `getmail_at_login`, `mail_mode`, `mails_on_server_days`, `signature`, `signature_type`, `signature_opt`, `delimiter`, `mailbox_size`, `namespace`, `custom_fields` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'xxxxxx@wright.local'
[15:08:50.37] HOOK > CChangeDefautFoldersPlugin->PluginDomainConstruct
[15:08:50.37] DB[2] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timeoffset`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 112
[15:08:50.37] start connect to 127.0.0.1:143
[15:08:50.38] connected
[15:08:50.38] NET < * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.\r\n
[15:08:50.38] NET > TAG1 LOGIN "xxxxxx@wright.local" "*******"\r\n
[15:08:50.38] NET < TAG1 OK LOGIN Ok.\r\n
[15:08:50.38] NET > TAG2 LOGOUT\r\n
[15:08:50.38] NET < * BYE Courier-IMAP server shutting down\r\n
[15:08:50.38] NET < TAG2 OK LOGOUT completed\r\n
[15:08:50.38] disconnect from 127.0.0.1:143
[15:08:50.38] DB[3] > UPDATE awm_settings SET last_login = '2013-03-04 15:08:50', logins_count = logins_count + 1 WHERE id_user = 112
[15:08:50.38] XML Result >
<?xml version="1.0" encoding="utf-8"?><webmail><login /></webmail>
[15:08:50.38] DB : disconnect from xxxx@127.0.0.1
[15:08:56.14] /webmail/adminpanel/index.php?pop&type=log&action=view
[15:08:56.14]
[15:08:56.14] call CWebMailModule->StandardPopAction->Services()
Does this have something to do with utf-8 encoding? I didn't see any warnings or errors anywhere else in the log; oh and the browser we're using is IE9.
If this is something that will be fixed in the next version can you show me how to at least hide the links/toolbar for 'Spam' and the spam folder link in the folders pane (I could unsubscribe each one it but we have over 120+ users...)? I tried doing so following other threads about CSS and I can't find and/or change the right areas of code (I did not think there would not be so much difference between versions that these tweaks might not work?)
Thanks again!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 04 March 2013 at 11:05pm | IP Logged
|
|
|
This looks like you're logging into account which already exists in WebMail Pro. If that's the case, be sure to delete the account via adminpanel or from account settings area, and log back into it. The "default folders" plugin would only work on creating new accounts, it doesn't affect those which exist in WebMail database already.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dla Newbie
Joined: 20 February 2013 Location: United States
Online Status: Offline Posts: 8
|
Posted: 05 March 2013 at 2:47pm | IP Logged
|
|
|
Thanks Igor. Unfortunately it doesn't work for a newly created user as well. Please let me know if you have any other suggestions.
Right now I commented out the function /webmail/js/mail/message-list-central-pane.js line 161 & 162:
this._isSpamTool = this._toolBar.addItem(TOOL_IS_SPAM, function () {/*RequestMessagesOperationHandler*/(TOOLBAR_IS_SPAM, [], []);}, false);
this._notSpamTool = this._toolBar.addItem(TOOL_NOT_SPAM, function () {/*RequestMessagesOperationHandler*/(TOOLBAR_NOT_SPAM, [], []);}, false);
The result is that clicking on the Spam button doesn't do anything... that's kind of OK but is isn't...
What could work best in our situation?
Is hiding the 'Spam' link and keeping that spam folder permanently unsubscribed instead of using the plugin possible?
I tried unsubscribing the spam folder per user but it comes back when logging on again and I cannot find the piece of code to hide the Spam toolbar section.
Thanks for helping though.
EDIT: By the way, we're using PHP Webmail Lite; qmail/vpopmail backend.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 05 March 2013 at 11:28pm | IP Logged
|
|
|
I don't think there are other suggestions at the moment, and the only way to disable spam-related functionality is to disable Spam folder itself.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
dla Newbie
Joined: 20 February 2013 Location: United States
Online Status: Offline Posts: 8
|
Posted: 06 March 2013 at 11:21am | IP Logged
|
|
|
Ok, thanks anyways! I figured out how to remove the 'Spam' folder via unsubscribing it and then deleting it entirely (administrator error...). Yes, I would have to do so for each user but that's fine. It's still a great product none the less, I just had to overcome a somewhat steep learning curve with PHP, JavaScript & Qmail in a really short amount of time!
Thank you, Igor.
|
Back to Top |
|
|
nht2007 Newbie
Joined: 21 May 2013 Location: Vietnam
Online Status: Offline Posts: 1
|
Posted: 21 May 2013 at 8:54am | IP Logged
|
|
|
thanks for your help :)
|
Back to Top |
|
|