[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Mac OS X Tiger [Was: "compile nmh on Mac OS X breaks o

From: der_wachtmeister
Subject: Re: [Nmh-workers] Mac OS X Tiger [Was: "compile nmh on Mac OS X breaks on slocal.c"]
Date: Sun, 09 Jul 2006 17:08:13 +0200

> Here is how I was able to install nmh on my ibook (using the rc shell):
> $ cvs -z3 -d:pserver:address@hidden:/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:address@hidden:/sources/nmh  
co nmh

2. build nmh from source:
 ~ 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):

  Path: Mail
  send: -verbose -sasl -saslmech PLAIN

  mts: smtp
  masquerade: draft_from

  Fcc: +outbox

  %(void(width))%(putaddr cc: )
  From:                                   <-- insert
  Fcc: %<{fcc}%{fcc}%|+outbox%>

  From:                                   <-- insert
  Fcc: %<{fcc}%{fcc}%|+outbox%>

4. send mail:

$ send -user <username> -server <smtp-server>

5. fetch mail:

$ inc -user <username> -host <pop-server>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]