title: ssh tunnel for sendmail
body: <p>I'm going nuts here, trying to get my system configured. </p>
  
  <p>I have a laptop at home and a workstation at work. I use mutt and sendmail. I have a home ISP that is on a lot of blacklists, so that any email I send from my laptop through my ISP is frequently blocked as spam by the receiver. I can SSH to my workstation and use mutt there interactively, but it is slow and tedious. I download my email from the work server to the laptop with fetchmail. </p>
  
  <p>I've tried to get the laptop to send mail through the work mailer using </p>
  
  <pre><code>ssh -L 25:workstation.work.com:25 workstation.work.com
  </code></pre>
  
  <p>but it seems that sendmail cannot be running when I do this. When I try to fetchmail from workstation to the laptop sendmail must be running on the laptop for the mail to be delivered locally at the laptop. When mail does go through it gets rejected because the hostname is not recognised. I've tried changing the hostname in mutt. This appears not to affect anything.</p>
  
  <p>So I'm confused about how to configure mutt, sendmail and SSH on my laptop, so that I can compose and send emails from my laptop such that they get delivered, yet I also want to get my emails from the server with fetchmail and have it delivered locally.</p>
  
  <p>Any help appreciated.</p>