Line 448: |
Line 448: |
| | | |
| ====Set max email size==== | | ====Set max email size==== |
− | Restrict the size of email messages that can pass through your mail server
| + | There are several components involved in sending email on a SME server. Each component has a size limit that may affect an email message that passes through the server. |
− | config setprop qmail MaxMessageSize x
| + | {| width="100%" border="1" cellpadding="5" cellspacing="0" |
− | signal-event email-update | + | ! Subsystem |
− | | + | ! Function |
− | where x is in bytes, eg 6000000 = 6 MB
| + | ! Default Limit |
| + | ! Command to change size |
| + | ! Notes |
| + | |- |
| + | |qmail |
| + | |Delivers email to local mailboxes and to remote servers |
| + | |15000000 |
| + | |config setprop qmail MaxMessageSize xx000000 |
| + | |Value is in BYTES. 15000000 equals approximately 15MB |
| + | |- |
| + | |clamav |
| + | |Used to scan emails and attachments |
| + | |15M |
| + | |config setprop clamav MaxFileSize 15M |
| + | |value includes human-readable abbreviations. "15M" equlas 15 MegaBytes. |
| + | |- |
| + | |qpsmtpd |
| + | |The clamav plugin to qpsmtpd is called with a specified size limit. |
| + | |25000000 |
| + | |config setprop qpsmtpd MaxScannerSize xx000000 |
| + | |Value is in BYTES.<br>Question: does this value override the setting of 'MaxFileSize', or will the smaller value prevail? |
| + | |- |
| + | |php |
| + | |The php maximum file upload size will determine the largest file you can attach to an email message using horde (or any other php email client) |
| + | |10M |
| + | |config setprop php UploadMaxFilesize 10M |
| + | | |
| + | |- |
| + | |} |
| | | |
| ====Add the admin user as an administrator for Horde==== | | ====Add the admin user as an administrator for Horde==== |