propagating message flags across gmail label folders
I'm using mutt and offlineimap to access GMail. A message can occur in more than one folder (either due to multiple labels or simply because it exists in the All Mail folder), but when changing the flag of one message (e.g., from new to read) they don't get propagated to other folders. This is somewhat annoying when trying to gauge the amount of unread mail: in one folder they same message has been marked as read while it is still considered new in another. Is there a straight-forward solution to propagate the message flags? As a mediocre fix, I was planning to write a small script that, given a Message-ID, propagates the flags to relevant folders (based on X-Label header). Matthias
directly sending from postponed menu
Is it possible to send a message from the Postponed Messages menu without editing it? After having written various emails while having been offline for a while, I find it tedious to select each draft, edit it, save it, then hit 'y'. What I'd like to do is just hit 'y' directly from the Postponed Message view directly. Even better, tag those messages I want to deliver and press a simple button. Perhaps one way of getting there would be to open the folder with postponed messages as regular mailbox, so that they can be tagged and bulk-edited. Then really all that needs to be done is take the message as-is and send it off. How would you go after this from within mutt? (I'm using mutt itself as opposed to, say, msmtp to send mail. So piping them through sendmail -t and deleting them afterwards wouldn't work directly.) Matthias
Re: directly sending from postponed menu
* Matthias Vallentin [07-09-15 14:43]: > Is it possible to send a message from the Postponed Messages menu > without editing it? After having written various emails while having > been offline for a while, I find it tedious to select each draft, edit > it, save it, then hit 'y'. What I'd like to do is just hit 'y' directly > from the Postponed Message view directly. Even better, tag those > messages I want to deliver and press a simple button. > > Perhaps one way of getting there would be to open the folder with > postponed messages as regular mailbox, so that they can be tagged and > bulk-edited. Then really all that needs to be done is take the message > as-is and send it off. How would you go after this from within mutt? > (I'm using mutt itself as opposed to, say, msmtp to send mail. So piping > them through sendmail -t and deleting them afterwards wouldn't work > directly.) Try adding your postpone directory as a mailbox and directly access it, or just access the //http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: directly sending from postponed menu
On 09Jul2015 11:41, Matthias Vallentin wrote: Is it possible to send a message from the Postponed Messages menu without editing it? After having written various emails while having been offline for a while, I find it tedious to select each draft, edit it, save it, then hit 'y'. What I'd like to do is just hit 'y' directly from the Postponed Message view directly. Even better, tag those messages I want to deliver and press a simple button. Perhaps one way of getting there would be to open the folder with postponed messages as regular mailbox, so that they can be tagged and bulk-edited. Then really all that needs to be done is take the message as-is and send it off. How would you go after this from within mutt? (I'm using mutt itself as opposed to, say, msmtp to send mail. So piping them through sendmail -t and deleting them afterwards wouldn't work directly.) I was going to make two suggestions, and the second was "piping them through sendmail -t and deleting them afterwards wouldn't work directly". I have a "B" macro (to accompany "b"ounce) for exactly that: macro index,pager B "sendmail -oi -t" Anyway, the first suggestion was anyway going to be: run a local mail system to support your _outbound_ email. The reason I say this is your sentence: After having written various emails while having been offline for a while, I find it tedious to select each draft, edit it, save it, then hit 'y'. I live on a MacBook Pro, and it runs a local postfix (OSX ships with postfix). As a consequence, I do not care if I am offline when I compose a message because I always have mutt deliver to the local mail system. When I am online, the message going out immediately. When I am offline, the message is queued and will go out quite soon after I am next online. This workflow completely obviates any need to use "postponed" for a message which is complete. All you really need to make this work in concert with an ISP's SMTP service is to add a relayhost to /etc/posfix/main.cf. Here's mine: relayhost = [service.l]:1025 You can point this directly at your normal SMTP service. Mine is a little funny because I have an haproxy that forwards to a choice of SMTP servers; it aids moving the laptop around. Anyway, the point of this is that I recommend running a local mail system to support outbound email. It is extremely handy. I have done plenty of correspondence while offline on a train. FTW! Cheers, Cameron Simpson Life is like arriving late for a movie, having to figure out what was going on without bothering everybody with a lot of questions, and then being unexpectedly called away before you find out how it ends.