-----Original Message-----On 28/Jun/2007 13:38 Andy Fadich wrote ..
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Jamie Cameron
Sent: Thursday, June 28, 2007 4:38 PM
To: Webmin users list
Subject: Re: [webmin-l] usermin readmail and dovecotHello,I recently did a server migration. Most everything is working great, but I am running into a problem with the read mail module of usermin. Here is the specifics:OLD:Redhat 9sendmail (very old version)UW ipop3dusermin with readmail module for webmail access (very old version)NEW:Fedora Core 6sendmail 8.13.8Usermin for webmail againdovecot 1.0.0I am running into a problem where a hidden portion of the mailbox file is being listed when accessing it via usermin readmail. When I access the account via a pop3 client or telnet dovecot properly reports 0 messages, hiding the message. Here is the actual email.From MAILER_DAEMON Thu Jun 28 13:10:00 2007
Date: Thu, 28 Jun 2007 13:10:00 -0700
From: Mail System Internal Data <MAILER-DAEMON@mail.genext.net>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
X-IMAP: 1183061390 0000000019
This text is part of the internal format of your mail folder, and is not
a real message. It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.Dovecot adds this to the end of every single mailbox file that it reads, and right now is caussing havok to those that use usermin for webmail. Any idea how to fix this so that readmail hides the message?
The best solution would be to confgure the Read Mail module to connect via your IMAP server, rather than reading the mail files directly. This can be done in Webmin -> Usermin Configuration -> Usermin Module Configuration -> Read Mail .
However, that message shouldn't actually be deletable by Usermin - I added special code to prevent messages with that subject line from being deleted, specifically to avoid this issue.