openwebmail un-welcome additional folders

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

openwebmail un-welcome additional folders

Post by cah »

For the past few months, I have see some extra folders from Openwebmail:
  • combined
  • faq.html
  • faq.txt
  • sendmailheader
  • testmail
I have been searching for a solution for months but was unable to do so.
I have been through three major directories for clues:

/export/home/www/cgi-bin/openwebmail
/export/home/www/html/openwebmail
/export/home/cah/.openwebmail

The only possible cause is in /export/home/cah/.openwebmail/db. It had related named files in it. However, it is helpless removing those files.

Then, I found one file (/export/home/cah/Backup/file_permission_list, a backup file listing) that contains the above related files from the following command:

Code: Select all

/export/home/cah%find . -exec grep -il "sendmailheader" {} \;
After looking into /export/home/cah/Backup/file_permission_list, I found

Code: Select all

/export/home/cah/mail:
total 14730
-rw-r--r--   1 cah      adm         6397 Aug 30 18:32 combined
-rw-r--r--   1 cah      adm         4605 Aug 30 18:31 faq.html
-rw-r--r--   1 cah      adm         6371 Aug 30 18:31 faq.txt
-rw-------   1 cah      adm            0 Mar 16  2010 mail-trash
-rw-------   1 cah      adm            0 Oct 28 18:12 saved-drafts
-rw-------   1 cah      adm            0 Dec  3 18:16 saved-messages
-rw-r--r--   1 cah      adm          152 Aug 30 18:28 sendmailheader
-rw-------   1 cah      adm      7504481 Dec  6 23:10 sent-mail
-rw-------   1 cah      adm            0 Aug  5  2008 spam-mail
-rw-r--r--   1 cah      adm           26 Aug 30 18:32 testmail
-rw-------   1 cah      adm            0 Aug  5  2008 virus-mail
I checked these 5 files' contents and found they are testing files and apparently I was testing something on August 30th, 2010 and created these 5 files in /export/home/cah/mail. Openwebmail picks up all files from this location and shows them on the web page. After deleting these 5 files, Openwebmail no longer lists them on the web page.

Don't know why Openwebmail was designed this way to confuse people. It is a relief to finally fix the problem.
It is always very easy to fix problems when you know where the problem is. :)
CAH, The Great
Post Reply