I'm going to go crazy trying to set up my system.
I have a laptop at home and a workstation at work. I use mutt and sendmail. I have a home Internet service provider, which is on many blacklists, so any email that I send from my laptop through my Internet service provider is often blocked by the recipient. I can use SSH for my workstation and use mutt there interactively, but it is slow and tedious. I download email from a production server to a laptop using fetchmail.
I tried to get the laptop to send mail through an email program using
ssh -L 25:workstation.work.com:25 workstation.work.com
but it seems that sendmail cannot work when I do this. When I try to fetchmail from a workstation to a laptop, sendmail must work on the laptop so that mail is delivered locally on the laptop. When mail passes, it is rejected because the host name is not recognized. I tried changing the hostname in mutt. This does not seem to affect anything.
So, I am confused about how to configure mutt, sendmail and SSH on my laptop so that I can compose and send emails from my laptop so that they are delivered, but I also want to receive my emails from the server using fetchmail and deliver it locally.
Any help was appreciated.
source share