Re: How can I know if error happens when sending mail?

2009-06-03 Thread Chengqi(Lars) Song
thanks, your suggestion is applied :) On Wed, 03 Jun 2009, Kyle Wheeler wrote: > On Wednesday, June 3 at 05:20 PM, quoth Chengqi(Lars) Song: > >-code > >lars:~$ less .bin/msmtp-wrap > >#! /bin/bash > > > >msmtp $* > >if [ $? != 0 ] > &g

Re: How can I know if error happens when sending mail?

2009-06-03 Thread Chengqi(Lars) Song
Hi All, Eventually I solved it by a simple wrapper of msmtp. It looks like this: -code lars:~$ less .bin/msmtp-wrap #! /bin/bash msmtp $* if [ $? != 0 ] then gxmessage -wrap -fg red -bg black -default okay -center MSMTP: `tail -1 ~/.getmail/msmtp.log` fi --

Re: How can I know if error happens when sending mail?

2009-06-02 Thread Chengqi(Lars) Song
yeah, the manual says we will be informed, but in fact i tested and didnt see any information about the error. lars On Tue, 02 Jun 2009, Nicolas Rachinsky wrote: > * JP Bruns [2009-06-02 10:37 +0200]: > Is there anything > for console-only > systems? Mutt is a great piece of software, but - i

confirm deleting mail

2009-06-02 Thread Chengqi(Lars) Song
hi, when deleting mails, usually press 'd' to mark it, then switch to maildir list to confirm deleting those marked mails, then switch back. Is there easier way? Thanks Lars

Re: How can I know if error happens when sending mail?

2009-06-01 Thread Chengqi(Lars) Song
indeed can not interrupt mutt, but can send a local mail to myself instead i think ... lars On Mon, 01 Jun 2009, Kyle Wheeler wrote: > On Tuesday, June 2 at 12:08 AM, quoth Chengqi(Lars) Song: > > Thanks for the method you provided. In fact I thought of that too. > > But

Re: How can I know if error happens when sending mail?

2009-06-01 Thread Chengqi(Lars) Song
Hi Markus, Thanks for the method you provided. In fact I thought of that too. But still it's not efficient to watch that log file everytime after sending a mail. Logwatch should work but still I wonder if there is any easier way to do this job. Could we possible wrap msmtp in a shell script, an

Re: auto CC to self

2009-06-01 Thread Chengqi(Lars) Song
it does work, thanks! On Mon, 01 Jun 2009, Markus Maria Miedaner wrote: > > -Urspr?ngliche Nachricht- > > Von: "Chengqi(Lars) Song" > > Gesendet: 01.06.09 10:34:13 > > An: mutt-users > > Betreff: auto CC to self > > > > Hi, > &

auto CC to self

2009-06-01 Thread Chengqi(Lars) Song
Hi, I want to CC every mail to my backup mailbox, say larsbac...@gmail.com, is it possible to configure that in mutt? Thanks. Regards Lars

How can I know if error happens when sending mail?

2009-06-01 Thread Chengqi(Lars) Song
Hi, I'm using msmtp to send mail. I've set sendmail_wait=-1 in .muttrc to make sending mail not blocking. But there comes a problem. If any error happens when sending mail, I will not aware about it. And sometimes it cause trouble to my work. How can I solve this problem? I need to be told if e

Re: error about TLS when sending mail

2009-04-30 Thread Chengqi(Lars) Song
it works, great! thanks lars On Thu, 30 Apr 2009, Christian Ebert wrote: > * Chengqi(Lars) Song on Thursday, April 30, 2009 at 21:12:12 +0800 > > I always get this message when sending mail: > > > > Apr 30 20:24:19 host=smtp.abc.com tls=on auth=on user=lars > > f

Re: error about TLS when sending mail

2009-04-30 Thread Chengqi(Lars) Song
but Outlook works well with that server... can mutt ignores that error msg? lars On Thu, 30 Apr 2009, Kyle Wheeler wrote: > On Thursday, April 30 at 09:12 PM, quoth Chengqi(Lars) Song: > >Hi, > > > >I always get this message when sending mail: > > > > Apr 30

error about TLS when sending mail

2009-04-30 Thread Chengqi(Lars) Song
Hi, I always get this message when sending mail: Apr 30 20:24:19 host=smtp.abc.com tls=on auth=on user=lars from=l...@abc.com recipients=larsgg.tosp...@abc.com errormsg='TLS handshake failed: The Diffie Hellman prime sent by the server is not acceptable (not long enough).' exitcode=EX_PROTOC

Re: Notification on new mails

2009-04-26 Thread Chengqi(Lars) Song
Thanks, this should be enough for me. btw, what's the meaning of :0whc? lars On Sun, 26 Apr 2009, Cameron Simpson wrote: > On 26Apr2009 19:18, I wrote: > | Your rule becomes: > | > | :0 > | * ^(Subject|From|To|Cc|Bcc):.*vip > | { > | :0whf > | | announce-email ... > | :0 > |

Re: Notification on new mails

2009-04-24 Thread Chengqi(Lars) Song
I'm using bare X + WindowManager instead of Desktop. I use osd-cat for some other notifications. lars On Sat, 25 Apr 2009, J. Limon wrote: > On Sat, Apr 25, 2009 at 01:55:39PM +0800, Chengqi(Lars) Song wrote: > > Hi, > > > > Im using getmail/procmail/mutt/msmtp as my

