Ahh, and reading on I see that this exists already :)
On Fri, 30 Sep 2016, at 08:02, Bron Gondwana wrote:
> You're the reason we can't have nice things :( rm + reconstruct will bite you
> one upgrade for sure.
>
> A dry run option to ipurge sounds like a great idea. We just always use IMAP
> to
You're the reason we can't have nice things :( rm + reconstruct will bite you
one upgrade for sure.
A dry run option to ipurge sounds like a great idea. We just always use IMAP to
do admin on Cyrus, but I can see a case for improving ipurge.
On Fri, 30 Sep 2016, at 01:04, Vladislav Kurz via Inf
We use a perl scrip that does similar process to delete mass phishing or
malware email messages from the mail spool. The script locates the
sequence number for the message based on the message ID/filename, and
then issues the IMAP delete and expunge commands.
Relevant section of code below
On 09/29/16 17:14, Wolfgang Breyha via Info-cyrus wrote:
> Vladislav Kurz via Info-cyrus wrote on 29/09/16 17:04:
>> ipurge is nice but I would really appreciate if it had a --dry-run
>> option. I'm never sure what it will really delete.
>
> It got one in 2.5.9.
>
> Greetings, Wolfgang
>
Ah, tha
Vladislav Kurz via Info-cyrus wrote on 29/09/16 17:04:
> ipurge is nice but I would really appreciate if it had a --dry-run
> option. I'm never sure what it will really delete.
It got one in 2.5.9.
Greetings, Wolfgang
--
Wolfgang Breyha | http://www.blafasel.at/
Vienna University Computer Cente
On 09/29/16 16:32, Patrick Boutilier via Info-cyrus wrote:
> On 09/29/2016 11:27 AM, Shawn Bakhtiar via Info-cyrus wrote:
>> Good morning,
>>
>> trying to get rid of some emails that have large attachments (i.e.
>> videos sent over email, or cd images, etc...)
>>
>> Would it be proper to
>>
>> rm -
On 09/29/16 14:27 +, Shawn Bakhtiar via Info-cyrus wrote:
trying to get rid of some emails that have large attachments (i.e. videos sent
over email, or cd images, etc...)
Would it be proper to
rm -rf /var/spool/imap/u/username/mailbox/4321.
then
reconstruct -rf user.username
Or is there
On 09/29/2016 11:27 AM, Shawn Bakhtiar via Info-cyrus wrote:
Good morning,
trying to get rid of some emails that have large attachments (i.e. videos sent
over email, or cd images, etc...)
Would it be proper to
rm -rf /var/spool/imap/u/username/mailbox/4321.
then
reconstruct -rf user.usernam
Good morning,
trying to get rid of some emails that have large attachments (i.e. videos sent
over email, or cd images, etc...)
Would it be proper to
rm -rf /var/spool/imap/u/username/mailbox/4321.
then
reconstruct -rf user.username
Or is there a more "proper" way using cyrus?
Thanks,
Shawn