Salvatore, > Hi, I use amavisd-new-2.2.1 with Maia/MySQL Server/Postfix/Clamv and > sometimes I have this error:
> A00301A195 1037884 Tue Jun 30 16:19:29 acco...@domain.com > (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=22278-02, > spam_scan FAILED: DBD::mysql::st execute failed: Got a packet bigger than > 'max_allowed_packet' bytes at /usr/sbin/amavisd line 3790, <GEN10> line > 36191. (in reply to end of DATA command)) > This error is caused from amavis or not ? How can I resolve this problem ? > Thanks. maybe you should increase the value for max_allowed_packet in your mysql configuration (my.cnf). Sometimes this value is a bit low; I mean that standard value is 1 MB. You can check this setting in phpmyadmin or manually at the mysql command prompt like mysql> SHOW VARIABLES; Look for max_allowed_packet. If the value is low you can increase the value in my.cnf. Example: [mysqld] max_allowed_packet=8M Further informations: http://dev.mysql.com/doc/refman/5.1/en/packet-too-large.html http://dev.mysql.com/doc/refman/5.0/en/show-variables.html -- Daniel ------------------------------------------------------------------------------ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/