Decode mail_text field when using postgres
Antoine Nguyen
tonio at ngyn.org
Fri Jan 23 10:44:59 CET 2015
Hi all,
I'm using postgres and I'm encoutering issues when I try to decode the
mail_text field of a 'quarantine' table record (to display it in my
quarantine manager).
Since the type of this field is "bytea", its value is encoded so I can't
check what charset is used before trying to decode it with a
"convert_from" call.
Does someone know what is the recommended way to do this? Mark?
Thanks in advance,
Antoine Nguyen
http://modoboa.org/
More information about the amavis-users
mailing list