Hi,
I try to migrate to dbmail-pgsql 1.2.1-1 on Debian unstable. I installed
and configured dbmail without any problems. During moving my Maildir to
dbmail I got such error messages for some mails:
Dec 26 23:39:20 hurd postgres[19187]: [3] ERROR: Invalid UNICODE
character sequence found (0
Hi,
I try to migrate to dbmail-pgsql 1.2.1-1 on Debian unstable. I installed
and configured dbmail without any problems. During moving my Maildir to
dbmail I got such error messages for some mails:
Dec 26 23:39:20 hurd postgres[19187]: [3] ERROR: Invalid UNICODE
character sequence found (0
Funny, since dbmail developers also use dbmail for their mailboxes, they
probably did not receive my bug report (it also contains non-UNICODE
characters). ;)
--
Best regards, Sergey Spiridonov
A: No
Q: Should I quote below my post?
Micah wrote:
If you're referring to your last post,
Yes, I was referring to my last post.
> I received it, and I use dbmail.
What encoding do you use for the database? I use unicode and when I try
to insert my message with
$ cat | dbmail-smtp -u
the message is not inserted, and I got
Micah wrote:
dbmail 1.2, with latin1 encoding.
Oh, I see. The problem is that unicode does not include all necessary
characters. Hopefully latin1 does. I'll give it a try.
To dbmail developers:
Storing messages in DBMS without converting them to the database
encoding is not nice, because it
Sergey V. Spiridonov wrote:
Dbmail needs to fetch messages, convert them to the encoding
of the search string, and then search.
This statement is probably wrong. Anyway, the question is still here. Is
it good to store messages in original encoding, or is it better to
convert all texts to
John Hansen wrote:
I _am_ using postgresql
Db is created with unicode as default encoding.
You should use latin1(). Dbmail does not care
about encodings. It stores emails as it is. If it will get utf-8
it will try to save utf-8, if it will get cp1251, it will try to
save as cp1251. This is
Matthias Guenther wrote:
I have some mails in my old file /var/mail/username.
How can I get this mails into dbmail?
I did it in the following way (no idea, if it is the easiest way):
I installed another imap server on the same machine on some non-standrad
port, than I used imap client and conn