Reuben Thomas | 29 Dec 2007 15:27
Gravatar

Alpine 1.00 hangs when it can't send mail

Alpine 1.00 seems to hang when it times out talking to the mail server. One 
of two things happens:

1. I get a message on screen about SSL/TLS login failing, and I press Return 
to continue as instructed, and nothing happens.

2. I get a message that it's been trying to send for xxx seconds, and I 
press Y to break the connection to the server, and then nothing further 
happens.

I looked at the debug log and it seems that in the first case Alpine is 
busy-waiting rather than actually hanging, and it manages to generate 10s of 
Mbs in a few tens of seconds before I conclude it has hung and kill Alpine.

Here's a sample:

15:28:46.861876
IMAP 15:28:46 12/28 mm_log warning: Retrying CRAM-MD5 authentication after 421 SMTP connection broken (command)

15:28:46.861985
IMAP DEBUG 15:28:46.861985: AUTH CRAM-MD5

15:28:46.862072
IMAP 15:28:46 12/28 mm_log warning: Retrying CRAM-MD5 authentication after 421 SMTP connection broken (command)

15:28:46.862154
IMAP DEBUG 15:28:46.862154: AUTH CRAM-MD5

15:28:46.862214
IMAP 15:28:46 12/28 mm_log warning: Retrying CRAM-MD5 authentication after 421 SMTP connection broken (command)
(Continue reading)

Mats Dufberg | 30 Dec 2007 21:22
Picon

Re: Does Alpine select correct character set?

Any reactions or reflections?

Mats

On Dec 26, 2007, 13:16 (+0100) Mats Dufberg <mats@...> wrote:

> I've installed Alpine 1.0 on FreeBSD 6.1. I have set 
> "display-character-set" to ISO-8859-1. "keyboard-character-set" and 
> "posting-character-set" were unset as recommended.
> 
> I found an email that was encoded with UTF-8 both in subject and in body. 
> All characters in subject and body fit in the ISO-8859-1 or ISO-8859-15 
> character sets. The email was correctly displayed.
> 
> I replied to the mail, and everything looked OK. I did not do any manual 
> changes to the the reply execept for the TO address, which I set to my 
> own. Since the characters fit into ISO-8859-1 I expected it to be sent 
> encoded in ISO-8859-1 (or ISO-8859-15), but it was actually encoded in 
> UTF-8, both subject and body. Is that correct?
> 
> I changed the settings so that posting-character-set was set to 
> ISO-8859-1. Now the mail was sent with the body encoded in ISO-8859-1. But 
> the subject was still encoded in UTF-8. Is that correct?
> 
> I'd like my email to be sent in ASCII (if all characters fit into ASCII), 
> or else in ISO-8859-1 (if all characters fit into ISO-8859-1), or else 
> UTF-8 as "fall back".
> 
> What is the design?

(Continue reading)

Dan Mahoney, System Admin | 31 Dec 2007 00:00

How to use a pipe (or a display filter) to permanently modify a message.

All,

At around the same time as I (constantly) requested the ability to pass 
sending-filters full-on (headers and all), to better enable GPG, there was 
another feature I asked people to look into, that I'd also like some input 
on.

I would like it very much if alpine could somehow permanently change a 
message by way of a filter or pipe.

In this way, for example...

* GPG-signed messages could be modified so that they're in plain-text 
format (but without having to re-run GPG every time the message is 
viewed).

* I could run messages through SpamAssassin for re-tagging (i.e. to 
re-prune old messages).  For this specific example, I have messages which 
have been "missed" by SpamAssassin, so they're easy to find by doing a 
search-all for the missing SA headers.

* I could add my own notes (in a pseudo-header) -- yes, I know there's 
"keywords" for this.

This is an ideal solution for things that cannot be done automatically at 
delivery-time.

However, I recognize that it's *fiercely* dependent on the mailbox format. 
I.e. modifying a 200MB mbox file is not quite as easy as modifying a 
one-file-per-message format folder.
(Continue reading)

