Hello All,

Here is a modified/extended version of Bdale's Mailer BM.
Included is a bmrc which includes all valid commands.

There are a few things to know about this version of BM:

The reply command 'rf' or 'Rf' uses the address in the From line.

The '/' command ignores case and can be used as follows:
/ tcpip
/ "tcpip net"

The 'n' command has three special options:
n <    switches to your recordfile
n >    switches to your mbox
n !    switches to your notefile

Aliases with an "@" in it are allowed.

The default startup file is bmrc and should be in $HOME/.bm
BM can also be started with another config file; type bm -h for more info.

The bmrc defaults are:

alias $HOME/.bm/alias
mqueue /usr/spool/mqueue
smtp /usr/spool/mail
mbox $HOME/.bm/mbox
tmp /tmp
zone GMT (or TZ in environment)
maxlet 300

If you put only 'record' in bmrc the recordfile will be $HOME/.bm/record

If you use the mailfiles of the system ( /var/mail/ ) you *must* use
'systemlock' in the bmrc file. 

In Queue mode (bm -q) the From: and the Message-Id: line will be added.

Some programs deliver mail in a user.txt file. To let BM use these files
enter 'mailext txt' in bmrc. Note that the '.' is automatically appended.
Do not use systemlock in this case.

If you use both 'systemlock' and 'mailext ...' in bmrc locking of the
mailfiles will not work correctly.

'systemlock' works only on the mailfiles, not mbox, record or other
folder files.

This version of BM can also be used as an external mailer for elm or
other mailer. You probably have to do a re-config and a recompile of elm.
If the configscript asks for the mailer enter: bm -q -r
Note that BM will add the "From: " and "Message-Id: " line to the header.
This is probably only usable for ham mail, as is BM ...(?)

You can have a signature file which must be in the $HOME/.bm directory
and called user.sig (where user is the user defined in bmrc).

Commands d, p, s, u and w can also be used as follows:

d *
p 2 4-10
s 10-20 30-35
u 3 5 $
w 5 7 10-$ file
s * /net/mailfile

Note that * means all messages and $ means the last message in the notefile.

In compose mode enter a single tilde ( ~ ) as an option to the EDITING HEADING
FIELDS commands to remove a headerline.
eg.:
~R ~
removes the Reply-To line.

There are a lot more commands, compose escape's and options
which I think are clear but if you have any questions, comments and/or
bug reports, please send me a mail.

BUGS:
You must have read/write permission in the maildirectory if you use
the default lockfiles (no 'systemlock' in bmrc).
You must have read/write permission in the mqueuedirectory.

BM is available for Linux, SunOS, MSDOS. (and probably sco xenix)
--
73's, Marcel
PA3AZK@PI8UTR.#UTR.NLD.EU (ax25)
pa3azk@knoware.nl (internet)
