Am 06.09.2011 22:04, schrieb Peter Blair:

> You could hack up a local perl SMTP listener on you local system,
> which when it receives all of the SMTP back and forth, and then the
> ".", it executes a SSH subshell, formatting the recipient/sender etc
> via the gateway, and pipes the DATA portion over its FH.

This "local listener" is what I already have (it's not ssh that's
unreliable, but the overall design that's fragile), and it is exactly
what I'm trying to avoid.

I want a tighter, synchronous, coupling between the local SMTP client
and the remote SMTP server.  Nothing that relies on the ssh tunnel being
up in the exact moment when Postfix/smtp chooses it wants to relay a
message because that I cannot guarantee.

Reply via email to