Next Previous Contents

2. Installation

2.1 How to obtain Mailf

Mailf could be downloaded from the homepage http://www.steines.com/mailf/.

2.2 Requirements

The Filter requires some software for grepping mails form a server and pipeing them to it. For resending SMTP or a commandline MDA is also required.

2.3 Compilation and installation

In order to compile and install Mailf on your system, type the following in the base directory of the Mailf distribution:

% ./configure
% make
% make install

Since Mailf uses

autoconf
you should have not trouble compiling it. Should you run into problems please report them to the the author at Steines

Making tmp-Directory:

Since Version V0.7.7:
The tmp-directory will be created by mailf in the homedir of the user mailf runs with. The directory is named ".mailf" and it contains a folder called "fail". In this folder are stored all mails thrown a parse or resend error.

Version V0.7.6 and before:
The Filter needs a temporary direcory to store mails befor parsing. For this you must create a directory /tmp/mailf and give it the rights mod 777. Never mind this unsecure mod because the Filter will create subfolders with mod 700 for each user the Filter runs with and files are saved umask 077. The mod 777 is needed, that the Filter is able to create a new subdirectory with each user the Filter is started with.

2.4 Additional configure options

./configure --enable-debug2log The filter compiled with this option will throw much more output. This output will be written to the logfile and could be use to trace errors.
--enable-no-del-tmp A Filter which is compiled with this option will not delete any tmporary files generated during filtering the mails.
Both options could be used at once and with other common configure options, but take care with this options the filter will need more diskspace as usual.


Next Previous Contents