Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
We value your experience with Plesk during 2025 Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025. Please take this short survey: https://survey.webpros.com/
The actual script is longer. i shortened it because it is not neccesarry for understanding the problem. So i have to change the script from
#!/bin/bash
for mailbox in $(cat mbox.txt); do
doveadm expunge -u $mailbox mailbox 'INBOX' before 90d
"...
i dont want to, i have to when i just use the doveadm command. Because doveadm expunge -u user@domain.com mailbox INBOX before 90d is one comand and one folder. That would be a very long list of commands for every user and a folder In Schedules and tasks. Therefore i need a script to specify...
Thank you very much. But when i use the command without a script i have to write a comand for every single folder? I mean i want to delete emails in every folder exept archive.
the mbox.txt is in the same directory as the script.sh
the script is:
#!/bin/bash
for mailbox in $(cat mbox.txt); do
doveadm expunge -u $mailbox mailbox 'INBOX' before 90d
done
I know doveadm this is what the script is using. but i want to use the mbox.txt file cause then i just have to...
Hello,
i created a script that deletes all emails older than 90 days for my server. Then i created a schedule in schedules and tasks and entered the /script.sh in run a command. When i test run the schedule it tells me that the script cant find the file where the user data is stored. The user...