File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,43 @@ You can further customize `config.inc.php`. Please follow these instructions:
75751 . Customize your configuration file.
76761 . Provide your customized file back into the ` /var/www/html ` by using a volume mapping.
7777
78+ # Increase Upload size for attachments
79+ The attachment size is controlled by the PHP configuration. The file must be placed in ` /usr/local/etc/php/conf.d/ ` :
80+
81+ ```
82+ upload_max_filesize = 20M
83+ post_max_size = 20M
84+ ```
85+
86+ For Kubernetes using the HELM chart, create the following ConfigMap:
87+
88+ ```
89+ apiVersion: v1
90+ kind: ConfigMap
91+ metadata:
92+ name: mailserver-roundcube-upload
93+ data:
94+ upload.ini: |-
95+ upload_max_filesize = 10M
96+ post_max_size = 10M
97+ ```
98+
99+ Add the following lines to your HELM values.yaml file:
100+
101+ ```
102+ additionalContainerSpec:
103+ volumeMounts:
104+ - mountPath: /usr/local/etc/php/conf.d/upload.ini
105+ name: roundcube-upload-config
106+ subPath: upload.ini
107+ additionalPodSpec:
108+ volumes:
109+ - name: roundcube-upload-config
110+ configMap:
111+ name: mailserver-roundcube-upload
112+ ```
113+
114+
78115# Issues
79116This Docker image is mature and supports my own mailserver in production. There are no known issues at the moment.
80117
You can’t perform that action at this time.
0 commit comments