I'm going nuts here, trying to get my system configured.
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.
I've tried to get the laptop to send mail through the work mailer using ssh -L 25:workstation.work.com:25 workstation.work.com 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.
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.
Any help appreciated.