|OS type and version
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
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
that’s strange try the reindexing
just reading the Tools/Doveadm - Dovecot Wiki
there is also force resync
doveadm force-resync -u bob INBOX
I did it, on 2 accounts without success. where can I see the sync logs ?
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.
have you look in the users mail fold and see if the user:group look ok?
Amy chance Outlook is putting them in the junk folder, or not in date order - latest at the top?
I presumed you meant you can see the mail in the folder (with file manager) but the client is not seeing it.
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.
hmmm not sure just copy files from one location is the right way to do it.
There is a VM cli to copy mail
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.
no thats not right, mail goes to /home/domain.com/username/Maildir
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?
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?
Maybe in webmin in user and groups. But its seems a bit screwed up.
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
- Install temporarly roundcube to login
- 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
- In the /home/user_home_directory/homes/ I found the office folder that I rename it.
- As soon as I rename it, IMAP start complaining
Apr 21 11:14:20 srv1 dovecot: imap-login: Login: email@example.com, 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(firstname.lastname@example.org)<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(email@example.com)<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
- 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.
So basically to send emails is using the folder from /home/user_home_directory but to receive emails is using /var/mail/ folder.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.