# Lost it gained it

**URL:** <https://forum.virtualmin.com/t/lost-it-gained-it/123751>\
**Category:** Usermin\
**Created:** [December 2, 2023, 11:20am UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751 "2023-12-02T11:20:08Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [December 2, 2023, 11:20am UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/1 "2023-12-02T11:20:08Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu Linux 22.04.3 |
| Webmin version | 2.105 |
| Usermin version | 2.005 |
| Virtualmin version | 7.8.2 |
| Theme version | 21.09.5 |
| Package updates | All installed packages are up to date |

I think I’ve lost it - sorry daft question - maybe.

I have only just noticed this in Usermin (on more than one account)

I appear to have two “Sent” folders!  
One contains the message “Sent” (the top one) the other seems empty.

I assume somewhere I have created this in ignorance now how to undo it? (It is confusing)

![Screenshot 2023-12-02 110949](https://cdn.forum.virtualmin.com/uploads/default/original/2X/1/1a909d946ac4bc1ba555236c7a9b5184a55ad9d0.png)

Oh, and why is “spam” not in title case? (“Spam”)

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [December 2, 2023, 3:33pm UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/2 "2023-12-02T15:33:52Z")

</div>

I am pretty sure that the first one is used by webmail, the second by email clients.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [December 2, 2023, 4:09pm UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/3 "2023-12-02T16:09:04Z")

</div>

> [@Stegan](#):
>
> Oh, and why is “spam” not in title case? (“Spam”)

I have solved that one - by going into “Manage Folders” and renaming it.

As for the duplicate “Sent” I could probably delete it in the same place, but…

> [@Randomz](#):
>
> I am pretty sure that the first one is used by webmail, the second by email clients.

maybe not - I have tried sending by Usermin and using Roundcube (my webmail preference) and using an external client (Thunderbird and Nodemailer) but nothing seems to be put there.

The puzzling thing is that has only happened on this box (hence my thoughts were on some setting I have inadvertently clumsily set.)

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [December 2, 2023, 4:43pm UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/4 "2023-12-02T16:43:09Z")

</div>

There was one webmail client that once boasted a motto of something like, ‘Webmail that sucks less. Let’s face it, all webmail sucks’. And went on from that premise for his client.

I think IMAP probably requires some defaults so they get hard coded into clients. You end up with duplicates if you use duplicate clients. That’s my working theory. In your case it simply used the first one in the list. Not enough of an issue to take it further.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [December 2, 2023, 6:34pm UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/5 "2023-12-02T18:34:09Z")

</div>

There is no standard for what folders are called, and mail clients vary.

You’ll need to figure out what your other mail client(s) use for folder names and change Usermin to match (or vice versa).

If you use your other mail client _first_ and let it create the folders it wants, I believe Usermin will detect the most common ones and use those instead of its default names. (And, if it doesn’t it’s probably a bug or we’re not detecting the folder names for your client, and that can be fixed.)

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [December 2, 2023, 9:59pm UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/6 "2023-12-02T21:59:42Z")

</div>

I’m assuming nobody wants to be blamed for lost emails on an initial sync.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [December 2, 2023, 10:15pm UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/7 "2023-12-02T22:15:22Z")

</div>

> [@Joe](#):
>
> If you use your other mail client _first_ and let it create the folders it wants, I believe Usermin will detect the most common ones and use those instead of its default names.

I never thought about IMAP (more experimentation required) If the extra “Sent” is created by the client then why not a extra “Inbox” “Draft” and I still don’t ssee what the difference is “Sent” and “Sent” look the same to me. Also why only this box. They all have Roundcube on every VS (part of my VS setup routine, along with sending myself (Thunderbird) a test email from Usermin)

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [December 3, 2023, 12:30am UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/8 "2023-12-03T00:30:21Z")

</div>

Each of those clients might have different names.

> [@Stegan](#):
>
> I still don’t ssee what the difference is “Sent” and “Sent” look the same to me

The actual folder name is probably different. Some mail clients prepend a `.`, some are all lowercase, etc. and Usermin may be normalizing the displayed name for cosmetic reasons. You can look at the actual directories in the Maildir folder for the user.

---

<div class="post-metadata">

**Author:** ![Randomz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/839c29/32.png) [@Randomz](https://forum.virtualmin.com/u/Randomz)\
**Post date:** [December 3, 2023, 1:15am UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/9 "2023-12-03T01:15:56Z")

</div>

Or if logged in to Usermin, select Manaqe Folders.

---

<div class="post-metadata">

**Author:** ![Stegan](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/stegan/32/6860_2.png) [@Stegan](https://forum.virtualmin.com/u/Stegan)\
**Post date:** [December 3, 2023, 10:19am UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/10 "2023-12-03T10:19:05Z")

</div>

> [@Randomz](#):
>
> Or if logged in to Usermin, select Manaqe Folders.

Thanks, yes as said above, that is how I renamed the “spam” to “Spam”. I have also deleted the second “Sent” for one user (me) and it has not reappeared. it had the same folder name (as far as I could tell) it does not seem to be a folder put there by IMAP and a web client.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [December 11, 2023, 10:19am UTC](https://forum.virtualmin.com/t/lost-it-gained-it/123751/11 "2023-12-11T10:19:29Z")

</div>

Closed on December 11, 2023, 10:19am UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
