Android cannot delete emails from IMAP server

I’ve been having an odd problem with being unable to delete emails from the Inbox of my self-hosted email account from my Android phone, using the Gmail app, using IMAP. When I would delete a message, a copy would be created in the Trash folder, but the original would remain in the inbox – when viewed from webmail. When I refreshed the inbox, the original would reappear on my phone.

At first, I thought the problem was permissions on /var/mail – so I did various changes such as chmod 1775, but to no avail.

I then remembered that I had recently re-setup my mail account on my phone, and realized that maybe it wasn’t using IMAP previously. So, I deleted the account, set it up again as POP3, and enabled server-side deletion. It worked!

It turns out that most mobile IMAP clients do not support the ability to achieve true server-side deletion. Using POP3 is an easy alternative and there is no harm. Yes, POP3 is an outdated and cruddy protocol, but in the end, it works.

Artistic Discovery

Erik gave me an account on his blog, so I thought I’d make my first post about something outside his usual scope – art.

Today at work I came across a new magazine shipment and flipped through the pages of an issue of Art Lies. A piece by an artist called Andrea Zuill caught my eye, so I checked out her site. Her pieces are surreal and darkly humorous; here are a few good ones:




“Elephant Dancing”

“My Time as a Bear”

And here is a sculpture called “Grunt with Bow”

I enjoyed her work. Her site is

Hello world!

Welcome to Erik’s web blog.

I’ve had many failed blog attempts in the past, but those were on sites where it was more designated as a “journal”/diary, and keeping a documentation of my life is vain and boring. Reminding myself of how mundane I am seems like a great waste of time.

I hope to do a lot with this, and my aims are to discuss whatever topics come to mind. Probably meaning computing, science, politics, news, philosophy, religion, and life(mine or otherwise) in general.

And if I end up not doing much with this, I’ll at least have a domain to show off to the other nerds I come across.