Re: Can I have a send hook dependent on *two* addresses in the To: ?

2011-11-18 Thread du yang
On Thursday 11/17/11 22:21:19 CST, Chris Green wrote: > I want to filter out some cases where E-Mail gets sent to two addresses > and should only be sent to one address. > > E.g. I have a mailing list where for various nefarious reasons when I do > a L[ist reply] the To: line is as follows:- > >

Re: Forward with attachments

2011-11-21 Thread du yang
On Monday 11/21/11 18:44:13 CST, Mailing Lists wrote: > Hello, > i would forward a received mail with his attachments, but for my mutt's > configuration it do not happens: is it possible and how can i do? > > Best regards > Massimo I think it could be done by following steps, a) press 'v' to vie

Re: key binding for sidebar folder list

2011-11-24 Thread du yang
On Thursday 11/24/11 19:38:02 CST, SK wrote: > Hi, > > I know there are key bindings to go up and down the mailbox folder in > the sidebar. Is there any way I can make my life a bit more easier by > binding a key to select a specific mailbox folder. For example ctrl-1 > would select the first inbo

Re: mutt and msmtp -- better error handling?

2013-09-18 Thread du yang
I think a lot of people have the setting like you. Check this small program which may help you. https://code.google.com/p/msmtp-notify/ It monitors the msmtp log and sends various kinds of notification on mail sent. On Thursday 09/19/13 02:08:22 CST, Óscar Pereira wrote: > (This might turn out to

Re: server pop

2011-01-06 Thread du yang
Hello, if you have two accounts on the same server, you may set the account-hooks like this, account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' hope it could help you. - du

Re: server pop

2011-01-06 Thread du yang
Hi, sorry for a typing error in the last post. it should be, account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER1 pop_pass=***' account-hook pop://us...@pop.free.fr:110/ 'set pop_user=USER2 pop_pass=***' - du yang

Re: format string: time for today, date for others.

2011-01-06 Thread du yang
Hi, I improved the script to fulfill the author's the expectation(just display time for today's mails), only 'if condition' changed. - du yang #!/bin/bash epoch="$1" if [ $(date -d "$(date '+%Y-%m-%d')" &quo

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 18:21 +0800, Yue Wu wrote: > On Fri, Jan 07, 2011 at 03:40:12PM +0800, du yang wrote: > > Hi, > > > > I improved the script to fulfill the author's the expectation(just display > > time for today's mails), > > only

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 18:54 +0800, Yue Wu wrote: > On Fri, Jan 07, 2011 at 06:32:44PM +0800, du yang wrote: > > > > Change '#!/bin/bash' to '#!/bin/sh' in the script header, then it may work. > > > > else please post the error details.

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 05:29 -0600, David Champion wrote: > * On 07 Jan 2011, du yang wrote: > > Hi, > > > > I improved the script to fulfill the author's the expectation(just display > > time for today's mails), > > only 'if condition' c

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 18:21 +0800, Yue Wu wrote: > On Fri, Jan 07, 2011 at 03:40:12PM +0800, du yang wrote: > > Hi, > > > > I improved the script to fulfill the author's the expectation(just display > > time for today's mails), > > only

Re: format string: time for today, date for others.

2011-01-07 Thread du yang
On Fri, Jan 07, 2011 at 05:07 -0600, David Champion wrote: > * On 07 Jan 2011, Yue Wu wrote: > > On Fri, Jan 07, 2011 at 03:40:12PM +0800, du yang wrote: > > > > > > if [ $(date -d "$(date '+%Y-%m-%d')" "+%s") -gt $epoch ]; then > >

Re: How to show number of emails in folder when in folder list?

2011-01-11 Thread du yang
On Tuesday 01/11/11 18:13:21 CST, Yue Wu wrote: > On Tue, Jan 11, 2011 at 11:02:52AM +0100, Sebastian Schwarz wrote: > > On 2011-01-10 at 21:59 -0500, Patrick Shanahan wrote: > > > I don't see any variable to display number of msgs, but someone > > > may recall a patch that provides that. I don't

Re: How to only show folders have new emails in folder view?

2011-01-11 Thread du yang
. Regards, du yang On Tuesday 01/11/11 18:39:29 CST, Yue Wu wrote: > Hi, group, > > As the title, I want to only show the folders have new emails when in > folder view, how to do that? > > I'm using a method, but don't know if there's a better or built-in > way: wri

Re: $folder_format with IMAP

2011-03-26 Thread du yang
On Saturday 03/26/11 06:42:16 CST, Aaron Toponce wrote: > It seems that may printf() sequences that are available for $folder_format > aren't working when using IMAP. I'm guessing that many of these are for > local folders only? Flags like %d for example. In fact, the only working > string that see

Re: fcc-hook: how to tame it?

