server pop

2011-01-06 Thread Stéphane Ortega
Hello, I'm a french and novice user of mutt. I would like to know how to configure mutt for received messages from two server pop. I've put in my muttrc : set pop_host=pop.free.fr:110 account-hook . 'unset pop_user; unset pop_pass; unset tunnel' account-hook pop://pop.free.fr:110/ 'set

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

2011-01-06 Thread David Champion
* On 05 Jan 2011, Toby Cubitt wrote: is dated less than 24h before the current time. That's *not* what I'm after. When the current time is 00:01 on the 6 Jan, I want an email that arrived at 23:59 on the 5 Jan to display Sun 05, even though the email is only two minutes old. I understand

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

2011-01-06 Thread Toby Cubitt
On Thu, Jan 06, 2011 at 03:09:53AM +, Toby Cubitt wrote: As far as I recall (it's a long time since I looked at it), the date_conditional patch straightforwardly compares the email date stamp against the current time. The 1d conditional is true whenever the email is dated less than 24h

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 yang On Thu, Jan

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 On Thu, Jan 06, 2011

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') +%s) -gt $epoch ]; then echo %4C %Z %{%d.%m.%y} %-15.15F