cdpxe / WendzelNNTPd

A usable and IPv6-ready Usenet-server (NNTP daemon). It is portable (Linux/*BSD/*nix), supports AUTHINFO authentication, TLS (SNNTP/NNTPS), contains ACL as well as role based ACL and provides "invisible" newsgroups. It can run on MySQL and SQLite backends.
https://cdpxe.github.io/WendzelNNTPd/
Other
58 stars 8 forks source link

Maximum filesize for attachments #2

Closed pintman closed 8 years ago

pintman commented 8 years ago

Is there any maximum size for attachments? 10 MB seem to work very well. 20 MB will accepted but are not shown. No error in the logs.

cdpxe commented 8 years ago

Yes. see ./src/include/wendzelnntpdpath.h Change the value of MAX_POSTSIZE which by default should accept 20_1024_1024 bytes. Afterwards re-compile the server and re-run make install. Note: never tested. Maybe causes problems w/ MySQL or SQlite.

cdpxe commented 8 years ago

2nd update: I added new code to the repository. Please download the new version that now allows to set the value max. allowed posting size in the configuration file via

max-size-of-postings 20971520

(the value must be in bytes).

Please let me know whether this works on your system.

Thanks, St.

pintman commented 8 years ago

I tried it on a local machine with up to 50 MB in a MySQL-DB which seems to work. :)

Thanks for the new option and the fast support.