Bug #2634
Mail server: can't send mail bigger than 50MB
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-mail-common | |||
Target version: | v6.5-beta3 | |||
Security class: | Resolution: | |||
Affected version: | v6.4-beta2 | NEEDINFO: | No |
Description
Step to reproduce the problem
- Got to Messages tab under Mail page (
MessageSizeMax
property ofpostfix
key) - Change "Queue message max size" option to something bigger than 100MB
- Try to send an email with an attachment bigger than 52MB
- The mail is not delivered and remains in queue
Extract from maillog:
Jan 23 11:37:17 stronzolo postfix/local[17516]: fatal: main.cf configuration error: mailbox_size_limit is smaller than message_size_limit Jan 23 11:37:18 stronzolo postfix/master[15187]: warning: process /usr/libexec/postfix/local pid 17516 exit status 1 Jan 23 11:37:18 stronzolo postfix/master[15187]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
Workaround
Increse mailbox_size_limit
variable value to an higher number or set it to 0 (no limit)
Associated revisions
/etc/postfix/main.cf template: set mailbox_size_limit to 0. Refs #2634
History
#1 Updated by Giacomo Sanchietti over 7 years ago
- Description updated (diff)
#2 Updated by Giacomo Sanchietti over 7 years ago
- Status changed from NEW to TRIAGED
- % Done changed from 0 to 20
#3 Updated by Giacomo Sanchietti over 7 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#4 Updated by Giacomo Sanchietti over 7 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#5 Updated by Giacomo Sanchietti over 7 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Packages in nethserver-testing:
- nethserver-mail-common-1.3.1-1.0gitbccef5e2.ns6.noarch.rpm
- Do all the step described above
- Make sure to set the limit at least 10MB higher than the bigger mail that will be sent
- Check no error occurs
#6 Updated by Filippo Carletti over 7 years ago
Set to 200MB in server-manager. Check:
- Change "Queue message max size" option to something bigger than 100MB
- config getprop postfix MessageSizeMax
200000000
- Try to send an email with an attachment bigger than 52MB
Sent a SMALL email of a few bytes, it remains in queue with the same error listed above:
Jan 29 16:39:36 nsrv64a2 postfix/local[7423]: fatal: main.cf configuration error: mailbox_size_limit is smaller than message_size_limit Jan 29 16:39:37 nsrv64a2 postfix/master[2432]: warning: process /usr/libexec/postfix/local pid 7423 exit status 1 Jan 29 16:39:37 nsrv64a2 postfix/master[2432]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
- The mail is not delivered and remains in queue
The mail remains in queue even if it's small:
[root@nsrv64a2 ~]# mailq -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 66C763C98* 1109 Wed Jan 29 16:37:34 filippo@nethesis.lan filippo@nsrv64a2.nethesis.lan
#7 Updated by Filippo Carletti over 7 years ago
The mail remains in queue even if it's small:
As soon as I updated to nethserver-mail-common-1.3.1-1.0gitbccef5e2.ns6.noarch the mail has been delivered.
Then I sent a big mail and it has been delivered.
#8 Updated by Filippo Carletti over 7 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
#10 Updated by Davide Principi over 7 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Released in nethserver/6.5/base
repository.