Configuring mutt to send e - mail over an SSH tunnel

I intend to have the ability to send email from mutt via an SSH tunnel I can SSH right into the SMTP web server, yet I do not recognize just how to inform mutt just how to make use of the passage to send e - mail.

Can a person aid me out, please?

0
2019-05-18 22:16:00
Source Share
Answers: 1

Using remote SMTP is defined below: http://wiki.mutt.org/?MuttFaq/Sendmail
So with the passage you would certainly set up your SMTP to localhost, yet with the passage port. Eg. you create passage 8025 - > 25 on remote:

ssh -L8025:smtp.example.com:25 serv.example.com

And in Mutt arrangement (.muttrc) you placed:

set smtp_url="smtp://[email protected]:8025/"

BTW. Making use of remote POP/IMAP below: http://wiki.mutt.org/?MuttFaq/RemoteFolder

0
2019-05-21 06:42:43
Source