> All I do is:
> 
> sudo  ssh -L 25:mailhub:25 username@your_server
> 
> And then, configuring 'localhost' as my smtp server on port 25 gets my mail 
> sent directly forward through the SSH link.

Ahh, you left out a key piece of information: Postfix is *not* running
on your local host.  Instead, you are setting up an ssh port forward
to the mail server where postfix is running.  Perhaps that server uses
this as a form of authentication/security - if you have been instructed
to do this by the admins, maybe they're using this as a way to allow
people who have ssh login accounts (and thus the ability to create
these ssh port tunnels) to submit mail as if it were submitted from
the local host.

Because of this unusual setup, you can't use mutt's default, because
that would try to deliver mail using the mail server on your actual
local host.  So now your question makes sense.  You need mutt to send
mail via the ssh tunnel; you cannot submit it locally, because that
remote server running postfix would never see it if you did so.
  -- Cos

Reply via email to