views:

18

answers:

2

Is it possible to limit the size of attachment that can be send or received in qmail. Its to stop mail forwardings with large sizes amoung employees.

A: 

Look in /etc/apache2/modules.d/70_mod_php.conf and see if you have LimitRequestBody configuration available.

RandyMorris
he asked for the settings of qmail, not apache.
Erik
+1  A: 

The maximum message size for emails in a qmail-installation is normally defined by the following file:

./qmail/control/databytes

The size is defined in bytes. Example:

50000000Bytes = 48,828Kb = 47,68MB

Erik