On Sun, Feb 08, 2009 at 11:15:31AM +0800, bill lam wrote:
On Sat, 07 Feb 2009, Josef Atmin wrote:
After having discovered macros I came up with the following solution for
moving mail from /var/mail/jatmin to ~/INBOX.
macro index,pager G \
enter-commandunset wait_keyenter\
Thanks! Here is the improved macro:
macro index,pager G \
enter-commandunset wait_keyenter\
shell-escape\
if [[ -s /var/mail/$USER ]]; then\
mutt_dotlock -p /var/mail/$USER;\
cat /var/mail/$USER ~/INBOX;\
echo -n /var/mail/$USER;\
mutt_dotlock -p -u /var/mail/$USER;\
fireturn\
After having discovered macros I came up with the following solution for
moving mail from /var/mail/jatmin to ~/INBOX.
macro index,pager G \
enter-commandunset wait_keyenter\
shell-escape\
if [[ -s /var/mail/$USER ]]; then\
cat /var/mail/$USER ~/INBOX;\
echo -n /var/mail/$USER;\
On Sat, 07 Feb 2009, Josef Atmin wrote:
After having discovered macros I came up with the following solution for
moving mail from /var/mail/jatmin to ~/INBOX.
macro index,pager G \
enter-commandunset wait_keyenter\
shell-escape\
if [[ -s /var/mail/$USER ]]; then\
cat /var/mail/$USER
Hello mutt users,
I am new to mutt and cannot figure out how to move mail from my local
spoolfile /var/mail/jatmin (or /var/spool/mail/jatmin) to my mutt
$spoolfile ~/INBOX when I press 'G' (or automatically).
I need this for the following reason. Since I work in different
cities, I use
On 6-02-2009, at 11h 06'55, Ionel Mugurel Ciobica wrote about Re: How can I
get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?
I have my maibox in file located in $HOME/Mail by simply setting the
MAIL variable. I use tcsh so this goes in my .login:
setenv MAIL $HOME/Mail/Inbox
and then synchronization is easy.
Any other suggestions?
Cheers, Josef.
On Fri, Feb 06, 2009 at 11:19:21AM +0100, Ionel Mugurel Ciobica wrote:
On 6-02-2009, at 11h 06'55, Ionel Mugurel Ciobica wrote about Re: How can
I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?
I have my maibox