.muttrc

2008-07-23 Thread Ravi Uday
Hi folks,

I screwed up my .muttrc and its lost..
I had the file at  ~/.muttrc

I did a mv ~/some fname ~/.muttrc

instead of

mv ~/fname ~/.mutt/

and now its gone.. :(
Is there a way to retrieve my ~/.muttrc back on Sun ?

Thanks in advance,
Ravi


Re: User's inbox

2008-07-23 Thread Michelle Konzack
Am 2008-07-14 10:14:32, schrieb Patrick Shanahan:
snip
 TMPDIR=${TMPDIR-/tmp}
snip
 TMPFILE=${TMPDIR}/grepmail-output.$$
snip
 if [ -f ${TMPFILE} -o -d ${TMPFILE} -o -w ${TMPFILE} ]; then
   echo 12 Temporary file ${TMPFILE} exists for some reason! Aborting.
   exit 1
 fi

Why not use:

   TMPFILE=`mktemp -t ${PROGNAME}.XX || exit 1`

It is much shorter and -t respect ${TMPDIR} if exist.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: IMAP, Gmail and...Procmail?

2008-07-23 Thread Michelle Konzack
Hello Michael,

Am 2008-07-15 11:30:08, schrieb Michael Pobega:
 I have finally set up Mutt to work with IMAP (After just finding out
 Gmail has IMAP this morning), but I'm wondering if there is a suitable
 way to sort my emails using Procmail. I used to use POP and Procmail
 together to sort all my mail, but with IMAP that doesn't seem possible
 since I'm not actually downloading the mail...
 
 Can anyone tell me a suitable way to sort my mail or use Procmail with
 IMAP?

It is possibel but, you should not do any filtering on gmail.

1)  Download the messages from your INBOX with fetchmail
2)  Filter it local with procmail
3)  Use a tool to sync the local mailfolders with gmail.
(uploading new local messages to gmail and then delete it local)

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: IMAP, Gmail and...Procmail?

2008-07-23 Thread Michelle Konzack
Am 2008-07-15 22:32:43, schrieb Kyle Wheeler:
 There's no such thing as using procmail through IMAP - procmail is a 
 *delivery* agent. If you don't control delivery, then you can't use 
 procmail.

Hmmm, you coulr download it with fetchmail and  filter  it  localy  with
procmail and in the procmairc you setup TRAP  with  your  prefered  imap
sync tool or a sipel perl script (it is easy to code) which then  upload
the message back into the gmail account into the right folder...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature