# Emails are working great but they don't show up in Outlook nor other clients

**URL:** <https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340>\
**Category:** Virtualmin\
**Created:** [April 20, 2023, 7:05pm UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340 "2023-04-20T19:05:25Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 20, 2023, 7:05pm UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/1 "2023-04-20T19:05:25Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu 22.04 |
| Webmin version | 2.0.21 |
| Virtualmin version | 7.7 Pro |
| Related packages | |

Hi there,

I come here with a stupid question. I have a brand new install of Virtualmin 7.7 Pro, imported the previous domains from Virtualmin 6, after some tweaks I did the mail server to work again to receive and send emails but when it comes to have the emails on the email clients like Outlook or Android mail client, they simply don’t show up.

I can see the emails received when I go to Webmin and read user’s mail but I don’t see them at all on my client even that the sync happened just fine between the client and the server

Any thoughts?

Cheers,  
Mihail

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 20, 2023, 7:40pm UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/2 "2023-04-20T19:40:28Z")

</div>

are they using imap or pop3? If its pop3 it sound like they in a read state.

also try reindexing with dovecot, the command format is doveadm index -u bob INBOX  
[https://wiki.dovecot.org/Tools/Doveadm/Index](https://wiki.dovecot.org/Tools/Doveadm/Index)

---

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 20, 2023, 7:43pm UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/3 "2023-04-20T19:43:49Z")

</div>

they use IMAP.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 20, 2023, 7:49pm UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/4 "2023-04-20T19:49:08Z")

</div>

that’s strange try the reindexing

just reading the [Tools/Doveadm - Dovecot Wiki](https://wiki.dovecot.org/Tools/Doveadm)  
there is also force resync  
doveadm force-resync -u bob INBOX

---

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 21, 2023, 6:53am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/5 "2023-04-21T06:53:01Z")

</div>

I did it, on 2 accounts without success. where can I see the sync logs ?

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 21, 2023, 7:47am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/6 "2023-04-21T07:47:18Z")

</div>

Don’t know, nto sure there would be a log. the index command has a few option to give more info when you run the command.  
[https://wiki.dovecot.org/Tools/Doveadm/Index](https://wiki.dovecot.org/Tools/Doveadm/Index)

have you look in the users mail fold and see if the user:group look ok?

---

<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:** [April 21, 2023, 7:51am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/7 "2023-04-21T07:51:44Z")

</div>

Amy chance Outlook is putting them in the junk folder, or not in date order - latest at the top?

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 21, 2023, 8:11am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/8 "2023-04-21T08:11:56Z")

</div>

> [@lazarmihail](#):
>
> ut when it comes to have the emails on the email clients like Outlook or Android mail client, they simply don’t show up.

I presumed you meant you can see the mail in the folder (with file manager) but the client is not seeing it.

---

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 21, 2023, 8:16am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/9 "2023-04-21T08:16:48Z")

</div>

I did a full sync of the folders and they don’t show up, neither in junk or spam. for me it seems like that dovecot stores the emails in one place and through imap I am getting pushed to a different location. how can I see where dovecot stores the emails. I can see them in virtualmin that they go to /var/mail/ folder but I have a suspicion that IMAP is trying to read the emails from /home/user\_folder/mail where there are no stored emails.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 21, 2023, 8:21am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/10 "2023-04-21T08:21:27Z")

</div>

hmmm not sure just copy files from one location is the right way to do it.  
There is a VM cli to copy mail  
[https://www.virtualmin.com/documentation/developer/cli/copy\_mailbox/](https://www.virtualmin.com/documentation/developer/cli/copy_mailbox/)

I used it what I went from webmin for virtualmin, I did a trial run first to see how it worked ( I was using sendmail then) and ran the doveadm index -u bob INBOX to fix the index.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 21, 2023, 8:28am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/11 "2023-04-21T08:28:30Z")

</div>

> [@lazarmihail](#):
>
> virtualmin that they go to /var/mail/

no thats not right, mail goes to /home/domain.com/username/Maildir

---

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 21, 2023, 8:49am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/12 "2023-04-21T08:49:48Z")

</div>

Well, I know that before they were going to users home folder but now with 7.7 they go here, I don’t know if is Virtualmin fault or the way dovecot it setup.

How can I have them back to user’s home folder?

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/2X/2/2a0b9edc69ed39b127e6255a1cae5c98887f1fb1.png)

---

<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:** [April 21, 2023, 8:57am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/13 "2023-04-21T08:57:46Z")

</div>

> [@stefan1959](#):
>
> no thats not right, mail goes to /home/domain.com/username/Maildir

On mine, it’s /home/domain/homes/user/Maildir/

Actually, looking at the image and stefan’s note, I wonder if the location changes with the OS?

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 21, 2023, 9:13am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/14 "2023-04-21T09:13:13Z")

</div>

corrected, sorry

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [April 21, 2023, 9:19am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/15 "2023-04-21T09:19:28Z")

</div>

Maybe in webmin in user and groups. But its seems a bit screwed up.

---

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 21, 2023, 11:20am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/16 "2023-04-21T11:20:32Z")

</div>

Yeah,

As you guys mentioned, the setup is a bit screw up and sincerley I don’t know how to fix it ☹

I performed following steps and identified the issue

1. Install temporarly roundcube to login
2. I start sending messages and I can see I can get emails to my gmail or hotmail account so I know that emails are flowing
3. In the /home/user\_home\_directory/homes/ I found the office folder that I rename it.
4. As soon as I rename it, IMAP start complaining

Apr 21 11:14:20 srv1 dovecot: imap-login: Login: user=[office@network-consulting.ro](mailto:office@network-consulting.ro), method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=213945, secured, session=\<nLxAwtb56ot/AAAB\>  
Apr 21 11:14:20 srv1 dovecot: imap(office@network-consulting.ro)\<213945\>\<nLxAwtb56ot/AAAB\>: Error: Namespace ‘’: Mail storage autodetection failed with home=/home/user\_home\_directory/homes/office  
Apr 21 11:14:20 srv1 dovecot: imap(office@network-consulting.ro)\<213945\>\<nLxAwtb56ot/AAAB\>: Disconnected: Namespace ‘’: Mail storage autodetection failed with home=/home/user\_home\_directory/homes/office in=0 out=420 deleted=0 expunged=0 trashed=0 hdr\_count=0 hdr\_bytes=0 body\_count=0 body\_bytes=0

1. In virtualmin I can see that the user is under /var/mail/

Now the question is how I make IMAP to actually read the inbox from /var/mail or how to move the inbox from /var/mail to /home/user\_home\_directory/ ?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lazarmihail](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/e19b73/32.png) [@lazarmihail](https://forum.virtualmin.com/u/lazarmihail)\
**Post date:** [April 21, 2023, 11:21am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/17 "2023-04-21T11:21:27Z")

</div>

So basically to send emails is using the folder from /home/user\_home\_directory but to receive emails is using /var/mail/ folder.

---

<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:** [June 20, 2023, 11:22am UTC](https://forum.virtualmin.com/t/emails-are-working-great-but-they-dont-show-up-in-outlook-nor-other-clients/120340/18 "2023-06-20T11:22:18Z")

</div>

Closed on June 20, 2023, 11:22am UTC

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