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 :-)
An External Authentication module written by us for
talking to an
ODBC driver that connects to a User Database on a Windows
box.
Designed with the following Databases in mind,
Microsoft Access, Microsoft SQL Server, ORACLE.
For details see the odbcauth page in the dmail manual,
ODBCAuth.htm
NB: This is currently a BETA authentication module.
Contact,
DMail
Support if
you have any problems with it.
Latest download is top one in list below,
ftp://ftp.netwinsite.com/pub/dmail/beta/odbcauth10i.zip
ftp://ftp.netwinsite.com/pub/dmail/beta/odbcauth10h.zip
ftp://ftp.netwinsite.com/pub/dmail/beta/odbcauth10d.zip
Known Problems:
NB: ODBCAuth only supports the BASIC External Authentication Protocol, i.e. user
checks and lookups - it does not allow searches and adding users via it.
NB: ODBCAuth with MS SQL Server: In version 1.0d we have fixed the
bug with MS SQL 7 from version 1.0c.
History:
1.0i 5 Oct 2000 TRW
- recompiled 1.0h with debug symbols in COFF format so that drwtsn32.log files will
be more useful.
- 1.0h 2 Oct 2000 trw
- fixed bug with lookup `Huayn'Husayn causing -DEAD `Huayn'Husayn Database Problem, please try again later (odbc_query() failed
d: Line 1: Incorrect syntax near 'husayn'.|Unclosed quotation mark before the char)
- disallow by default the following chars in the local part of usernames (in front of @) by default,
BADCHARS_LOCALPART "':|;[]/\()<>\""
- disallow by default the following chars in any part of usernames by default,
BADCHARS ":|\"`'"
(those last two are 60 and 27 in Hex)
- disallow highascii chars in any part of username, i.e. chars 0-31 and 127 up.
- added -allowhighascii, to allow usernames with chars in the ranges 0-31 and >127.
- added ini setting, allowhighascii true, to allow usernames with chars in the ranges 0-31 and >127.
- added -badchar <string-list>, where string-list specifies a list of
bad characters to override the default list with
- added ini setting, badchar <string-list>, where string-list specifies a list of
bad characters to override the default list with
- added -badchar_localpart <string-list>, where string-list specifies a list of
bad characters to override the default localpart (before the @) list with
- added ini setting, badchar_localpart <string-list>, where string-list specifies a list of
bad characters to override the default localpart (before the @) list with
- more than one @ symbol no longer allowed in username by default
- added -allowats which overrides default limitation of one @ symbol in username
- added ini setting, allowats true, which overrides default limitation of one @ symbol in username
- after -dead response the database was not always reopening, so added do close first.
(NB: reopen never happens on initial open - odbcauth always stops if connect fails initially).
- added -logpass or ini setting logpass true, which causes the full received line to be logged including the
password.
- removed debug ini setting again (if found assume log found), but still have debug
as command and command line option.
-1.0g 20 Sept. 2000 trw
- if ini file load fails, then return '-DEAD Unable to load ini file (try moving it to c:\winnt\system32 directory)' and die.
- now uses system_dir if it can get it rather than \\winnt\\system32
-1.0f 06 Sept 2000 trw
-added support for field_forwardcc, if field set to true, then add $user to
start of fwd="" field if we return one.
-1.0e 26 Jul 2000 KB
- added exception handling to stop the assertion errors.
- fixed one exception handler in odbc_query that returned 0 (caused death if
sql server stopped after odbcauth started up.)
- added isdead, and isdead_reason so that odbc stuff can cause -DEAD with
reason to be returned instead of -ERR for most database problems.
1.0d 21 Jun 2000 KB + TRW
- fixed bug with SQL 7
- removed 'debug' ini setting so cannot accidently run in debug mode.
1.0c 8 May 2000 TRW
- all lookups are done with lowercase usernames when lowercase_username true in
ini file.
- ensures that username returned matches that given with orig_user variable.
- added setting, log true, which causes debug logging but nothing extra printed to screen.
1.0b - 27 April 2000 TRW
- fix log_path setting, so when set don't get
small extra log in exe directory.
- remove printfs so that 'type 1' and 'type 5'
etc are not returned in non-debug mode
- change database connection errors to return -
DEAD instead of -ERR so that
users get told to come back later.
- made -DEAD messages return nice, 'Database
Problem, please try again later' message.
- make log lines not have blank line between
them (imsg etc print with \n instead of NEXT_LINE).
1.0a - 22 Mar 2000 TRW put on the site.
(Netwin)
TCPAuth is a TCPIP client+server module
that will take any other module as its backend.
Allows easy authentication across boxes and across platforms.
For details see the tcpauth manual page in the dmail manual,
TCPAuth.htm
NB: This is currently a BETA authentication module.
Contact,
DMail
Support if
you have any problems with it.
Latest download is top one in list below,
ftp://ftp.netwinsite.com/pub/dmail/beta/tcpauth10b.exe
ftp://ftp.netwinsite.com/pub/dmail/beta/tcpauth10b_linux.tar.Z
History:
1.0b, 6 Nov 2000, First beta released - no known issues.
- 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.
- 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,
This file can then be renamed, cols.bat and run by simply
entering cols at the command prompt.
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,
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).
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.
NB: LDAPAuth is now built with the DMail distribution set, so check for the
current version in your distribution set first. If not there check the list
below. If you can't find the version you want for your OS then please email DMail Support.
- Netwin's latest
version of the dnauth external authentication module, which
reads from
DNews's users.dat file.
Click here for more
information.
An external authentication module written in Perl for use with MySQL. Uses DBI, so should
also work for Msql and Oracle.
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.
NB: Fixhash will be in all distribution sets from 2.8r
onwards, so you should
have it on your machine already!