2011-07-12 Thread du yang
ne is the default fcc-hook action on sent mails. the second is a specific action on mails to friend2 and friend2. if you don't want to save mails, you can set the first line to, fcc-hook .* "/dev/null" Hope this could help you. PS, you could also combine fcc-hook with other hooks(like folder-hook, send-hook...) to get fcc-hook dynamically changed. - du yang -- 临江仙·滚滚长江东逝水--杨慎 滚滚长江东逝水,浪花淘尽英雄。 是非成败转头空。青山依旧在,几度夕阳红。 白发渔樵江渚上,惯看秋月春风。 一壶浊酒喜相逢。古今多少事,都付笑谈中。

Re: Sidebar patch bolds text inside message body

2011-10-20 Thread du yang
On Sunday 10/16/11 02:29:25 CST, Onoie Andrei wrote: > The issue is that everything that I highlight in the body or the header > of the message becomes bold or sometimes reversed. > Say I have > > color header color74 color233 "^From" > > 'From' in the header of the mail becomes in bold.This didn

Re: external file manager

2011-10-20 Thread du yang
On Thursday 10/20/11 20:09:26 CST, Volker Bouffier wrote: > On 13Oct2011 22:08, stardiviner wrote: > > I usually attach files to a message by putting "Attach:" header lines in > > during the edit mode. Now, I have a vi macro bound to ^A to do this with > > file completion easily, which makes me ha

Re: how to automatic save mails to a folder from index.

2011-10-20 Thread du yang
On Tuesday 10/11/11 13:41:15 CST, stardiviner wrote: > How to *automatic* save mails from pyt...@python.com in INBOX/ to folder > Python/ > when I quit or switch mail folders. > I have readed man muttrc, and mutt wiki, can not find a good solution. > I tried to search mutt mailing list archive, n

Re: how to automatic save mails to a folder from index.

2011-10-21 Thread du yang
On Friday 10/21/11 23:04:15 CST, stardiviner wrote: > => On [2011-10-21 14:02:01 +0800]: > du yang Said: > > On Tuesday 10/11/11 13:41:15 CST, stardiviner wrote: > > > How to *automatic* save mails from pyt...@python.com in INBOX/ to folder > > > Python/

Re: watch/monitor mailbox and notify new mails

2011-10-22 Thread du yang
notifications. I personally like the small and simple program xbiff, so I use a C program + xbiff + libnotify. which the C program is use to check mailboxes and then write a mbox file which could be monitored by xbiff. Best regards, du yang -- oooO: (..): :\.(:::Oooo:: ::\_)

Re: trouble with tag-prefix-cond

2011-10-22 Thread du yang
tion after "tag-prefix" would be done on the current selected message if there is no matching. But "tag-prefix-cond" will do nothing. Best regards, du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ signature.asc Description: Digital signature

IMAP fetch header failed

2011-10-22 Thread du yang
ons to solve or workaround this problem to get mutt working? Thanks in advance. Best regards, du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ signature.asc Description: Digital signature

Re: IMAP fetch header failed

2011-10-22 Thread du yang
On Sunday 10/23/11 14:02:01 CST, stardiviner wrote: > => On [2011-10-23 10:56:38 +0800]: > du yang Said: > If your Gmail INBOX really has 20, messages, I think mutt IMAP can not > fetch so much > headers. Maybe you need to delete or catalyzes your gmail. I subscribed some

Re: IMAP fetch header failed

2011-10-23 Thread du yang
On Sunday 10/23/11 17:18:19 CST, stardiviner wrote: > => On [2011-10-23 14:28:03 +0800]: > du yang Said: > > On Sunday 10/23/11 14:02:01 CST, stardiviner wrote: > > > => On [2011-10-23 10:56:38 +0800]: > > > du yang Said: > > > If your Gmail INBOX r

Re: IMAP fetch header failed

2011-10-23 Thread du yang
On Sunday 10/23/11 18:54:06 CST, Michael Graham wrote: > On Sun, Oct 23, 2011 at 10:48, du yang wrote: > > > > At first, build up some labels so that you can search mailing list, then > > > move to differentt labels. As much as I know, you can make some filter &g

Re: IMAP fetch header failed

2011-10-24 Thread du yang
On Monday 10/24/11 16:45:22 CST, Michael Graham wrote: > On Sun, Oct 23, 2011 at 05:06, du yang wrote: > > > Yes, I can try to workaround the problem as Stardiviner suggests. But to > > make mutt more error-tolerant I think mutt still has something to be > > improved.

Re: IMAP fetch header failed

2011-10-24 Thread du yang
On Monday 10/24/11 17:09:40 CST, Aaron Toponce wrote: > On Sun, Oct 23, 2011 at 02:02:01PM +0800, stardiviner wrote: > > => On [2011-10-23 10:56:38 +0800]: du yang Said: > > > I have a gmail INBOX with more than 20,000 messages. I configured mutt > > > IMAP to this

Re: IMAP fetch header failed

2011-10-24 Thread du yang
On Monday 10/24/11 17:39:14 CST, Aaron Toponce wrote: > The "tls_socket_read" connection issues are related to GnuTLS. If you > recompile Mutt with OpenSSL instead, those errors go away. Might be worth > looking into if it's a big issue for you. Thanks for this good hint, I will try it. Currently

Re: IMAP fetch header failed

