3

I have set up a Sympa list serv server and everything is working fine for the most part. One issue that I am running into is sending files over ~580 KB in size (just a normal .txt file) are not going through. I am getting the following error.

Impossible to distribute your message for list 'list-name' because of an internal server error.

I have verified that my "Maximum message size (max_size)" setting in Sympa is get to 5 MB so that shouldn't be the problem. If I try sending the same .txt file after taking out a few lines, and the file size is ~530 KB, then it works just fine. Any help would be greatly appreciated.

2 Answers2

3

Got it fixed.

It was a problem with the database not being able to handle the packet size. I had to manually edit the /etc/my.cnf file and bump up the max_allowed_packets size and then restart mysqld.

0

I'd say this has something to do with php settings variables upload_max_filesize and memory_limitphp. They're normally somewhere in php.ini, depending on your OS and Webserver.

Jasper
  • 1,087
  • 10
  • 10
  • Sympa is written in Perl, not PHP. I don't know anything about upload limits in Perl, but I'd be willing to guess you're right about there being an upload size limit somewhere. – WheresAlice Aug 05 '10 at 12:36
  • Oh, hmm, you're right, I'm confusing sympa and phplist. – Jasper Aug 05 '10 at 12:46
  • It could be, but the only real "max file size limit" setting I see is the one I mentioned in the original post and it is set to 5 MB. The entire email including the .txt file attachment is less than 1 MB. –  Aug 05 '10 at 13:13