You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Dmitry (JIRA)" <se...@james.apache.org> on 2011/04/21 21:39:05 UTC

[jira] [Issue Comment Edited] (JAMES-1222) JAMES hangs on mails with 8-bit characters in headers

    [ https://issues.apache.org/jira/browse/JAMES-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022881#comment-13022881 ] 

Dmitry edited comment on JAMES-1222 at 4/21/11 7:37 PM:
--------------------------------------------------------

I use JPA provider, PostgreSQL as database.

Below is the row e-mail, that reproduces the problem, as it is shown through IMAP.
In JAMES database, in the corresponding rows of james_mail_header.header_value I also see the question marks.

=========================== begin ===========================
Return-Path: <ro...@user.z8.ru>
Received: from bmx1.z8.ru ([80.93.62.39])
          by SERVER. (JAMES SMTP Server ) with ESMTP ID 11202247
          for <an...@piterr.ru>;
          Sun, 3 Apr 2011 19:13:35 +0400 (GST)
Received: from titan.phst ([192.168.6.81] helo=titan.z8.ru)
	by bmx1.z8.ru with esmtp (Exim 4.71 (FreeBSD))
	(envelope-from <ro...@user.z8.ru>)
	id 1Q6OzY-000ATS-Ps
	for anpit@piterr.ru; Sun, 03 Apr 2011 19:13:29 +0400
Received: (from roost@localhost)
	by titan.z8.ru (8.14.3/8.13.8/Submit) id p33FDRVO012323;
	Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
	(envelope-from roost)
Date: Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
Message-Id: <20...@titan.z8.ru>
To: anpit@piterr.ru
Subject: Registration at ????????? ????? ( ????????? ????? )
X-PHP-Script: nevaforum.ru/index.php for 92.100.15.20, 92.100.15.20
Content-type: text/plain; charset="windows-1251"
From: "????????? ?????" <ad...@nevaforum.ru>
X-Priority: 3
X-Mailer: IPB PHP Mailer
X-SA-Exim-Connect-IP: 192.168.6.81
X-SA-Exim-Mail-From: roost@user.z8.ru
X-SA-Exim-Scanned: No (on bmx1.z8.ru); SAEximRunCond expanded to false
X-Antivirus: avast! (VPS 110421-1, 21.04.2011), Inbound message
X-Antivirus-Status: Clean


anpit,
Это письмо отправлено из http://nevaforum.ru/index.php.

Вы получили это письмо, так как этот e-mail адрес
был использован при регистрации на форуме.
Если Вы не регистрировались на этом форуме, просто
проигнорируйте это письмо и удалите его. Вы больше
не получите такого письма.

------------------------------------------------
Инструкция по активации
------------------------------------------------

Благодарим за регистрацию.
Мы требуем от Вас "подтверждения" Вашей регистрации, для проверки того,
что введённый Вами e-mail адрес - реальный. Это требуется для защиты от
нежелательных злоупотреблений и спама.

Для активации Вашего аккаунта, зайдите по следующей ссылке:

xxxxxxxxxxxxxxxxxxxxxxxx

(Пользователям AOL E-mail, необходимо скопировать эту ссылку и вставить в адресную строку
браузера).

------------------------------------------------
Не сработало?
------------------------------------------------

Если у Вам ничего не получилось с активацией аккаунта, зайдите
по следующей ссылке:

http://nevaforum.ru/index.php?act=new&CODE=05

Там Вы должны будете ввести ID пользователя и ключ подтверждения. Ниже указаны эти данные:

xxxxxxxxxxxxxxxxxxxxxxxx

Произведите действия Копировать/Вставить или введите эти данные вручную, в соответствующие
поля.

Если и при этих действиях ничего не получилось, возможно Ваш аккаунт удалён.
В этом случае, обратитесь к Администратору, для разрешения проблемы.

Благодарим Вас за регистрацию!

С уважением,

Администрация Питерский форум.
http://nevaforum.ru/index.php

=========================== end ============================

      was (Author: rgstinboxru):
    I use JPA provider, PostgreSQL as database.

Below is the row e-mail, that reproduces the problem.
In JAMES database, in the corresponding rows of james_mail_header.header_value I also see the question marks.

=========================== begin ===========================
Return-Path: <ro...@user.z8.ru>
Received: from bmx1.z8.ru ([80.93.62.39])
          by SERVER. (JAMES SMTP Server ) with ESMTP ID 11202247
          for <an...@piterr.ru>;
          Sun, 3 Apr 2011 19:13:35 +0400 (GST)
Received: from titan.phst ([192.168.6.81] helo=titan.z8.ru)
	by bmx1.z8.ru with esmtp (Exim 4.71 (FreeBSD))
	(envelope-from <ro...@user.z8.ru>)
	id 1Q6OzY-000ATS-Ps
	for anpit@piterr.ru; Sun, 03 Apr 2011 19:13:29 +0400
Received: (from roost@localhost)
	by titan.z8.ru (8.14.3/8.13.8/Submit) id p33FDRVO012323;
	Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
	(envelope-from roost)
Date: Sun, 3 Apr 2011 19:13:27 +0400 (MSD)
Message-Id: <20...@titan.z8.ru>
To: anpit@piterr.ru
Subject: Registration at ????????? ????? ( ????????? ????? )
X-PHP-Script: nevaforum.ru/index.php for 92.100.15.20, 92.100.15.20
Content-type: text/plain; charset="windows-1251"
From: "????????? ?????" <ad...@nevaforum.ru>
X-Priority: 3
X-Mailer: IPB PHP Mailer
X-SA-Exim-Connect-IP: 192.168.6.81
X-SA-Exim-Mail-From: roost@user.z8.ru
X-SA-Exim-Scanned: No (on bmx1.z8.ru); SAEximRunCond expanded to false
X-Antivirus: avast! (VPS 110421-1, 21.04.2011), Inbound message
X-Antivirus-Status: Clean


anpit,
Это письмо отправлено из http://nevaforum.ru/index.php.

Вы получили это письмо, так как этот e-mail адрес
был использован при регистрации на форуме.
Если Вы не регистрировались на этом форуме, просто
проигнорируйте это письмо и удалите его. Вы больше
не получите такого письма.

------------------------------------------------
Инструкция по активации
------------------------------------------------

Благодарим за регистрацию.
Мы требуем от Вас "подтверждения" Вашей регистрации, для проверки того,
что введённый Вами e-mail адрес - реальный. Это требуется для защиты от
нежелательных злоупотреблений и спама.

Для активации Вашего аккаунта, зайдите по следующей ссылке:

xxxxxxxxxxxxxxxxxxxxxxxx

(Пользователям AOL E-mail, необходимо скопировать эту ссылку и вставить в адресную строку
браузера).

------------------------------------------------
Не сработало?
------------------------------------------------

Если у Вам ничего не получилось с активацией аккаунта, зайдите
по следующей ссылке:

http://nevaforum.ru/index.php?act=new&CODE=05

Там Вы должны будете ввести ID пользователя и ключ подтверждения. Ниже указаны эти данные:

xxxxxxxxxxxxxxxxxxxxxxxx

Произведите действия Копировать/Вставить или введите эти данные вручную, в соответствующие
поля.

Если и при этих действиях ничего не получилось, возможно Ваш аккаунт удалён.
В этом случае, обратитесь к Администратору, для разрешения проблемы.

Благодарим Вас за регистрацию!

С уважением,

Администрация Питерский форум.
http://nevaforum.ru/index.php

=========================== end ============================
  
> JAMES hangs on mails with 8-bit characters in headers
> -----------------------------------------------------
>
>                 Key: JAMES-1222
>                 URL: https://issues.apache.org/jira/browse/JAMES-1222
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0-M3
>         Environment: Windows XP
>            Reporter: Dmitry
>            Assignee: Norman Maurer
>
> RFC 2822 and RFC 2047 require that all characters in headers with codes above 127 must be encoded. But more then 10 percent of real e-mails have 8-bit-characters in headers (not only spam! very popular forum engines send 8-bit headers in mails). 
> If JAMES has received such mails with 8-bit characters in headers and they are on server, I can not get ALL mails (RFC compliant and not compliant) through POP3: error 0x800CCC19 in Outlook Express (timeout) or error 0x8004210A in MS Outlook ('The operation timed out waiting for a response from the receiving (POP) server...') 
> Through IMAP I get all mails. Messages that are not compliant to RFC have question marks in their headers in IMAP folders.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org