This is a text dump of the HTML configuration page for those who cannot access the http://www.vtt.fi/tte/EuroBridge/Xew/miew.html. This file describes the additional configuration needed to have make miew enter the "mail folder" mode on mail folders. In the default mode miew treats all directories as "plain file directories" and all files as messages (if possible), thus if you select a RMAIL folder file, you will just get a straight text display of the whole folder content. To make miew recognize a file or directory as a mail folder, some extra configuration information must be provided. This extra information is given in the .MFM file in the directory containing the target object. The .MFM file is a simple text file which maps some filenames within this directory to the MIME types. Each mapping is presented with a single line of text using the following general syntax: [":" [ ]] In the filename mask wildcard characters "*" (match zero or more characters) and "?" (match single character) can be used freely. The MIME type must be written in lower case. Configuring for EMACS RMAIL folder files ---------------------------------------- If you have a file named RMAIL which contains the rmail folder, add into .MFM in the same directory a line (and a similar line for the any other RMAIL folders that miew should recognize). RMAIL:eurobridge/folder If you have a directory where all files are RMAIL folders, instead of enumerating each of them, the following two lines could be used instead *.miew_cache *:eurobridge/folder The first line, though not necessary, will prevent miew from trying to interpret the cache files as RMAIL folders. Similarly, if the directory has some other files that you don't want as folders, exclude them in the same way. If the file tagged as "eurobridge/folder" is not recognized as a RMAIL folder, it will be assumed to be a "From-separated" folder. Configuring for Unix "mbox" folders ----------------------------------- If you have a file named mailbox which contains a unix "From-separated mail" folder, add into .MFM a line mailbox:eurobridge/folder This configuration is the same as for RMAIL folders, and if you have a directory of folders, the methods described for the RMAIL folders apply here too. Configuring for mh mail folders ------------------------------- mh mail folders are directories, each file containing single message. To get 'mh' directories treated as folders, is more complex. When a directory is marked as a folder, miew will only display those files within this directory that are marked as being messages. Thus, assuming you have a 'mh' folder in directory '~/Mail/inbox', you have to add line inbox:eurobridge/folder into ~/Mail/.MFM file, and lines *.* *:eurobridge/message into ~/Mail/inbox/.MFM to get files marked as messages. The "*.*" line is just a convenience to filter out some non-message files (like .miew_cache) from consideration. _________________________________________________________________ NOTE 1 The 'filename' in .MFM must not contain any directory path component. The names are local to the directory. NOTE 2 MFM is a convention that EuroBridge is using to store the type of arbitrary file (the library functions dealing with MFM are included in to the Mam library). NOTE 3 MFM supports also a concept of global rules, which is a file with same format as individual .MFM, but applies globally. Thus if global rules already have a line *.jpg:image/jpeg then files matching *.jpg do not need a line in the .MFM files (unless for some reason some specific file is of some other type regardles of the *.jpg ending). Use of global rules file has proven to be a bit problematic, and not recommended at this point.