Hi Mark,

Thanks for the response, I'm seeing the following error in the maillog, any 
ideas?

TROUBLE in check_mail: quar+notif FAILED: temporarily unable to quarantine: 451 
4.5.0 Storing to sql db as mail_id 2i86bAAnI5jq failed: writing mail text to 
SQL failed: Error closing, flush: sql inserting text failed, sql exec: err=7, 
22021, DBD::Pg::st execute failed: ERROR:  invalid byte sequence for encoding 
"UTF8": 0xbb at (eval 46) 

Thanks
Jus




>>> Mark Martinec <[EMAIL PROTECTED]> 03/11/2006 11:19 >>>
Jus,

> Just wondering which type of encoding should I use when creating the
> postgresql database for the quarantine? At the moment I'm using UTF8
> but am not sure if this is the best type to use

Yes, UTF-8 would be most appropriate if using SQL logging (and Penpals),
for other tables and fields it does not matter:

README.sql:
CREATE TABLE msgs (
...
  from_addr  varchar(255)  DEFAULT '',  -- mail From header field,    UTF8
  subject    varchar(255)  DEFAULT '',  -- mail Subject header field, UTF8
)


Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to