Re: EXITCODE==255

2011-06-18 Thread lee
Joseph syscon...@gmail.com writes:

 I have in my .maildir folder file name: EXITCODE==255

 -rw---  1 joseph joseph 226435 Jun 12 23:20 EXITCODE==255

 it looks like collection of html emails.
 Any ideas how to retrieve this mail?

Rename the folder with mc?


Re: EXITCODE==255

2011-06-18 Thread Jostein Berntsen
On 17.06.11,22:42, Joseph wrote:
 I have in my .maildir folder file name: EXITCODE==255
 
 -rw---  1 joseph joseph 226435 Jun 12 23:20 EXITCODE==255
 
 it looks like collection of html emails.
 Any ideas how to retrieve this mail?
 

Could you try to view this mailbox with

mutt -f ~/.maildir/EXITCODE==255

To view html mails in mutt put this in ~/.mailcap:

text/html; w3m -F -dump -I %{charset} -O UTF-8 -T text/html; \
copiousoutput

and this in your ~/.muttrc:

auto_view text/html



Jostein



Re: EXITCODE==255

2011-06-18 Thread Joseph

On 06/18/11 09:56, Jostein Berntsen wrote:

On 17.06.11,22:42, Joseph wrote:

I have in my .maildir folder file name: EXITCODE==255

-rw---  1 joseph joseph 226435 Jun 12 23:20 EXITCODE==255

it looks like collection of html emails.
Any ideas how to retrieve this mail?



Could you try to view this mailbox with

mutt -f ~/.maildir/EXITCODE==255


Yes, this worked; it contian missing mail.
But hot did the mail ended up in there?

Accessing the folder from mutt with c change directory and saving it to inbox 
folder worked as well.



To view html mails in mutt put this in ~/.mailcap:

text/html; w3m -F -dump -I %{charset} -O UTF-8 -T text/html; \
copiousoutput

and this in your ~/.muttrc:

auto_view text/html


This solution does not work. 
I solve it by using links in mailcap: /etc/mailcap:

...
text/html; /usr/bin/links '%s'; needsterminal; description=HTML Text; 
nametemplate=%s.html
text/html; /usr/bin/links -dump '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html
...

--
Joseph


Re: EXITCODE==255

2011-06-18 Thread Jostein Berntsen
On 18.06.11,13:08, Joseph wrote:
 On 06/18/11 09:56, Jostein Berntsen wrote:
 On 17.06.11,22:42, Joseph wrote:
 I have in my .maildir folder file name: EXITCODE==255
 
 -rw---  1 joseph joseph 226435 Jun 12 23:20 EXITCODE==255
 
 it looks like collection of html emails.
 Any ideas how to retrieve this mail?
 
 
 Could you try to view this mailbox with
 
 mutt -f ~/.maildir/EXITCODE==255
 
 Yes, this worked; it contian missing mail.
 But hot did the mail ended up in there?

What kind of mail filter do you use? Could it be that this exited with 
code 255 when you downloaded some mail? Are all the mail from the same 
day?


 
 Accessing the folder from mutt with c change directory and saving it to 
 inbox folder worked as well.
 
 
 To view html mails in mutt put this in ~/.mailcap:
 
 text/html; w3m -F -dump -I %{charset} -O UTF-8 -T text/html; \
 copiousoutput
 
 and this in your ~/.muttrc:
 
 auto_view text/html
 
 This solution does not work. I solve it by using links in mailcap:
 /etc/mailcap:
 ...
 text/html; /usr/bin/links '%s'; needsterminal; description=HTML Text; 
 nametemplate=%s.html
 text/html; /usr/bin/links -dump '%s'; copiousoutput; description=HTML Text; 
 nametemplate=%s.html
 ...

Links works just as fine. That the w3m line didn't work might mean that 
you don't have the w3m console browser installed on your system.


Jostein




Re: EXITCODE==255

2011-06-18 Thread Joseph

On 06/18/11 21:10, Athanasius wrote:

On Sat, Jun 18, 2011 at 01:08:29PM -0600, Joseph wrote:

On 17.06.11,22:42, Joseph wrote:

I have in my .maildir folder file name: EXITCODE==255

Yes, this worked; it contian missing mail.
But hot did the mail ended up in there?


 Typoed .procmailrc target?  It's meant to be a single equals sign,
not double as you have above.


Yes, I'm using .procmailrc and the last rule is:

:0e
EXITCODE==$?

so it should be ??

:0e
EXITCODE=$?

--
Joseph


Re: EXITCODE==255

2011-06-18 Thread Joseph

On 06/18/11 21:10, Athanasius wrote:

On Sat, Jun 18, 2011 at 01:08:29PM -0600, Joseph wrote:

On 17.06.11,22:42, Joseph wrote:

I have in my .maildir folder file name: EXITCODE==255

Yes, this worked; it contian missing mail.
But hot did the mail ended up in there?


 Typoed .procmailrc target?  It's meant to be a single equals sign,
not double as you have above.

--
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
 Finger athan(at)fysh.org for PGP key
   And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence. Paula Cole - ME


OK, so my last section of .procmailrc is:

#passing it through sapmassasin
:0fw
| spamassassin -P

:0e
EXITCODE=$?

:0:
* ^X-Spam-Flag: YES
$MAILDIR/junk/


# Last rule: mail that gets#
# this far goes in default box #

:0
* .*
inbox/

Is it correct now?

--
Joseph


Re: EXITCODE==255

2011-06-18 Thread Patrick Shanahan
* Joseph syscon...@gmail.com [06-18-11 16:45]:
 
 
 # Last rule: mail that gets#
 # this far goes in default box #
 
 :0
 * .*
 inbox/
 
 Is it correct now?

but this recipe is the *default* action of procmail, therefore not needed
:^)
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535  @ http://counter.li.org


Re: prevent startup imap connection

2011-06-18 Thread Mark Smith
   I am trying to prevent mutt from opening a connection to my imap
   spoolfolder on startup.
   Does anyone know how to prevent this? I would simply like to
   view my cached messages and connect to imap manually if I want to.
  
  Comment out the imap entry in muttrc and change to the imap folders
  manually?
  
  Unfortunately, that won't work. I still want to access my cached
  messages. So when I start mutt, it should show me my cached inbox
  without connecting automatically...
 
 Are these messages cached on the IMAP server?
 
 If not, how about mutt -f ~/cached-inbox and then connecting at will?
 
I am using the directives:

set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies

so setting for example mutt -f
.mutt/cache/bodies/imaps\:user\@fastmail.fm\@mail.messagingengine.com\:993/INBOX/
won't work as it tells me ... is not a mailbox.

I wonder if I just have to give up on this. Can't believe I am the only
one having this issue. Maybe I should put a request in to have this
implemented or report a bug that imap_passive is not working as
described?