Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hello,

any idea how to debug, why not delete email data from filesystem, when delete any email address.

I confirm checkbox for - Completely remove email data from filesystem? , but not delete mailbox in folder.

 

 

Did the cronjob run? There should be a task in the admin's dashboard regarding the deletion if not completed yet

  • Author

Yes. The cronjob is run.

"There are currently no outstanding tasks for Froxlor"

Can't find information in logs. :(

Screenshot_21.jpg

Hard to reproduce in that case. Which froxlor version? Does the cronjob run as root (it normally does)? what's the ownership/permission of the /var/customers/mails/[customer] folder which is to be deleted?

  • Author
 

Installed version:  0.10.0-rc1 (DB: 201904100)

drwxr-x---  3 vmail vmail 4096 Apr 16 21:40 /var/customers/mail/customerx

other cronjobs from froxlor like calculate mailbox size, ssl certs etc running fine.

1) update to rc2

2) can you verify that there is an entry in table `panel_tasks` (please paste here) when you've deleted an email account with 'delete files' checked?

  • Author

Yes, updated now, and test again, but same result. :(

Screenshot_24.jpg

Screenshot_23.jpg

When deleting userfiles, there should be a task with `type` = 7 - let me quickly try to reproduce

Unable to reproduce, works perfectly, entry for deletion of files is created and the cronjob deletes the user data as expected.

Please give EXACT steps to reproduce if NOT deleted as customer via froxlor-panel (but with using API or a custom scripts or similar)

  • Author

Hi, i sent now private message with video, because not good idea make public with security data.

Hm...okay, seems that there is nothing added to the tasks table...but sorry, as said, I am unable to reproduce this, as it works for me. And this is pure froxlor logic (adding the task) so I kind of wonder why it should not work for you

  • Author

Now i test on other installation on new VPS, when all is clean. But same problem. Debian 9 and last version of froxlor, dovecot mail server.

The video is make on server where migrate old mailboxs and upgrade froxlor few times.

Later is install ftp and debug when make this mistake and write you.

  • Author

I check now, but in new version is not work. I one place have old version - all is ok.

I think the problem is in lib\Froxlor\Api\Commands\Emails.php, can't find $delete_userfiles. I add lines with code, but variable is not working.

in EmailAccounts.php have but not work variable $delete_userfiles too.

Screenshot_44.jpg

25 minutes ago, Brayan said:

I think the problem is in lib\Froxlor\Api\Commands\Emails.php, can't find $delete_userfiles. I add lines with code, but variable is not working.

???? Function delete() -> $delete_userfiles = $this->getBoolParam('delete_userfiles', true, 0); 

Sorry, please don't fiddle around in the code and expect things to work. I tried different scenarios now and it always works just fine. 

  • Author

Hi again,

i check now, see next screenshots:

May be you test only delete account, not whole email address with checkbox - delete files...

When delete whole address with confirm checkbox delete files from file system - is not work. The variable $delete_userfiles is 0

 

Screenshot_48.jpg

Screenshot_49.jpg

Also tested, works perfectly fine. Are you testing with latest git-checkout?

  • Author

Hmmm,

i work with

Installed version: 0.10.0-rc2 (DB: 201904250)

works with 0.10.0-rc2 for me too, sorry, no idea why it doesnt for you

  • 10 months later...
On 6/28/2019 at 3:40 PM, Brayan said:

Hi again,

i check now, see next screenshots:

May be you test only delete account, not whole email address with checkbox - delete files...

When delete whole address with confirm checkbox delete files from file system - is not work. The variable $delete_userfiles is 0

 

Screenshot_48.jpg

Screenshot_49.jpg


I have the exact same problem.
0.10.17 (DB: 202005150)
 

  • 4 years later...
On 6/25/2019 at 10:56 PM, Brayan said:

Hello,

any idea how to debug, why not delete email data from filesystem, when delete any email address.

I confirm checkbox for - Completely remove email data from filesystem? , but not delete mailbox in folder.

This issue with email data not being deleted from the filesystem reminds me of how video editors like CapCut can sometimes leave residual files after projects are rendered or exported. Just as troubleshooting involves ensuring all temporary files are properly cleared, finding a solution to this issue may require checking for hidden cache or temporary files that could be causing the data to persist. Debugging might involve reviewing file paths or using system tools to identify and remove leftover files. For those interested in exploring more, the CapProCut APK provides a CapCut mod APK version that can enhance your editing experience with additional features.

Validate that there is a job created to remove the files, it should be listed on the admins dashboard, alternatively check the database, panel_tasks explicitly (maybe stop crond before so there's enough time to check and you can manually trigger the task via cli using --debug)

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.