2011-10-24 Thread du yang
blem. So I insist on trying to look for a solution with mutt at first ;-) Best regards du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ signature.asc Description: Digital signature

Re: IMAP fetch header failed

2011-10-24 Thread du yang
On Monday 10/24/11 17:39:14 CST, Aaron Toponce wrote: > The "tls_socket_read" connection issues are related to GnuTLS. If you > recompile Mutt with OpenSSL instead, those errors go away. Might be worth > looking into if it's a big issue for you. > Possible. Again, running tcpdump(1) should be the

Re: how to color one mail reply you in a thread ?

2011-10-24 Thread du yang
On Tuesday 10/25/11 11:46:48 CST, stardiviner wrote: > I want to color one special mail in a thread from one mailing list. > for example: > Subject . > [r] `-> (I replied here) > | `-> > | > `-> (someone replied me at here, I want to color this mail in mutt > color theme)

Re: how to color one mail reply you in a thread ?

2011-10-24 Thread du yang
On Tuesday 10/25/11 12:06:10 CST, du yang wrote: > On Tuesday 10/25/11 11:46:48 CST, stardiviner wrote: > > I want to color one special mail in a thread from one mailing list. > > for example: > > Subject . > > [r] `-> (I replied here) > > | `-&

Re: how to color one mail reply you in a thread ?

2011-10-24 Thread du yang
On Tuesday 10/25/11 12:27:20 CST, du yang wrote: > If you want to color mails from someone special, you can try the > expression '~t x...@xyx.com' in color command. It is case-insensitive. > Sorry again. the expression should like this '~f x..

Re: IMAP and '+.' format

2011-10-26 Thread du yang
On Wednesday 10/26/11 07:40:07 CST, Paul wrote: > With it set as > > set record="+.Sent" > > it doesn't put sent mails into the Sent folder (although I'm sure I saw the > status briefly say it was uploading the message after (or is it before?) it > was sent). With it set like this: You ca

Re: IMAP fetch header failed

2011-10-26 Thread du yang
mails. But it has the SSL/TLS read as well when getting very large mails, so I made a IPv6 patch in order to use my IPv6 connection. I will try to share this patch somewhere. Best regards du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ signatur

Re: sub-mailbox in mailbox

2011-10-29 Thread du yang
On Saturday 10/29/11 15:31:11 CST, stardiviner wrote: > I'm using mutt patch *sidebar*. > I hope sidebar can show new mail highlight and list out sub-mailboxes. > 1] new mail highlight. (even in sub-mailboxes) > 2] I find mutt can not list out mailboxes when they are in another mailbox. > for e

Re: Nested Folders Not Accessible With OfflineIMAP

2011-10-29 Thread du yang
ition should be like if [ -x $folder ]; instead of if [ -x $folder]; Is that your problem? The first one script looks having no problem on syntax after removing tailing space. Best regards du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ signa

Re: Nested Folders Not Accessible With OfflineIMAP

2011-10-30 Thread du yang
On Sunday 10/30/11 19:00:14 CST, Michael Graham wrote: > I tried making the fix you suggested, but it still hasn’t workedi — I still > can’t access the nested folders. I don’t get the previous error in printed > in the terminal on exit, but I now get this: > > sh: line 0: [: too many argum

Re: Nested Folders Not Accessible With OfflineIMAP

2011-11-01 Thread du yang
On Tuesday 11/01/11 21:24:02 CST, Michael Graham wrote: > Hi Du Yang, > > Thanks for the above; it fixed the terminal errors, and now I’m running it > without anything being printed to the terminal on exit. > However, it’s *still* not letting me traverse the nested folde

Re: Nested Folders Not Accessible With OfflineIMAP

2011-11-02 Thread du yang
t;+list" "+list/Accounts" "+list/Archive" "+list/Deleted Messages" Does this you expect? Best regards, du yang -- oooO: (..): :\.(:::Oooo:: ::\_)::(..):: :::)./::: ::(_/ c.sh Description: C.SH signature.asc Description: Digital signature

Re: attach multipe files from within mutt

2011-11-04 Thread du yang
On Friday 11/04/11 19:40:06 CST, Eric Smith wrote: > I cannot find a way to attach multiple files in one go > from within mutt. I can go to attach and then to fle browser > and there select with a tag, but I cannot get all the tagged files to > attch to the mail message. > > How would I do that?

Re: Mutt and msmtp "errorcodes"

2011-11-11 Thread du yang
On Friday 11/11/11 19:21:16 CST, Martin Kjær Jørgensen wrote: > Hey > > Is there a way to make mutt listen or wait for msmtp succeeding or > failing, and react accordingly? (or any other MTA for that matter) > Please check the mutt parameter sendmail_wait. If set, mutt will be waiting until mai

Re: Mutt and msmtp "errorcodes"

2011-11-11 Thread du yang
On Friday 11/11/11 20:20:36 CST, du yang wrote: > On Friday 11/11/11 19:21:16 CST, Martin Kjær Jørgensen wrote: > > Hey > > > > Is there a way to make mutt listen or wait for msmtp succeeding or > > failing, and react accordingly? (or any other MTA for that matter)