DMail Utilities Download Page

This is a slowly evolving page :-)

NetWin and some of our customers have produced add-ons for DMail. This page provides links to those, along with any information available, on the utility which is not provided with the utility.

All those written or owned by NetWin are marked; 'Netwin'. All others have been written by third parties and, as such, you should use them at your own risk - please do not assume that they have been tested (although most have) by NetWin, or that NetWin proclaims them safe to use or even functional with its products :-)


- Netwin's latest version of the autresponder. Run drespond or drespond.exe from a command line to see usage information. You should set up a forward rule or an alias to the drespond robot for the user whose mail you wish to have responded to. See robots for more information.

'Netwin' - for NT
NB: This file is included in the DMail 2.4h, and above, distribution set for all platforms.

Columns - for creating batch files to add users

- A small utility written by NetWin, which can be used to create a batch file that adds a list of users to an External Authentication Module, e.g. NWAuth

Run cols(.exe) without any arguments to get the following usage information:

Columns Version 1.0a

Columns allows you take data from specific columns
in each line of an input file and write it out to a
file (cols.out) in a specified format.

cols filename <-try> -delim ";" -out "nwauth -set $4 $5"

Where $4 indicates the 4th column.
Columns are delimeted by the single character
given with the -delim option.
Use the -try option to test your parameters (no
output file will be created).

For example:

This example shows four users being added to the NWAuth external authentication routine, Note, in order to do this you do need to know the user's passwords in an unencrypted form.
The command line,

cols input.txt -delim ";" -out "nwauth -set $3 $4"

will turn the following input file,input.txt,


into the output file, cols.out,

NWAuth -set bob bobs_password
NWAuth -set fred freds_password
NWAuth -set rupert ruperts_password
NWAuth -set joe joes_password

This file can then be renamed, cols.bat and run by simply entering cols at the command prompt.

Additional Use: To add a prefix/suffix to all usernames

The flexibility of the output string allows you to use Columns to add suffixes and prefixes to the usernames.

E.g. To add a domain suffix onto the end of all usernames in your nwauth.txt file,

tam:lcYQf:fwd="" info="" groups=""
bob:mlUW[:fwd="" info="" groups=""
trev:qwEWJY:fwd="" info="" groups=""
fred:eqO_FA:fwd="" info="" groups=""
fred99:dkM]GUPg:fwd="" info="" groups=""
fred9:xiaIeUF:fwd="" info="" groups=""

run cols on that file with the following command line,

cols nwauth.txt -delim ":" -out "$ $2:$3"