Michael Hoffman | 31 Dec 2007 01:28
Picon
Favicon

PC-Alpine 1.00: adding e-mail addresses to personal dictionary

I've installed Alpine 1.00 and Aspell Win32 0.50-3 on Windows XP SP2.
Adding e-mail addresses to the personal dictionary does not seem to
work, in Alpine or Pico. Other words seem to work fine. Simplest steps
to reproduce:

1. Start Pico
2. Type nobody@...
3. Type ^T
4. Click Add to Dictionary
5. Type ^T

"nobody@..." will still be marked as spelled incorrectly

Any suggestions? Since my e-mail address appears in most of my messages,
it is a slight annoyance to always have it pointed out as spelled
incorrectly. I think I could add it in PC-Pine 4.64.
Michael Sartain | 31 Dec 2007 02:58
Favicon

Re: PC-Alpine 1.00: adding e-mail addresses to personal dictionary

On Sun, 30 Dec 2007, Michael Hoffman wrote:

> I've installed Alpine 1.00 and Aspell Win32 0.50-3 on Windows XP SP2.
> Adding e-mail addresses to the personal dictionary does not seem to
> work, in Alpine or Pico. Other words seem to work fine. Simplest steps
> to reproduce:
>
> 1. Start Pico
> 2. Type nobody@...
> 3. Type ^T
> 4. Click Add to Dictionary
> 5. Type ^T
>
> "nobody@..." will still be marked as spelled incorrectly
>
> Any suggestions? Since my e-mail address appears in most of my messages,
> it is a slight annoyance to always have it pointed out as spelled
> incorrectly. I think I could add it in PC-Pine 4.64.

I think it's failing because of the special characters; I've tried adding 
words without '.' and ' <at> ' on Win32 and it works fine. By default, the user 
dictionary is stored in 'c:\program files\aspell\en.pws' if you want to 
see what words actually do get added. There should be an error message 
that pops up saying the add to dictionary failed, but I just didn't get 
that code in initially. I'll try to submit a patch when I have time to 
write it up.

The aspell archive link with the entirely unhelpful reply below leads me 
to believe the special character thing is the problem and has been asked 
about a lot.
(Continue reading)

Michael Hoffman | 31 Dec 2007 05:49
Picon
Favicon

Re: PC-Alpine 1.00: adding e-mail addresses to personal dictionary

Michael Sartain wrote:

> I think it's failing because of the special characters; I've tried 
> adding words without '.' and ' <at> ' on Win32 and it works fine.

Same here.

> I poked around and found some information on the aspell language data 
> file which talks about special characters here.
> 
>  http://aspell.net/man-html/The-Language-Data-File.html#data%2dencoding

Alpine seems to be calling Aspell in a way where it checks things like 
xxx <at> yyy as whole words, which is not how Aspell works from the command-line:
Michael Hoffman | 31 Dec 2007 05:52
Picon
Favicon

Re: PC-Alpine 1.00: adding e-mail addresses to personal dictionary

Sorry for prematurely sent last message.

Michael Sartain wrote:

> I think it's failing because of the special characters; I've tried 
> adding words without '.' and ' <at> ' on Win32 and it works fine.

Same here.

> I poked around and found some information on the aspell language data 
> file which talks about special characters here.
> 
>  http://aspell.net/man-html/The-Language-Data-File.html#data%2dencoding

Alpine seems to be calling Aspell in a way where it checks things like
xxx <at> yyy as whole words, which is not how Aspell works from the 
command-line. Create a file test.txt with:

nobody@...
aaaa@...
cccccccc

If I run "%ProgramFiles%\aspell\bin\aspell" check test.txt, it only 
flags "cccccccc" as misspelled. If I use --mode=none, it will also flag 
aaaa and bbbbb, but not aaaa@... It sees that as three separate 
words.

Is Alpine doing the tokenization here? Can it be adjusted so that e-mail 
addresses are filtered out?
(Continue reading)


Gmane