Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-08 Thread Josef Atmin
Thanks! Here is the improved macro: macro index,pager G "\ unset wait_key\ \ 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;\ fi\ set wait_key\ " "fetch local and pop3 m

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-08 Thread bill lam
On Sun, 08 Feb 2009, Josef Atmin wrote: > Thanks for pointing that out. How would I do that? Set permissions to > non-writable? Does any of the followings help? $ man -k lock | grep "(1)" -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --k

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-08 Thread Josef Atmin
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 "\ > > unset wait_key\ > > \ > > if [[

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-07 Thread bill lam
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 "\ > unset wait_key\ > \ > if [[ -s /var/mail/$USER ]]; then\ > cat /var/mail/$USER >> ~/INBOX;\ > echo

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-07 Thread Josef Atmin
After having discovered macros I came up with the following solution for moving mail from /var/mail/jatmin to ~/INBOX. macro index,pager G "\ unset wait_key\ \ if [[ -s /var/mail/$USER ]]; then\ cat /var/mail/$USER >> ~/INBOX;\ echo -n > /var/mail/$USER;\ fi\ set wait_key\ " "fetch local a

Re: How can I get mail from /var/mail/jatmin to my spoolfile

2009-02-06 Thread Josef Atmin
e 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 spoolfil

Re: How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?

2009-02-06 Thread Ionel Mugurel Ciobica
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

Re: How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?

2009-02-06 Thread Ionel Mugurel Ciobica
On 6-02-2009, at 10h 30'29", Josef Atmin wrote about "How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?" > > Hello mutt users, > > I am new to mutt and cannot figure out how to move mail from my local > spoolfile /var/mail/jatmin (or

How can I get mail from /var/mail/jatmin to my spoolfile ~/INBOX ?

2009-02-06 Thread Josef Atmin
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 di