New answers tagged

0

You could use mutt to do this from cron with expect (or one of its many implementations in many other languages). #!/usr/bin/env expect spawn mutt -f alerts expect -ex "Mutt" # or something if you've customized the display send -- "D" send -- "syscheck@example.com" ... Another option would be to write code that does a similar thing via something like ...


0

To simultaneously mark a message as read and delete it you can use the set resolve=no before the command to avoid jumping to the next message. This avoid having to check condition and such. Your cursor will stay in place after the ation is done. For example, I uses the following to mark as read before moving a message to an archive maildir: macro ...


1

To view HTML mail in mutt: Add the following to your ~/.muttrc: # convert text/html to text/plain using the "copiousoutput" entry # for text/html from ~/.mailcap auto_view text/html # Optionally prefer text/plain to text/html # Doing this means that you will need to manually view text/html attachments # in messages that are multipart/alternative with ...


0

I'm repeating what I said on the github issue, you are probably not in a virtual folder when you attempt to tag. Tagging works only in a virtual folder, so it will fail in =INBOX but will succeed in tag:inbox.


1

Seems I was looking for redraw-screen macro pager b "<enter-command>toggle sidebar_visible <enter><redraw-screen>"


0

You are redirecting the standard output from sendmail to the log file, but standard error is not redirected, and so ends up in the Procmail log file. I would imagine that sendmail sets a suitable exit code, and that you can simply generate a local bounce message when it fails if you want to. This is becoming complex enough that I would create a separate ...


0

Not all of the combinations give useful results, but this may help: set sort_aux = last-date-received set sort = reverse-threads The entries have the requested ordering, though threads look odd: I'm more used to this (no reverses):



Top 50 recent answers are included