Hi,
I get once in a while these messages in my logs, also for valid mails:
Howecome?
This database is @utf8 encoding, and dbmail.conf also states:
#
# encoding must match the database/table encoding.
# i.e. latin1, utf8
encoding = utf8
#
# messages with unknown encoding will be assumed to have
# default_msg_encoding
# i.e. iso8859-1, utf8
default_msg_encoding = latin1
<Log>
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[sql]
dbpgsql.c,db_query(+284): query failed [INSERT INTO dbmail_tofield
(physmessage_id, toname, toadd
r) VALUES (43008,'=?iso-8859-1?Q?','0<A2>ESC^H<98><A2>ESC^H')] :
[ERROR: invalid byte sequence for encoding "UTF8": 0xa2
HINT: This error can also happen if the byte sequence does not match
the encoding expected by the server, which is controlled by
"client_encoding".
]
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[message] dbmail-
message.c,insert_address_cache(+1088): insert tofield failed [INSERT
INTO dbmail_tofie
ld (physmessage_id, toname, toaddr) VALUES (43008,'=?iso-8859-1?
Q?','0<A2>ESC^H<98><A2>ESC^H')]
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[sql]
dbpgsql.c,db_query(+284): query failed [INSERT INTO dbmail_fromfield
(physmessage_id, fromname, f
romaddr) VALUES (43008,'Rik Akkermans','[EMAIL PROTECTED]')] :
[ERROR: current transaction is aborted, commands ignored until end
of transaction b
lock
]
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[message] dbmail-
message.c,insert_address_cache(+1088): insert fromfield failed
[INSERT INTO dbmail_fro
mfield (physmessage_id, fromname, fromaddr) VALUES (43008,'Rik
Akkermans','[EMAIL PROTECTED]')]
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[sql]
dbpgsql.c,db_query(+284): query failed [INSERT INTO dbmail_datefield
(physmessage_id, datefield)
VALUES (43008,'2007-08-16 15:56:40')] : [ERROR: current transaction
is aborted, commands ignored until end of transaction block
]
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[message] dbmail-
message.c,insert_field_cache(+1114): insert datefield failed [INSERT
INTO dbmail_datef
ield (physmessage_id, datefield) VALUES (43008,'2007-08-16 15:56:40')]
Aug 16 18:00:06 gamma dbmail-lmtpd[17013]: Error:[sql]
dbpgsql.c,db_query(+284): query failed [INSERT INTO
dbmail_subjectfield (physmessage_id, subjectf
ield) VALUES (43008,'jaarplanning')] : [ERROR: current transaction
is aborted, commands ignored until end of transaction block
]
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev