A NOTE has been added to this issue.
======================================================================
http://dbmail.org/mantis/view.php?id=573
======================================================================
Reported By: Niedzwiedz
Assigned To:
======================================================================
Project: DBMail
Issue ID: 573
Category: general delivery
Reproducibility: unable to reproduce
Severity: minor
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 18-Apr-07 15:13 CEST
Last Modified: 19-Apr-07 10:49 CEST
======================================================================
Summary: Wrong body encoding?
Description:
When I send a message contains polish characters (especially as plain text)
in a body (
&http://dbmail.org/mantis/view.php?id=347;&http://dbmail.org/mantis/view.php?id=263;&http://dbmail.org/mantis/view.php?id=322;
) receive
======================================================================
----------------------------------------------------------------------
Niedzwiedz - 18-Apr-07 15:23
----------------------------------------------------------------------
Sorry for description - something cuts it down .
Sent message looks:
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=iso-8859-2;
reply-type=original
Content-Transfer-Encoding: 8bit
&http://dbmail.org/mantis/view.php?id=263;&http://dbmail.org/mantis/view.php?id=322;
but received:
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=iso-8859-2;
reply-type=original
Content-Transfer-Encoding: quoted-printable
=C2=B6=C3=A6=C2=B3=20
It happens when message is sending via dbmail-smtp or dbmail-lmtp. If
message is copied via IMAP then looks ok.
----------------------------------------------------------------------
paul - 18-Apr-07 19:58
----------------------------------------------------------------------
I'm unable to reproduce the reported issue.
Please provide more details regarding your setup: esp the gmime version.
Aaron: testing with the sent.eml the sieve layer is causing segfaults.
With sieve=no all works well. The user doesn't have any sieve scripts.
libsieve-2.2.3
==29107== Invalid read of size 1
==29107== at 0x401E2DD: strcmp (mc_replace_strmem.c:341)
==29107== by 0x424814F: libsieve_eval (in /usr/lib/libsieve.so.1.0.5)
==29107== by 0x4247B82: libsieve_eval (in /usr/lib/libsieve.so.1.0.5)
==29107== by 0x42497D2: sieve2_execute (in /usr/lib/libsieve.so.1.0.5)
==29107== by 0x806D3B7: sort_process (sortsieve.c:762)
==29107== by 0x806BF59: sort_and_deliver (sort.c:86)
==29107== by 0x8069990: insert_messages (pipe.c:589)
==29107== by 0x8051845: main (main.c:341)
==29107== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==29107==
==29107== Process terminating with default action of signal 11 (SIGSEGV)
==29107== Access not within mapped region at address 0x0
==29107== at 0x401E2DD: strcmp (mc_replace_strmem.c:341)
==29107== by 0x424814F: libsieve_eval (in /usr/lib/libsieve.so.1.0.5)
==29107== by 0x4247B82: libsieve_eval (in /usr/lib/libsieve.so.1.0.5)
==29107== by 0x42497D2: sieve2_execute (in /usr/lib/libsieve.so.1.0.5)
==29107== by 0x806D3B7: sort_process (sortsieve.c:762)
==29107== by 0x806BF59: sort_and_deliver (sort.c:86)
==29107== by 0x8069990: insert_messages (pipe.c:589)
==29107== by 0x8051845: main (main.c:341)
----------------------------------------------------------------------
Niedzwiedz - 18-Apr-07 21:20
----------------------------------------------------------------------
I can create a mail account for you to test. Please tell me if ( and where
) I can send login data. I would prepare test message and you could see
result of sending it. What do you think about it?
MySQL - Ver 5.0.24a-log for slackware-linux-gnu on i486 (Source
distribution)
character sets and collation utf8
gmime-2.2.6 ( before 2.2.3 )
dbmail-2.2.4 ( before 2.2.1 )
# $Id: dbmail.conf 2380 2006-11-18 13:35:06Z paul
[DBMAIL]
driver = mysql
authdriver = sql
host = localhost
sqlport = 3306
sqlsocket = XXXXXXXXXXXXXmysql.sock
user = XXXXXXXXXXXXX
pass = XXXXXXXXXXXXX
db = XXXXXXXXXXXXX
table_prefix = dbmail_
encoding = utf8
postmaster = [EMAIL PROTECTED]
sendmail = /usr/sbin/sendmail
TRACE_SYSLOG = 2
TRACE_STDERR = 1
EFFECTIVE_USER = XXXXXXXX
EFFECTIVE_GROUP = XXXXXXXX
BINDIP = *
NCHILDREN = 2
MAXCHILDREN = 10
MINSPARECHILDREN = 2
MAXSPARECHILDREN = 4
MAXCONNECTS = 10000
MAX_ERRORS = 500
TIMEOUT = 300
RESOLVE_IP = yes
logfile = XXXXXXXXXXdbmail.log
errorlog = XXXXXXXXXXXXXdbmail.err
pid_directory = /var/run/dbmail
state_directory = /var/run/dbmail
[SMTP]
# In fact, there isn't anything here by default.
[LMTP]
PORT = 24
[POP]
PORT = 110
POP_BEFORE_SMTP = no
[IMAP]
PORT = 143
TIMEOUT = 4000
IMAP_BEFORE_SMTP = no
[SIEVE]
PORT = 20000
[LDAP]
PORT = 389
VERSION = 3
HOSTNAME = ldap
BASE_DN = ou=People,dc=mydomain,dc=com
BIND_DN =
BIND_PW =
SCOPE = SubTree
USER_OBJECTCLASS = top,account,dbmailUser
FORW_OBJECTCLASS = top,account,dbmailForwardingAddress
CN_STRING = uid
FIELD_PASSWD = userPassword
FIELD_UID = uid
FIELD_NID = uidNumber
MIN_NID = 10000
MAX_NID = 15000
FIELD_CID = gidNumber
MIN_CID = 10000
MAX_CID = 15000
FIELD_MAIL = mail
FIELD_QUOTA = mailQuota
FIELD_FWDTARGET = mailForwardingAddress
[DELIVERY]
SIEVE = no
SUBADDRESS = yes
SIEVE_VACATION = yes
SIEVE_NOTIFY = yes
SIEVE_DEBUG = no
AUTO_NOTIFY = no
AUTO_REPLY = no
#AUTO_NOTIFY_SUBJECT =
#AUTO_NOTIFY_SENDER =
----------------------------------------------------------------------
aaron - 18-Apr-07 22:36
----------------------------------------------------------------------
Moving the Sieve issue to a separate bug. Sieve doesn't touch the
encodings, especially not the body encodings.
----------------------------------------------------------------------
jasb - 19-Apr-07 01:14
----------------------------------------------------------------------
This may have something to do with http://dbmail.org/mantis/view.php?id=550 that
you said it happen with my
message also, right Paul?
----------------------------------------------------------------------
Niedzwiedz - 19-Apr-07 10:47
----------------------------------------------------------------------
Once again.
I use Outlook Express 6 and WinXP and IMAP connection. After sending a
message to myself ( using plain text format ) contains polish characters
in a subject and a body, the message ( attached file from INBOX:
received.eml ) was corrupt. The subject looks ok but all polish characters
in the body were changed. The same message which was copied by Outlook (
during sending process ) to folder
----------------------------------------------------------------------
Niedzwiedz - 19-Apr-07 10:49
----------------------------------------------------------------------
Once again.
I use Outlook Express 6 and WinXP and IMAP connection. After sending a
message to myself ( using plain text format ) contains polish characters
in a subject and a body, the message ( attached file from INBOX:
received.eml ) was corrupt. The subject looks ok but all polish characters
in the body were changed. The same message which was copied by Outlook (
during sending process ) to folder SENT ( attached sent.eml ) looks ok.
I
Issue History
Date Modified Username Field Change
======================================================================
18-Apr-07 15:13 Niedzwiedz New Issue
18-Apr-07 15:22 Niedzwiedz Note Added: 0002052
18-Apr-07 15:23 Niedzwiedz Note Edited: 0002052
18-Apr-07 15:27 Niedzwiedz File Added: sent.eml
18-Apr-07 15:27 Niedzwiedz File Added: received.eml
18-Apr-07 19:58 paul Note Added: 0002053
18-Apr-07 19:58 paul Severity major => minor
18-Apr-07 19:58 paul Reproducibility always => unable to
reproduce
18-Apr-07 21:20 Niedzwiedz Note Added: 0002054
18-Apr-07 21:38 nethzt Issue Monitored: nethzt
18-Apr-07 22:36 aaron Note Added: 0002055
19-Apr-07 01:14 jasb Note Added: 0002056
19-Apr-07 01:15 jasb Issue Monitored: jasb
19-Apr-07 10:47 Niedzwiedz Note Added: 0002057
19-Apr-07 10:49 Niedzwiedz Note Added: 0002058
======================================================================
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev