postalserver / postal

📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail
https://postalserver.io
MIT License
14.85k stars 1.05k forks source link

Clear or re-attempt all held messages option #257

Open adamcooke opened 7 years ago

adamcooke commented 7 years ago

Allow all held messages to be "cleared" or "re-attempted" through the UI.

ravimantri commented 7 years ago

@adamcooke,

Thanks for such amazing feature. Is it already implemented in the UI? If yes then where because I installed the latest version but couldn't find.

Looking for your help. Thanks

adamcooke commented 7 years ago

This is just an enhancement ticket. This will be added to the software when either myself or someone else fancies working on adding it 😄

cinco commented 2 years ago

I made a python script to clean all held messages, on a specific mail server:

https://gist.github.com/cinco/1e2efe4d67dc69b2a26704378ef358ae

Attention to the necessary environment variables:

POSTAL_LOGIN=your-email
POSTAL_PASSWORD=your-pass
POSTAL_URL=http://your-postal-domain
POSTAL_ORGANIZATION=slug-of-your-organization
POSTAL_MAIL_SERVER=slug-of-mail-server
Trapulo commented 2 years ago

I also think that an (automatico) way to re-queue held messages will be really important. If a tenant goes over quota there isn't any way to resend "discarded" messages from the GUI.