This gives the following output file, cols.out,"" info="" groups=""[:fwd="" info="" groups="""" info="" groups="""" info="" groups=""]GUPg:fwd="" info="" groups="""" info="" groups=""`Od:]JEN:

You can then replace your nwauth.txt file with this file renamed as nwauth.txt. NOTE: To replace nwauth.txt you must make sure that there are no entries in nwauth.add and that all instances of NWAuth are stopped (i.e. shutdown all servers and check process list for any stray instances).

Download for NT


IMAPD is a IMAP server to run alongside or instead of DPOP, to allow users to connect to an IMAP server to read their mail, instead of connecting to the POP server. Each user is able to connect using either IMAP or POP, and is free to switch between the 2 servers. However, any email they have read using one server will not be available through the other server.


  1. The IMAP server supplied here is based upon Mark Crispin of the University of Washington's IMAP4rev1 server (RFC 2060), version 4.4, which has been modified to run in conjunction with DMail. Mark Crispin's source can be obtained from See Imap Release Notes for his copyright notice and release notes.
  2. We supply this port 'as is where is'. DMail Support staff can offer limited help with problems with the unpacking of the distribution set and/or problems with our port.
  3. You need to be running version 2.5h or higher of DMail.

For installation instructions see,
IMAPD Server

For configuration instructions see,
IMAPD Configuration

Download: 'Netwin'

Latest Beta Versions:
IMAPD 4.4.3z6 - Windows NT (Intel)
IMAPD 4.4.3z6 - Linux libc6/redhat 5/6 (Intel)
IMAPD 4.4.3z6 - Solaris (Sparc)
IMAPD 4.4.3z6 - Free BSD 4

Latest Release Versions:
IMAPD 4.4.3z2 - Windows NT (Intel) ( 426,588 bytes )
IMAPD 4.4.3z - Linux libc5 (Intel) ( 801,387 bytes )
IMAPD 4.4.3z - Linux libc6/redhat 5/6 (Intel) ( 459,331 bytes )
IMAPD 4.4.3z - Solaris (Intel) ( 1,196,252 bytes )
IMAPD 4.4.3z - Solaris (Sparc) ( 998,661 bytes )
IMAPD 4.4.3z - Free BSD 3 ( 754,281 bytes )
IMAPD 4.4.3z - Digital Unix (OSF) ( 875,080 bytes )

Previous Release Versions:
IMAPD 4.4.3w - Windows NT (Intel) ( 422,810 bytes )
IMAPD 4.4.3v - Linux libc5 (Intel) ( 781,421 bytes )
IMAPD 4.4.3w - Linux libc6/redhat 5/6 (Intel) ( 456,123 bytes )
IMAPD 4.4.3w - Solaris (Intel) ( 1,187,353 bytes )
IMAPD 4.4.3w - Solaris (Sparc) ( 863,193 bytes )
IMAPD 4.4.3w - Free BSD 3 ( 755,371 bytes )
IMAPD 4.4.3w - Digital Unix (OSF) ( 867,303 bytes )

Keith Steven's NT ODBC Authenticator

An ODBC external authentication module for DMail on Windows NT.

Follow this link for more information . . .
ODBC Authenticator
(if you need the source for this authenticator then note that there is a small charge)

Dean Wong's NiagaAuth Perl Script for MySQL (and others)

An external authentication module written in Perl for use with MySQL. Uses DBI, so should also work for Msql and Oracle.

See also, Netwin's MySQLAuth module for information on DMail and MySQL.

Please contact DMail Support in the first instance if you have problems or questions on this module.

Download from our beta directory

(Netwin) FixHash - for changing between hashing methods

NB: This is a new NetWin utility which is still in its beta form. We have tested it on both NT and Linux, and checked that it does not alter directory or file permissions, but we have not tested it on a large system as yet. Please let us know if you try it and how you get on.

This utility will move all directories and files in a mail spool from one hashing system to another. The systems that it works with are those defined under the hash_spool dmail.conf setting,
i.e. hash_spool 0 = no hashing,
hash_spool 1 = 1 extra directory level,
hash_spool 2 = 2 extra directory levels.

Here is an example of running this program to change from hash_spool 0 to hash_spool 2, where at present all mail is in drop files,

./fixhash -hash 2 -path /var/mail


  1. You must add the option, -doit for fixhash to actually do anything. If you don't it simply writes to screen what it would do.
  2. Enter just ./fixhash, (or simply fixhash on NT) to get further usage information
  3. Remember to set your hash_spool setting in dmail.conf so that DSMTP and DPOP know where to find the drop and bin files
  4. You MUST shutdown DSMTP, DPOP and DList before running fixhash
  5. Fixhash moves DPOP's bin_files for every user if it finds them in the same directory as the user's drop file.
  6. See also,
    Changing hash_spool, what needs to happen?, how do I test fixhash?

NB: Fixhash will be in all distribution sets from 2.8r onwards, so you should have it on your machine already!

Download BETA for NT:

Download BETA for Linux:

Download BETA for AIX:

Download Source and UNIX Makefile:

1.0b 24 Nov 2000
- added use of newhash.c sam, as used in DMail 2.9g and above.
- added -old option, for doing old style hashing changes.
- added '-version' option (TRW)