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 :-)


DRespond

- 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' dres1602.zip - 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

Usage:
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,

junk;junk;bob;bobs_password;junk;junk;;;
junk;junk;fred;freds_password;junk;junk;;;
junk;junk;rupert;ruperts_password;junk;junk;;;
junk;junk;joe;joes_password;junk;junk;;;

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 @netwinsite.com 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=""
tam99:fsI_`Od:
tam55:nyQ]JEN:

run cols on that file with the following command line,

cols nwauth.txt -delim ":" -out "$1@netwinsite.com: $2:$3"

This gives the following output file, cols.out,

tam@netwinsite.com:lcYQf:fwd="" info="" groups=""
bob@netwinsite.com:mlUW[:fwd="" info="" groups=""
trev@netwinsite.com:qwEWJY:fwd="" info="" groups=""
fred@netwinsite.com:eqO_FA:fwd="" info="" groups=""
fred99@netwinsite.com:dkM]GUPg:fwd="" info="" groups=""
fred9@netwinsite.com:xiaIeUF:fwd="" info="" groups=""
tam99@netwinsite.com:fsI_`Od:
tam55@netwinsite.com:nyQ]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:'Netwin'
Download for NT



IMAPD - IMAP Server

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.

Notes:

  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 ftp://ftp.cac.washington.edu/mail/imap.tar.Z 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,
/var/mail/user1
/var/mail/user2
/var/mail/user3
etc.

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

Notes:

  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,
    hash_spool
    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:
ftp://ftp.netwinsite.com/pub/dmail/beta/fixhash10b.zip

Download BETA for Linux:
ftp://ftp.netwinsite.com/pub/dmail/beta/fixhash10b.Z

Download BETA for AIX:
ftp://ftp.netwinsite.com/pub/dmail/beta/fixhash10a_aix.Z

Download Source and UNIX Makefile:
ftp://ftp.netwinsite.com/pub/dmail/beta/fh10asrc.tar.Z

History:
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)