"Markus Veith" <[EMAIL PROTECTED]> writes:

> I do not know how to configure TMDA. Which directories do i have to
> create? I untared the tarball

To what directory did you untar the tarball?

> and created the directory ~/.tmda.

Good.

> The compilation worked without problems. Into the directory ~/.tmda
> i created a file called crypt_key and copied the key that
> tmda_keygen created.

Good.

> Now i do not know how to continue.

There are two parts to TMDA, the incoming spam filter and the outgoing
address manipulator.  I recommend that you don't try to set up both at
once.  Instead, set up the incoming filtering first and understand how
it works.  After you have that going, then you can worry about the
outoing side.

The default location for both filters is ~/.tmda/filters/.  The
default name of the incoming filter is 'incoming'.

If you don't create a filter, TMDA will send a confirmation request
for every piece of mail you receive, so you should create a filter.
The simplest filter you can create, which will allow every piece of
mail (even spam) is this:

from * accept

Place that line in ~/.tmda/filters/incoming.

That simple filter is a good place to start, until you have your
whitelist created.  It effectively means that even though TMDA is
running, it is not filtering anything.  So your mail system should
work exactly as it did before.

The next thing to do is copy .../contrib/sample.config to
~/.tmda/config.  I don't know what directory '...' is because you
didn't tell us where you installed TMDA.  The 'contrib' directory is
in the top-level TMDA directory.

The sample file is all comments.  Read the comments in the file and
uncomment one of the MAIL_TRANSFER_AGENT settings, one of the
RECIPIENT_DELIMITER settings and one of the DELIVERY settings.

In your case, you have said you want to forward all the mail TMDA
processes.  You will need to use the last DELIVERY setting and specify
'[EMAIL PROTECTED]' instead of '[EMAIL PROTECTED]'.

Finally, the four variables at the end of the sample config file are
highly recommended.  At the minimum, uncomment LOGFILE_DEBUG and
LOGFILE_INCOMING.  If you don't change the paths, you should create a
'log' subdirectory under ~/.tmda.

Once you have that set up, make sure tmda-filter is called from the
end of your ~/.procmailrc as documented for your MTA at:

http://www.tmda.net/config-server.html

At that point, TMDA should be processing each email and simply
accepting it and forwarding it to the address you specified in the
DELIVERY setting.  If there are problems, they will be logged in the
file you specified in LOGFILE_DEBUG.

Once this is successful, carefully read the two pages about the filter
file format and the various rules.  These are:

http://www.tmda.net/config-filter.html
http://www.tmda.net/filter-sources.html

Then build your whitelist(s), reference them from your incoming
filter, usually with a 'from-file' rule, and remove the
'from * accept' rule from above.

> Which further directories do i have to create.

~/.tmda/filters
~/.tmda/logs     (if you want to keep your logs here)
~/.tmda/lists    (if you want to keep your white/blacklists here)

> Where to put the template-files and so on.

For now, leave the template files where they are; TMDA automatically
uses the default ones.  They are stored wherever you installed TMDA,
in the 'templates' directory.  Once TMDA is running, you can customize
the templates themselves by specifying a different search directory.
See the documentation on TEMPLATE_DIR and TEMPLATE_DIR_MATCH_SENDER.

http://www.tmda.net/config-vars.html

Also see the Template HOWTO at:

http://www.tmda.net/howto-template.html


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to