using mutt with postfix and localhost:25
raf
mutt at raf.org
Sun Sep 12 23:31:40 UTC 2021
On Sun, Sep 12, 2021 at 03:17:46PM +0000, Globe Trotter via Mutt-users <mutt-users at mutt.org> wrote:
> So, I do not know if I can do this, but I can send email by
> specifically including the smtp with port 25. I dont really need it
> for anything else. It is quite likely that I am not understanding the
> import of your question.
>
> All I do is:
>
> sudo ssh -L 25:mailhub:25 username at your_server
>
> And then, configuring 'localhost' as my smtp server on port 25 gets my
> mail sent directly forward through the SSH link.
>
> Thanks!
Ah, it's making sense now. But is there a reason you
need the ssh tunnel? Does it work if you set
smtp_url=smtp://mailhub:25 instead? Don't get me wrong,
I think there are never enough ssh tunnels in the
world, but it might not be needed here. If the postfix
server has TLS configured, and will accept the
connection, mutt will take advantage of STARTTLS and
the traffic will be encrypted.
cheers,
raf
More information about the Mutt-users
mailing list