|
|
 |
OVERVIEW
This XMAIL filter written in C will allow you to archive message based
on incoming (from) and outgoing (rcpt) e-mail. It will keep track of the message and log
either message and definition when matching.
It is really fast, and have a dictionary of 1000 e-mail addresses with
a length of 255 characters maximum loaded directly in memory.
C source is provided. Modifications are welcome if you don't remove
any copyright information.
Download the XARCHIVE.ZIP archive file [30 kb]
The Dolist Development Team has put together a set of
productivity tools as this one. If you're a Dolist/mail power-user, go ahead
and try them out, but realize these are unsupported tools. Dolist Technical
Support is unable to answer questions about them. Please contact its author directly.
INSTALLATION
You already need to know how to use XMAIL ESMTP Server for a good comprehension of the process.
- Copy "xarchive.exe" and "xarchive.dat" files to the directory you want to
put the filter. To understand the installation, we will use c:\xarchive.
- Edit "xarchive.dat" to add your own definition if needed. One per line.
- go to the filters directory, then add a new filter.
If you want to make this filter available for all domains, just create
a .tab file. Under Windows, to create such a file, type on the command line:
echo . > .tab
- Edit your .tab, filter.tab or 'yourdomain'.tab file and add the following
line in the .tab file.
"c:\xarchive\xarchive.exe"[TAB]"c:\xarchive"[TAB]"@@FILE"[TAB]"@@FROM"[TAB]"@@RCPT"
Don't add a "\" to the second argument!
where "c:\xarchive\xarchive.exe" is the full path to executable name and
"c:\xarchive" the directory where to find xarchive.dat file.
- To keep the message when matching, create a directory
under "c:\xarchive" named "keep". It should be "c:\xarchive\keep".
Here will be copied archived messages.
- A "xarchive.log" file will be created and report message archived with
the e-mail filter it has used.
CORRECTIONS
- 22.Jul.2002 - First release.
|  |