You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JoeBiellik This, in theory, shouldn't be too hard.
Write a stand-alone entry like mail-server.js and `server.js.
Have the entry file delete emails that are x seconds old
Schedule the job (the new file), using like a cron-like tool but for docker something like Ofelia.
If you look at their github readme, first read the beginning, once you hit the config section, jump down to Docker Labels then scroll down further till you see the docker-compose setup
For bulk deleting emails over a particular age periodically, it could be done in app, but I think its easier to do it with external database tools and crons, as I do currently. I was imagining a way for a user to set a particular expire period per email address, which is more complex and could potentially have other users adjusting "your" email address expiry.
like delete any received email from 2 days ago
The text was updated successfully, but these errors were encountered: