On 20 Jan 2021, at 04:33, Piotr Auksztulewicz <dcml at hasiok.net> wrote:> On Wed, Jan 20, 2021 at 04:27:11AM -0700, @lbutlr wrote: >> set imap_pass = "lasH-hds[er$asd" # Not a real password > > Use single quotes around the password. Double quotes make $asd to be > interpreted as shell variable and replaced with (most likely) empty > string, so you get a shortened passwort in effect.This worked, thank you. Also? grrrrr. Who though expansion inside a password string was a clever idea and can I introduce them to a clue bat? :p> PS. Also a mutt lover :-)With the amount of HTML mail out there I really don't understand how people are able to use it anymore. Now, if I could get a 'stip html down to plain text' side function to work? script execution error (#127): sh: line 3: fortune: command not found
On Wed, 20 Jan 2021 at 15:59, @lbutlr <kremels at kreme.com> wrote:> On 20 Jan 2021, at 04:33, Piotr Auksztulewicz <dcml at hasiok.net> wrote: > > On Wed, Jan 20, 2021 at 04:27:11AM -0700, @lbutlr wrote: > >> set imap_pass = "lasH-hds[er$asd" # Not a real password > > > > Use single quotes around the password. Double quotes make $asd to be > > interpreted as shell variable and replaced with (most likely) empty > > string, so you get a shortened passwort in effect. > > This worked, thank you. > > Also? grrrrr. Who though expansion inside a password string was a clever > idea and can I introduce them to a clue bat? :p > > > PS. Also a mutt lover :-) > > With the amount of HTML mail out there I really don't understand how > people are able to use it anymore. Now, if I could get a 'stip html down to > plain text' side function to work? > >Someone using mutt in 2021 must be a hater of all forms of GUI :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20210120/2d2972c3/attachment.html>
On Wed, Jan 20, 2021 at 05:58:38AM -0700, @lbutlr wrote:> Also? grrrrr. Who though expansion inside a password string was a > clever idea and can I introduce them to a clue bat? :pWell, this is just the result of a generic config file parser, every statement gets processed the same way. I guess the mutt author did not want to create special cases for some parameters like password, and everything is clearly stated in the manual. It is also quite intuitive for Unix/sh people that '$xxx' is different from "$xxx".> > PS. Also a mutt lover :-) > > With the amount of HTML mail out there I really don't understand how > people are able to use it anymore. Now, if I could get a 'stip html > down to plain text' side function to work?Just install a text-based browser, there are several: lynx, links, w3m and more. I prefer w3m. Make sure mutt + metamail are configured properly and mutt will launch the browser. Most legitimate HTML email is just pure text, just slightly marked up if at all. If you get mostly-pictures HTML message, it's 99.99% spam. Most HTML emails have a plain text alternative and it will be displayed instead. Some emails have empty plain text alternative, it is a small nuisance then, you need to hit 'v' to see the MIME parts and navigate to HTML one. Anyway, I still find text access very useful to check mails quickly without having to fire up some slow beast such as Thunderbird, or while working from some firewalled environment - it is often easy to SSH out. Hint: run your sshd also on port 443. If that doesn't work, run stunnel on top. It didn't work for me only once, when one company enabled TLS hijacking on the firewall temporarily (probably by mistake), stunnel then warned me about wrong TLS cert :-) Also I hate webmail, and I haven't installed any on my mail server, so I need mutt, badly. -- Piotr "Malgond" Auksztulewicz firstname at lastname.net
On Wed, Jan 20, 2021 at 01:58:38PM CET, "@lbutlr" <kremels at kreme.com> said:> On 20 Jan 2021, at 04:33, Piotr Auksztulewicz <dcml at hasiok.net> wrote: > > On Wed, Jan 20, 2021 at 04:27:11AM -0700, @lbutlr wrote: > >> set imap_pass = "lasH-hds[er$asd" # Not a real password > > > > Use single quotes around the password. Double quotes make $asd to be > > interpreted as shell variable and replaced with (most likely) empty > > string, so you get a shortened passwort in effect. > > This worked, thank you. > > Also? grrrrr. Who though expansion inside a password string was a clever idea and can I introduce them to a clue bat? :pset imap_pass = $smtp_pass seems a good usecase.> > PS. Also a mutt lover :-) > > With the amount of HTML mail out there I really don't understand how people are able to use it anymore. Now, if I could get a 'stip html down to plain text' side function to work?In my .mailcap I have text/html; w3m -I %{charset} -T text/html; copiousoutput; and in my .muttrc : auto_view text/html -- Erwan
It would be useful to automatically de-HTML e-mails, but this is not a task for dovecot. Even more useful would be to deprecate HTML in e-mails. -------- Original Message -------- On Jan 20, 2021, 13:58, @lbutlr wrote:> On 20 Jan 2021, at 04:33, Piotr Auksztulewicz <dcml at hasiok.net> wrote: >> On Wed, Jan 20, 2021 at 04:27:11AM -0700, @lbutlr wrote: >>> set imap_pass = "lasH-hds[er$asd" # Not a real password >> >> Use single quotes around the password. Double quotes make $asd to be >> interpreted as shell variable and replaced with (most likely) empty >> string, so you get a shortened passwort in effect. > > This worked, thank you. > > Also? grrrrr. Who though expansion inside a password string was a clever idea and can I introduce them to a clue bat? :p > >> PS. Also a mutt lover :-) > > With the amount of HTML mail out there I really don't understand how people are able to use it anymore. Now, if I could get a 'stip html down to plain text' side function to work? > > script execution error (#127): sh: line 3: fortune: command not found-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20210125/6a3d4643/attachment-0001.html>