Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic Aurora

 AfterLogic Forum : AfterLogic Aurora
Subject Topic: Sieve filters question Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
solkmaaker
Senior Member
Senior Member


Joined: 28 June 2020
Online Status: Offline
Posts: 163
Posted: 05 December 2022 at 9:01am | IP Logged Quote solkmaaker

Hello

Sieve forward can be disabled, but is it possible to disable sieve filter "redirect"?

The problem lies in mail forwarding as such.
Forwarding can be made technically correct with SRS, but forwarded mail content is what it is.
So if somebody sends some mail to address you@example.com and this address is forwarded for example to you@gmail.com then problem arises.
Since forwarded mail may contain content (links, etc) that gmail (or other ESP) "thinks" is spam, it will classify sender as spam source, and this source is not original source, but example com server that did SRS forwarding.
And since example.com sender is now classified as spam source, all example.com clients will see delays on delivering to gmail.com.
Even if "forward" is disabled in aurora, user can still create two rules using "redirect" method to forward all his mail to gmail.
Like so:
if from header containing a then redirect to you@gmail.com
if from header not containing a then redirect to you@gmail.com
Back to Top View solkmaaker's Profile Search for other posts by solkmaaker
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 05 December 2022 at 11:34pm | IP Logged Quote Igor

Hello,

Currently this can only be done by modifying the source code. Under static/js directory, locate the file called MailWebclient.app.some-hash.js (not MailWebclient.app.some-hash.min.js). Comment out or remove the following line in it:

Code:
{'text': TextUtils.i18n('MAILWEBCLIENT/LABEL_REDIRECT_FILTER_ACTION'), 'value': 7},


You'll need to set "UseAppMinJs" to false in data/settings/config.json file for this to work (so that non-minified JavaScript is loaded instead of minified one), and clear browser cache to apply changes.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
solkmaaker
Senior Member
Senior Member


Joined: 28 June 2020
Online Status: Offline
Posts: 163
Posted: 22 December 2022 at 1:37pm | IP Logged Quote solkmaaker

Thank you Igor

Is it OK if i make same change in modules/MailWebclient/js/views/settings/AccountFiltersSettingsFormView.js
and then rebuild all with gulp?

Purpose here would be to use minimized js.
Back to Top View solkmaaker's Profile Search for other posts by solkmaaker
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 December 2022 at 11:03pm | IP Logged Quote Igor

Hello,

Yes sure, that would do the trick. Thank you.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide