#!/bin/sh # Use this as a fetchmail plugin to securely get mail over ssh. # You need netcat (nc) installed on the target machine. exec ssh -v $1 nc localhost $2