<<< Date Index >>>     <<< Thread Index >>>

Re: SMTP via tunnel working at last, with nbsmtp



On Mon, Feb 02, 2004 at 03:54:06PM EST, Chris Green wrote:

> I have finally got my sending via an ssh tunnel working, I found the
> most trivial MTA ever called nbsmtp, a single 'C' source file and a
> makefile is all there is.  Fortunately (for me) the Makefile knows
> about solaris.  So I built it and it worked straight away, unlike ssmtp
> and nullmailer neither of which I have managed to make work.
> 
> However there's one remaining question, how can I get mutt to do
> something like fetchmail's 'preconnect' so that I can fire off the
> required ssh command before running nbsmtp? The problem is that you
> need to start ssh without mutt seeing its stdin or stdout and then
> mutt sends the message to "sendmail" on its stdin (well nbsmtp
> actually).

The easiest thing should be to find a method of direct invocation for
nbsmtp, and have ssh run it for you on the target host, as the "command."
At that point, the ssh process becomes your "sendmail," and everything
should be all fine and dandy :-)

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpCNluQ5pK0k.pgp
Description: PGP signature