Hi, On Fri, Dec 27, 2024 at 11:41:39PM -0500, hobie of RMN wrote: > For 20 years I've enjoyed Mutt as my primary mail reader. I used its > 'bounce' feature to deal with HTML mails, sending them to a webmail > program on a different server.
I also use Mutt. I have Mutt's mailcap set to view the text/html part with w3m. This is good enough for most cases but where the mail is complicated I just use a keybinding to load it into a local firefox. If you are running Mutt on the same computer that your web browser is on then you could just set up your mailcap to always view with the browser. If like me you are running Mutt on some other machine it gets a bit more complicated as you can't just have mutt execute the browser. Even if X forwarding worked it would be painful. So I call a script from Mutt's mailcap for text/html that: 1. works out which host I am connected from currently 2. copies the html part to that host 3. connects to that host and executes a program that opens a new tab in my running browser, with the path to the html file from (2) as the URL. > now the jellyfish anti-spam daemon won't allow me to do that; it > rejects my bounced emails because "From:" and "(envelope-from)" are > not the same. I'm amazed that this worked for you for as long as it did to be honest, due to things like SPF and DKIM. SPF is basically a DNS record that enumerates the IP networks that can send email "from" a domain. When you bounce an email you're asserting that you are authorised to send emails "from" users at that domain, but your domain's SPF record only allows certain hosts. If that record is under your control, and if your machine with Mutt has a static IP address, then you could add it to the record. Otherwise if you can find a way to send yourself the email while changing the From: address to something else then it will probably continue to work for you. However, many Email Service Providers do now require that all incoming email have at least one of SPF or DKIM passing, so that's an added wrinkle. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting Please consider the environment before reading this e-mail. — John Levine