1

Topic: Thunderbird not displaying all messages in cur directory

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

iRedMail Pro   Version 0.8..6
MySQL
CentOS 6.5
Log - ? not sure for this item.


Hello
We had some issues with e-mail.  So I disabled an account, removed it, and created a new one.  Thus, it created the file structure correctly.  Then did some testing, etc. and all appeared good. 

Stopped postfix and dovecot.
Since old e-mail had much larger amount of email to move, went to control panel and set path back to old account.
Did a cp -a of mail from new account to old account. 
   Example cp -a ..path/Maildir/cur/* ..path/Maildir/cur/ 

Started postfix and dovecot.
Opened thunderbird and most e-mail is present. 
However, there are some e-mails in the box that are not visible.
   SE Linux is off (NOT a Good thing guys....)
   GUI & UID are vmail with permissions of rw_______

Tried altering the SE LInux context and restart services / t-bird. 
Still cannot see "certain" email messages. 
Looking at file format and cannot determine why or what issue is causing it not to display. 
Did review a message using postcat -q mail_ID.
It is there but does not display in Thunderbird.

What am I missing and/or is the a value in the file name issue?

Thank you for the help/reply!!!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Thunderbird not displaying all messages in cur directory

Did you set correct file owner and permission for copied mail messages/folders?
It must be owned by user 'vmail', group 'vmail', permission '0700'.

3

Re: Thunderbird not displaying all messages in cur directory

ZhangHuangbin wrote:

Did you set correct file owner and permission for copied mail messages/folders?
It must be owned by user 'vmail', group 'vmail', permission '0700'.

My apologies for such a stupid question. 
The files are all owned by vmail:vmail from start.
The permissions were a mix of 700 and 600.
However, the permissions did NOT correlate to the emails that did not display in T'bird vs linux vi.   

Anyway,
I closed Thunderbird.
I ran chmod and chown on entire directory.
Permsions are all 700 now with owner still vmail:vmail. 

I can see files in Thunderbird that did not display previously.  Not sure if that is all of them yet but will check some more.

One item I also noticed is that It appears that first digit following the permissions are all a "1" now. 
Is this the SELinux context marker?
Is SE Linux used in some way in redmail?

Last question, will future releases of redmail integrate support for SE Linux?

Thanks Zhange and sorry about what appears to be a stupid question.

4

Re: Thunderbird not displaying all messages in cur directory

pbf343 wrote:

Is this the SELinux context marker?
Is SE Linux used in some way in redmail?

iRedMail disableds SELinux in /etc/selinux/config after installation.

pbf343 wrote:

Last question, will future releases of redmail integrate support for SE Linux?

No plan yet, sorry.