Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




102 posts

Master Geek

Trusted

# 141398 11-Mar-2014 15:44
Send private message

I run an IMAP-based email system - it's a front-end-modded version of RoundCube.  Every night I want to go into each user's mailbox and blow away a whole pile of their messages. Is it enough just to delete the actual file? I can open and scan it to figure whether it lives or dies .....  

Create new topic
15023 posts

Uber Geek


  # 1002864 11-Mar-2014 16:02
Send private message

You need to provide more details. With IMAP people store their emails on the server, so they are not going to be happy if you delete them. If you want them to be deleted when they are downloaded, then you should use pop.



102 posts

Master Geek

Trusted

  # 1002872 11-Mar-2014 16:07
Send private message

Trust me. In this webmail system the users have no problem with me managing the on-server messages. There are a lot of (broadcast) messages, they have short currency and the users don't always delete things. The system slows down if there are too many.

 
 
 
 


8033 posts

Uber Geek

Trusted

  # 1002958 11-Mar-2014 19:23
Send private message

ianboag: Trust me. In this webmail system the users have no problem with me managing the on-server messages. There are a lot of (broadcast) messages, they have short currency and the users don't always delete things. The system slows down if there are too many.


The IMAP protocol covers the communication between client and server, I don't believe it dictates the backend storage of accounts or messages.

You should contact the vendor of the system and/or look at their documentation for how best to safely bulk remove messages before messing with their backend storage cowboy style.

Perhaps you should consider why email is being used for high frequency notifications instead of some other web technology better suited to it, rss/atom?

If you really want to do this  it's not too hard to write program that connects to an account via IMAP and removes messages based on some critera (from, subject name) in most languages. The main issues are security based, in that you need a list of accounts and usernames/passwords that the program can use to access the email server.

What's the server environment: Linux/cron/python, Microsoft, other?







aw

273 posts

Ultimate Geek


  # 1004258 12-Mar-2014 14:15
Send private message

The storage format, not the access means (IMAP) is what's relevant here. mbox, Maildir, other?

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Disney+ streaming service confirmed launch in New Zealand
Posted 20-Aug-2019 09:29


Industry plan could create a billion dollar interactive games sector
Posted 19-Aug-2019 20:41


Personal cyber insurance a New Zealand first
Posted 19-Aug-2019 20:26


University of Waikato launches space for esports
Posted 19-Aug-2019 20:20


D-Link ANZ expands mydlink ecosystem with new mydlink Mini Wi-Fi Smart Plug
Posted 19-Aug-2019 20:14


Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26


The Document Foundation announces LibreOffice 6.3
Posted 9-Aug-2019 16:57


Symantec sell enterprise security assets for US$ 10.7 billion to Broadcom
Posted 9-Aug-2019 16:43


Artificial tongue can distinguish whisky and identify counterfeits
Posted 8-Aug-2019 20:20


Toyota and Preferred Networks to develop service robots
Posted 8-Aug-2019 20:11


Vodafone introduces new Vodafone TV device
Posted 7-Aug-2019 17:16



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.