Matt Ackeret | 9 Dec 21:12 2011
Picon

Alpine creates invalid message when only sending attachment


Interesting.  This is with alpine 1.0, so it may be fixed in later alpine.
Sending myself an attachment, with no text content, seems to be a malformed
message.  (This message was to be viewed on my phone, which then lets me 
install the profile.)

1) create new message
2) in the editor (vim), I  "dG" which deletes all text (e.g. my .signature)
3) exit vim
4) control-J, type in path
5) send
6) view message
-> it appears approximately like this:  (I removed the X- part and the actual
filename..)

I can reproduce this.

    [ Empty or malformed message. Use "H" to see raw text. ]

    [ Part 2, ""  Application/X-EXCISED (Name: ]
    [ "HIDDEN") 3.4 KB. ]
    [ Not Shown. Use the "V" command to view or save this part. ]
Eduardo Chappa | 10 Dec 04:38 2011
Picon

Re: Alpine creates invalid message when only sending attachment

On Fri, 9 Dec 2011, Matt Ackeret wrote:

:) Interesting.  This is with alpine 1.0, so it may be fixed in later 
:) alpine. Sending myself an attachment, with no text content, seems to be 
:) a malformed message. 

Matt,

  What you observed is something normal. The message is "empty" in the 
sense that it has not text in the body of it, just an attachment. If you 
had written anything in the body, the message you saw would not have been 
displayed.

--

-- 
Eduardo
http://patches.freeiz.com/alpine/
Matt Ackeret | 10 Dec 04:42 2011
Picon

Re: Alpine creates invalid message when only sending attachment

On Fri, 9 Dec 2011, Eduardo Chappa wrote:
>On Fri, 9 Dec 2011, Matt Ackeret wrote:
>:) Interesting.  This is with alpine 1.0, so it may be fixed in later 
>:) alpine. Sending myself an attachment, with no text content, seems to be 
>:) a malformed message. 
>
>Matt,
>
>  What you observed is something normal. The message is "empty" in the 
>sense that it has not text in the body of it, just an attachment. If you 
>had written anything in the body, the message you saw would not have been 
>displayed.

Then why is it called malformed?  That implies that the message is not
following an RFC properly.

(Hmm, I have sent myself images from my phone with no text content, 
AFAIK not even a signature, and haven't gotten that message..  I bet
maybe there really was some info.)
Geoffrey Thomas | 10 Dec 04:50 2011

Re: Alpine creates invalid message when only sending attachment

On Fri, 9 Dec 2011, Matt Ackeret wrote:

> Then why is it called malformed?  That implies that the message is not
> following an RFC properly.
>
> (Hmm, I have sent myself images from my phone with no text content,
> AFAIK not even a signature, and haven't gotten that message..  I bet
> maybe there really was some info.)

Strictly speaking, it's reporting an "empty or malformed" message, and it 
is, in fact, empty.

Even a single whitespace character would suppress the message. Here's the 
relevant comment in the source:

/*
  * If a message is multipart *and* the first part of it
  * is text *and that text is empty, there is a good chance that
  * there was actually something there that c-client was
  * unable to parse.  Here we report the empty message body
  * and insert the raw RFC822.TEXT (if full-headers are
  * on).
  */

I don't know enough about c-client, but perhaps the right answer is for 
c-client to have a way to report "I couldn't parse this" other than 
returning a 0-byte-long part?

Alternatively, Alpine could send a single newline if it's about to send a 
completely empty message, which would also be robust to other mail readers 
(Continue reading)

Matt Ackeret | 10 Dec 04:54 2011
Picon

Re: Alpine creates invalid message when only sending attachment

On Fri, 9 Dec 2011, Geoffrey Thomas wrote:
> Strictly speaking, it's reporting an "empty or malformed" message, and it is,
> in fact, empty.

You're right.

I guess I noticed this more than usual, because I *DO* see the message
once in a rare while (maybe every few weeks) erroneously...

I'm just going through my mail, I see that message..  Then I go back to INDEX
and back to the same message, or back then next... and the message shows up
fine.
Joe(theWordy)Philbrook | 10 Dec 22:15 2011
Picon

Is alpine supposed to be able to use IMAP to move msg from spam to inbox?\

I've been using (Al)pine for a long time. But until recently I didn't
have an imap accessible account. (I've used pop (usually via fetchmail) to
move it to a local folder. But since I now have an imap accessible gmx.com
free mail account I've also learned to use alpine to directly work with
my gmx inbox and spam folder. But if I find something in spam that
I want to leave in the server inbox folder for downloading to more than one
computer, I have to use their webmail access to do it.

If I try to use alpine to save a message, and use ^t to select either of
those imap folders from the incoming message folders list, It tells me the
folder doesn't exist and wants to create it. Not having any idea what might
happen to the mail already in such folders if alpine succeeded in creating
the folder it doesn't think exists, I haven't dared say "yes"...

So like I said, is Alpine supposed to be able to do this? And/Or what am I
doing wrong?

--

-- 
|  ~^~   ~^~
|  <?>   <?>       Joe (theWordy) Philbrook
|      ^                J(tWdy)P
|    \___/         <<jtwdyp@...>>

Beartooth | 19 Dec 20:10 2011
Picon
Picon

superfluous incoming


	I have a significant number of incoming folders (and filters 
directing messages to them) for lists I no longer follow. Can I simply 
delete them all, or are there any gotchas I need to watch out for?

--

-- 
Beartooth Staffwright, Not Quite Clueless Power User
I have precious (very precious!) little idea where up is.

malte.dik | 21 Dec 19:11 2011
Picon

Re: Pico

Hi,

On Thu, 27 Oct 2011, Joshua Miller wrote:

> On Thu, Oct 27, 2011 at 7:36 PM, James Freer
<jessejazza3.uk@...> wrote:
>       Thank you all for your replies.
>
>       Why use Pico instead of Nano?
>       ...
>
>       as i see it. With nano if you have your browser open and press Meta
>       key with left arrow or right arrow - the browser will close which i
>       discovered by accident as this is a common way of moving a word in
>       almost any graphical editor or word processor. M-? should take you to
>       last line (it does) but the alternative keystroke M-\ opens up the
>       search same with M-/. M-} indent and M-{ unindent - umm no. ^-space
>       and M-space excellent work as intended. Perhaps i'd be more at home
>       ...
> 
> 
> Hope I'm not beating a dead horse, but have you seen this:
> 
>  http://www.nano-editor.org/dist/v2.2/nanorc.5.html#KEY BINDINGS
> 
> Might cost you a little time to make it do what you want, but it seems completely within the capabilities of
nano to do
> your keybindings however you like.

Where would I put
(Continue reading)

Eduardo Chappa | 21 Dec 18:45 2011
Picon

Re: Pico

On Wed, 21 Dec 2011, malte.dik@... wrote:

:) Where would I put
:) 
:) bind ^Space mark main
:) 
:) to be used in the message-composer? It works when I open nano to edit a 
:) file from the commandline (after I put it into /etc/nanorc), but not in 
:) alpine itself.

That is a feature of Nano. Nano is not a clone of Pico since it has more 
functionality than Pico.

--

-- 
Eduardo
http://patches.freeiz.com/alpine/
malte.dik | 21 Dec 23:34 2011
Picon

Re: Pico

On Wed, 21 Dec 2011, Eduardo Chappa wrote:

> On Wed, 21 Dec 2011, malte.dik@... wrote:
>
> :) Where would I put
> :)
> :) bind ^Space mark main
> :)
> :) to be used in the message-composer? It works when I open nano to edit a
> :) file from the commandline (after I put it into /etc/nanorc), but not in
> :) alpine itself.
>
> That is a feature of Nano. Nano is not a clone of Pico since it has more
> functionality than Pico.

The feature of marking text or of setting custom key bindings? Because 
the former works per Ctrl-^ which is bad news for me because I use a 
german, dead-keys keyboard layout :(

Gmane