Autor: Dirk grosse Osterhues Data: Para: Marc Sherman CC: exim-users Asunto: Re: [exim] Smarthost through ssh-tunnel
Marc Sherman wrote:
[...] > For the former, you might be able to put the ssh -L command in a script
> called by the transport_filter option of an SMTP transport, but you have
> to be careful that ssh is disconnected from stdin, and the script just
> echo's stdin to stdout, so that the message itself isn't filtered. I'm
> not sure if that would work, though, because the SMTP connection might
> already be started before the transport filter is launched.
Well, thanks for the idea. I spent some more time on looking for a
solution and found that there was an option in exim3 called "command",
which could be invoked by exim before transporting the mail. I couldn't
find it in the docs for exim4, so is this gone or did I missunderstand
something?