Notification on new mails

2009-04-24 Thread Chengqi(Lars) Song
Hi, Im using getmail/procmail/mutt/msmtp as my personal mail toolkit. It works well but lacks of notification on new mails. How do you deal with that? I want to add a notification to new coming mail in my "inbox-vip" mail box. How can I modify my procmailrc for that? the corresponding lines are

better mailbox lists

2009-04-02 Thread Chengqi(Lars) Song
hi, when i type "c ?" in my mutt i got these: 1 drwx-- 70 lars lars 4.0K Apr 02 22:03 ../ 2 drwxr-xr-x 5 lars lars 4.0K Jan 09 15:12 inbox/

Re: address alias file for mutt from command line

2009-03-31 Thread Chengqi(Lars) Song
i think you can find your alias file and edit it directly. lars On Tue, 31 Mar 2009, zhang zhengquan wrote: > Dear mutt community: > Recently I found that > echo | mutt -s subjetc -a attachment recipi...@host > > extremely convenient to use especially if you have lots of attachments. > > The o

Re: forwarding mail

2009-03-28 Thread Chengqi(Lars) Song
thanks, this is brilliant. On Sat, 28 Mar 2009, Sander Smeenk wrote: > Quoting Chengqi(Lars) Song (son...@gmail.com): > > > the default forwarding in mutt is to attach the original mail as a file, > > but i like to forward with quoting original mail text. How to configu

forwarding mail

2009-03-27 Thread Chengqi(Lars) Song
hi, the default forwarding in mutt is to attach the original mail as a file, but i like to forward with quoting original mail text. How to configure it? thanks lars

long loading time when entering mailbox

2009-01-05 Thread Chengqi(Lars) Song
hi, im using maildir. and it taks several seconds to load all mails when entering a mailbox. is there anyway such as lazy loading to speedup? thanks. lars

Re: how to mark all as read?

2009-01-04 Thread Chengqi(Lars) Song
great, it works well for me best lars On Mon, 05 Jan 2009, Ed Blackman wrote: > On Mon, Jan 05, 2009 at 02:12:46PM +0800, Chengqi(Lars) Song wrote: >> i know how to do it step by step: >> ctrl-t >> ~N >> ;N >> >> but how to bind this function to a single

how to mark all as read?

2009-01-04 Thread Chengqi(Lars) Song
hi, i know how to do it step by step: ctrl-t ~N ;N but how to bind this function to a single key? best lars

receiving duplicated mails from this mailing list

2009-01-03 Thread Chengqi(Lars) Song
hi, im receiving duplicated mails from this mailing list from several days ago. is there anything wrong? best lars

Re: Replying a mail in a mail list

2008-12-02 Thread Chengqi(Lars) Song
? I noticed that after adding them, there will be a tag 'L' in front of all mails from mutt-users mail list. lars On Tue, 02 Dec 2008, Ionel Mugurel Ciobica wrote: > On 2-12-2008, at 19h 09'34", Chengqi(Lars) Song wrote about "Replying a mail > in a mail list"

Replying a mail in a mail list

2008-12-02 Thread Chengqi(Lars) Song
Hi, When I'm replying a mail in a mail list, for example, a mail in mutt-users@mutt.org from [EMAIL PROTECTED], the default target is "To: [EMAIL PROTECTED]", how to changed it to the following? "To: [EMAIL PROTECTED], Cc:mutt-users@mutt.org" Do I need something like hook? Could you pl

Displaying mails in thread mode

2008-11-25 Thread Chengqi(Lars) Song
Hello, How to display mails in thread mode like Gmail does? Could you paste your thread-mode related settings? Thanks. Best Lars

Blocking when sending mail

2008-11-18 Thread Chengqi(Lars) Song
Hello, Mutt is blocked when sending mail. It takes a long time if the mail is large. Is it possible to send mail in a non-blocking mode? Thanks Lars

Gmail style alias setting

2008-11-16 Thread Chengqi(Lars) Song
Hello, Gmail can do a lot of work automatically, but I believe mutt can do it better. Such as alias setting, gmail can 1. store all mails appeared in all mail headers, e.g., From/To/CC/BCC 2. auto-complete when your key-in any part of a mail address. e.g., when you key in "ab", addresses like "[E

Re: How to re-distribute mails in inbox?

2008-11-14 Thread Chengqi(Lars) Song
Hey all, I asked the original question and sorry i forgot to mention that my mails are in "MailDir", and the "for i in * do..." solution works, thanks! best lars On Fri, 14 Nov 2008, Grant Edwards wrote: > On 2008-11-14, Steve <[EMAIL PROTECTED]> wrote: > > What if "inbox" is maildir format?

How to re-distribute mails in inbox?

2008-11-14 Thread Chengqi(Lars) Song
Dear All, Is it possible to sent all mails in Inbox to procmail to re-sort them again? Thanks. Best Lars

How to save all mail addresses of existing mails?

2008-11-11 Thread Chengqi(Lars) Song
Hello, I have over 1000 mails and I want to save all the mail addresses appeared in them to aliases. Is there an easy way to do this? It will be frustrating to do it one by one. Best Lars