| Author | 
         | 
         
      
        
         
         tomb Newbie 
          
 
  Joined: 23 February 2013 Location: United States
 Online Status: Offline Posts: 1
          | 
        
         
          
           | Posted: 23 February 2013 at 10:58am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I have a sieve script moving spam into a folder called "Junk" for each mailbox.  I can't figure out how to configure webmail lite (php) to use the folder "Junk" for Spam by default.  How can this be configured (even if it means some custom SQL)?
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 24 February 2013 at 11:17pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
There is a plugin for modifying a list of default folders, find it under example/plugins/change-default-folders directory. Copy PHP file there so that it's located at data/plugins/change-default-folders/index.php and enable the plugin in data/settings/config.php by adding a following line to array defined there:
 
 
Code: 
   
    
    
      
       | 'plugins.change-default-folders' => true, | 
       
       | 
    
    | 
 
 
 
 Once done, modify the plugin code and supply a list of folders you require, with their matching actual names on IMAP server.
 
 Hope this helps!
 
 --
 Regards,
 Igor, AfterLogic Support
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |