Here is how I was able to install nmh on my ibook (using the rc shell):
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/nmh
co nmh
$ cd nmh
$ autoconf
$ autoheader
$ LDFLAGS = -dynamic configure --enable-debug --enable-pop --with-
editor'='$EDITOR --prefix'='$HOME/hier
$ make
$ sudo make install
This can be seen as a tutorial for installing and running nmh (1.2 cvs) on
the Mac (most of this probably applies to any other platform as well). I'll
mention and shortly explain what needs to be done:
1. get nmh from cvs:
$ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/nmh
co nmh
2. build nmh from source:
Assumptions:
~ you want to install under a directory $HOME/hier/ (default: /usr/local/nmh)
~ you want to use your favorite editor (default: vi)
~ you get mail from a pop server
~ you send mail via a smtp server
~ cyrus-sasl2 is installed on your system (get it by 'port install
cyrus-sasl2' if you have darwinports)
$ cd nmh
$ autoconf
$ autoheader
$ LDFLAGS = -dynamic configure --enable-debug --enable-pop
--with-cyrus-sasl'='/opt/local --with-editor'='$EDITOR --prefix'='$HOME/hier
$ make
$ sudo make install
3. configure nmh (edit config files):
$HOME.mh_profile:
Path: Mail
send: -verbose -sasl -saslmech PLAIN
$HOME/hier/etc/mts.conf:
mts: smtp
masquerade: draft_from
$HOME/hier/etc/components:
To:
cc:
From:
Fcc: +outbox
Subject:
--------
$HOME/hier/etc/replcomps:
...
%(void(width))%(putaddr cc: )
From: <-- insert
Fcc: %<{fcc}%{fcc}%|+outbox%>
...
$HOME/hier/etc/replgroupcomps:
...
%;
From: <-- insert
Fcc: %<{fcc}%{fcc}%|+outbox%>
...
4. send mail:
$ send -user <username> -server <smtp-server>
5. fetch mail:
$ inc -user <username> -host <pop-server>
_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers