Re: All mail removed, but it is on the filesystem
Paul van der Vlis <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Hello Simon and others, Op 31-10-2022 om 15:46 schreef Simon Matter: > Hi, > >> Hello, >> >> A customer had space-problems on her phone, and did remove all e-mail. >> Now it is gone in Thunderbird and in the webmail too... >> >> But it is still there if I look in /var/spool/cyrus/mail/ . >> >> I still have a backup, not sure what's the best to do. >> >> With regards, >> Paul van der Vlis > > I expect this is because you have "delete_mode: delayed" and/or > "expunge_mode: delayed" in your config. Hmm, no I have not. I've grepped for delayed and expunge in imapd.conf, but no... > You should be able to recover the mails by either renaming them from the > $deletedprefix or by running "unexpunge". I don't know what $deletedprefix is. But.. I could get all mail back with running: /usr/lib/cyrus/bin/unexpunge -a -d user.username ;-) > Sorry, I don't really remember all the details... Very much thank for your help! But I must say that I don't understand this behaviour. So far I know an e-mail is gone on the server when I delete it... I don't know which e-mail program was used on the phone. With regards, Paul van der Vlis > Regards, > Simon > -- Paul van der Vlis Linux systeembeheer Groningen https://vandervlis.nl/ ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Tf8aea7f3a5ced066-Mc2a53821f4a9c3cd18b9296a Delivery options: https://cyrus.topicbox.com/groups/info/subscription