SMTP Buffer version 1.10
Copyright (C) Angus J. C. Duggan 1997-1998
This is a Windows NT service which accepts SMTP connections locally, and
forwards them on to another SMTP service. If the remote SMTP server is not
contactable, the messages will be queued locally and sent when the remote
THIS SOFTWARE COMES WITH *NO* WARRANTY, EITHER EXPRESS OR IMPLIED. USE AT
YOUR OWN RISK. THIS SOFTWARE IS UNSUPPORTED. THE AUTHOR RESERVES THE RIGHT TO
IMPLEMENT WHATEVER FEATURES HE DESIRES, AND ACKNOWLEDGES NO OBLIGATION TO
CONFORM TO ANY EXISTING OR FUTURE STANDARDS.
CONFIGURATION ENTRIES IN THE REGISTRY:
In key \\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SMTPBuffer:
Email address of yourself; this is used for bouncing badly formed
messages sent when off-line.
Name of the SMTP server to forward connections to.
Directory containing outgoing messages.
SendWait (5 min)
Time in seconds before initially trying to send queued messages
SendInterval (10 min)
Time in seconds between re-trying to send queued messages.
ConnectTimeout (5 sec)
Time in seconds allowed for connecting to mailhost.
DisconnectTimeout (1 min)
Time in seconds to hold connection open waiting for more mail.
Client port number to listen for user agents.
Server port number for sending messages.
COMMAND LINE ARGUMENTS:
The command line arguments supported are:
-i Installs the program as a Windows NT service
-r Removes the program from the Windows NT services
-q Views the outgoing mail queue
Sets the SMTP server
Sets the return address for bounced messages
Sets the message queue directory
Sets the client port number for listening
Sets the server port number for sending
-x Stops the service
Deletes messages from the outgoing mail queue, selected by
number or by subject (globbed patterns can be used to match
Immediately starts, stops and suspends or aborts sending of
-D num Run debug server. Flags are:
0x0000001 File access
0x0000002 Socket access
0x0000004 Data read
0x0000008 Data written
0x0000010 Queue building
0x0000020 Match checking
0x0000040 Summary construction
0x0000080 SMTP filter writes
0x0000100 Server responses
0x0000200 Message bouncing
0x0000800 Registry access
0x0001000 Reads from client
0x0002000 Writes to client
0x0004000 Reads from server
0x0008000 Writes to server
Only the last specified of -i -r -q -x -D will take effect.
Default action is to start the service.
Compile the programs (or use the executable provided). Create a directory
where you want it installed and copy the executable over. From within the
installation directory, run "smtpbuff -i -mhost -pemail -dqdir",
substituting the mail host to which you want buffered message to go for host,
your own email address for email, and the directory you want to use for
outgoing messages for qdir. This will install the program as an NT service.
Next time you reboot, the service will start automatically. Alternately, you
can start it immediately by opening the Control Panel, starting the Services
applet, selecting "SMTP Buffer Service", and hitting the Start button. It is
a good idea to check the application log to see that it started OK, or what
problems there were if it didn't.
Now set your email client to use localhost for sending SMTP messages.
Quite a lot of events are logged to the event log service. You can check when
messages are queued and sent by looking at the application log.
AJCD 28th September 1998
Wrapped on 2nd October 1998 by firstname.lastname@example.org