Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: Order of Sieve items when saved. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
philipnewmannz
Newbie
Newbie
Avatar

Joined: 25 April 2022
Location: New Zealand
Online Status: Offline
Posts: 1
Posted: 25 April 2022 at 5:42pm | IP Logged Quote philipnewmannz

Hi there,

When the webmail saves the sieve file the order is:

* Forward
* Auto Reply
* Filters

Is there away to make it:

* Filters
* Auto Reply
* Forward

Reason I ask this is when an item is marked as spam it still forwards even when you've set up a filter to move it to a SPAM folder.

It would be good to have the option to stop the filter once its complete so that the auto reply/forward is no longer triggered.

Phil
Back to Top View philipnewmannz's Profile Search for other posts by philipnewmannz Visit philipnewmannz's Homepage
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 26 April 2022 at 1:05am | IP Logged Quote Igor

Hello,

The order is defined in modules/Mail/Managers/Sieve/Manager.php file:

Code:
$this->aSectionsOrders = array(
     'forward',
     'autoresponder',
     'filters',
     'allow_block_lists'
);


Try changing it to:

Code:
$this->aSectionsOrders = array(
     'filters',
     'autoresponder',
     'forward',
     'allow_block_lists'
);


In the future, we'll probably make this order adjustable via configuration file.

--
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