Hello everyone,
I have a question about the imap folders, maybe it is a basic one but i am new in this so i would appreciate if someone will help me.
So, I am wondering how it is specified in the code if one folder is public or not (i am not able to find that part in the source code), and how does imap make difference between public and private folders?
Thank you
IMAP Folders
Re: IMAP Folders
Public folders are not linked to an account
Normal IMAP folders are linked to an account, and a domain
Public IMAP folders are linked to the installation, and come under settings in the COM API
The Public IMAP folders have a 'FolderAccountID' of 0 in the HM_IMAPfolders table, but if you change another folder to 0 without using the admin GUI you will probably break your HMailsevrer, because you also need to set ACLs for the folder, and set up Public IMAP folders, and parents etc
If you create an Public IMAP folder with the admin GUI and have suitable permissions you can copy mail from within a mail client from a private IMAP folder to the public IMAP folders
Normal IMAP folders are linked to an account, and a domain
Public IMAP folders are linked to the installation, and come under settings in the COM API
The Public IMAP folders have a 'FolderAccountID' of 0 in the HM_IMAPfolders table, but if you change another folder to 0 without using the admin GUI you will probably break your HMailsevrer, because you also need to set ACLs for the folder, and set up Public IMAP folders, and parents etc
If you create an Public IMAP folder with the admin GUI and have suitable permissions you can copy mail from within a mail client from a private IMAP folder to the public IMAP folders
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: IMAP Folders
Thank you very much for your reply.
Also I would like to ask another question regarding the IMAP status flags such as read, recent, flagged...
I would like to know where in the code are they defined and how are they stored?
Thank you
Also I would like to ask another question regarding the IMAP status flags such as read, recent, flagged...
I would like to know where in the code are they defined and how are they stored?
Thank you
- jimimaseye
- Moderator
- Posts: 7701
- Joined: 2011-09-08 17:48
Re: IMAP Folders
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829