There are several previous hints about using
Pine to access mail that has been downloaded with Mail.app, but as far as I am aware, there has not been one about how to use Pine to send mail from a computer that is not running a mail server. I stumbled upon how to do this by accident. It is very simple:
- Establish an SSH passwordless login between your machine and your mail server, and then create an SSH tunnel for SMTP, as for example, described here.
- Configure Pine under "Setup" (S in the main menu) to use localhost:NNNN as the SMTP server, where NNNN represents the local port used for SMTP forwarding (eg, port 2525 in the example linked above).
Then you can compose and send mail from your computer using Pine, which can be handy when logged in remotely (or if you just like using Pine as your email program), without the potential hazards or angry system administrators that might accompany enabling the
postfix mail server.
[
robg adds: You'll need to have your own domain with command-line access in order to get this hint working...]