Re: Mailcap for .docx files (using docx2txt or similar)
On Fri, Jan 22, 2021 at 12:35:46PM +, Chris Green wrote: > So, it would be handy to have mutt configured to use one to view .docx > files. I'm sure somebody must have done this already so what does the > ~/.mailcap entry have to look like? This works for pandoc: application/vnd.openxmlformats-officedocument.wordprocessingml.document; pandoc --from docx --to markdown %s; copiousoutput Source: https://raymii.org/s/articles/Viewing_PDF_docx_and_odt_files_in_Mutt.html
Re: My experiences with Mutt to date: Suggestions for overcoming some issues
On Sat, Jan 30, 2021 at 07:44:52AM -0800, Andrew Marks wrote: > I'd recommend using an separate IMAP-maildir sync tool like > isync/mbsync. (https://isync.sourceforge.io). Waiting for IMAP (and even > SMTP) operations in mutt is slow (not because of mutt, but because you > are waiting for network transactions to occur). This type of setup also > enables working with mail while offline. I'll never go back after > switching to isync and a local postfix or ssmtp instance. I no longer > compile mutt with IMAP, POP, or SMTP support.(Nothing against mutt or > the devs for including this support, I recognize including support for > these protocols is good and lowers the barrier to entry for most users.) I have a similar setup as yours, except I use the built-in SMTP. What advantages are there to using an external sendmail program? Chin
Re: My experiences with Mutt to date: Suggestions for overcoming some issues
On Mon, Feb 01, 2021 at 06:32:41AM -0800, Andrew Marks wrote: > On Sun, Jan 31, 2021 at 09:06:23AM +0100, Claus Assmann wrote: > > On Sun, Jan 31, 2021, Chinmaya Nagpal wrote: > > > > > I have a similar setup as yours, except I use the built-in SMTP. What > > > advantages are there to using an external sendmail program? > > Primarily speed, not waiting for mutt to establish an SMTP connection > and authenticate to a remote MTA. The mail is sent to the local MTA > instantly, and the local MTA is working to relay the mail appropriately > while I continue working in mutt. > > > > > Queueing. > > Yes, similar to the behavior of some GUI mail clients, your > online/offline use of mutt would be identical, you wouldn't have to save > messages as draft if you were offline, just send them out and the local > MTA will handle the queue, relaying when internet becomes available. Thank you both!
Re: not to set message id in outgoing email
> When I use mutt to construct an outgoing email, is there a way not to > set the message id? Thanks. I don't know if it's possible to remove the header altogether, but you can make mutt show only specific headers by using the "ignore" and "unignore" commands as specified in the mutt manual. In the sample starter muttrc file provided by the mutt package in my distribution, there are the following lines: ignore * unignore From Message-ID Date To Cc Bcc Subject -- Chinmaya Nagpal https://useplaintext.email/
Re: not to set message id in outgoing email
On Wed, Feb 03, 2021 at 10:46:06AM -0600, Peng Yu wrote: > This does not work. Have you tried it yourself? I did just now; my muttrc has the following lines: ignore * unignore From Date To Cc Bcc Subject and the Message-ID header is not shown in the editor or when viewing messages. -- Chinmaya Nagpal https://useplaintext.email/
Re: How to show bcc in the raw message generate by mutt?
On Thu, Feb 04, 2021 at 10:24:17AM -0600, Peng Yu wrote: > The Bcc field is not shown in the generated message. Is there a way to > let mutt generate the Bcc field from the command line? Thanks. Yes, set the write_bcc variable to "yes". And please read the manual! http://www.mutt.org/doc/manual/#write-bcc $ mutt -F temp.muttrc -b b...@addr.com -c c...@addr.com t...@addr.com <<< aaa Date: Thu, 4 Feb 2021 22:08:28 +0530 From: My name To: t...@addr.com Cc: c...@addr.com Bcc: b...@addr.com Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cheers, Chin -- Chinmaya Nagpal https://useplaintext.email/
Re: Sort Threads by newest Date
On Fri, Feb 05, 2021 at 02:03:52PM +0100, Christopher Zimmermann wrote: > when displaying a mailbox index in threaded view, the different threads are > sorted by the date of their oldest message. Is there a way to sort them by > their newest message? Yes, set $sort_aux to last-date-received. -- Chinmaya Nagpal https://useplaintext.email/
Re: Gmail - no authenticators available
> Still getting “no authenticators available” with Gmail. I’ve adapted > the muttrc per suggestions — see below. Welcome further tips! :) I use mbsync for syncing with IMAP, but for SMTP I have the following two lines in my configuration file: set smtp_pass = "xx" set smtp_url = "smtps://chinmaya1...@gmail.com:$smtp_p...@smtp.gmail.com:465/" for sending emails. Good luck! -- Chinmaya Nagpal https://useplaintext.email/
Background edit in new terminal window
Hi, I'd like to be able to launch an editor in a new terminal window and continue browsing my emails, like the contrib/bgedit-detectgui.sh script does but with my editor wrapped in a terminal window instead of with gvim. My editor is nvim and my terminal is alacritty. Best, Chin. -- Chinmaya Nagpal
Re: Background edit in new terminal window
On Sat, Feb 20, 2021 at 09:21:17AM -0800, Kevin J. McCarthy wrote: I don't use that terminal (or editor), but usually a terminal doesn't detach when you run it. So you could try: set background_edit set editor = "alacritty -e nvim" It works! I'm a bit embarrassed-- I was certain that this was the first thing I'd tried, but apparently not. Sorry for the silly question, and thank you! -- Chinmaya Nagpal
Re: Gmail -- new folders
On Thu, Mar 04, 2021 at 10:07:33PM -0500, Rob Pyott wrote: > Hello, I have Mutt working nicely with Gmail. Issue is that Mutt > causes to folders, [Imap]/sent-mail and saved-messages, to be created > on the server. There isn't anything in these folders. Should I try > to configure so that these do not appear? I have a simple muttrc > (welcome tips): Maybe these are caused by a system-wide muttrc. Unsetting "record" might fix the [Imap]/sent-mail issue. -- Chinmaya Nagpal
Faster message body searching
Is there any way to make it faster to do ~b limits in maildir mailboxes? I don't really use notmuch for much other than message body searching so I'm considering if I should get rid of it entirely.