mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #1220] Cannot attach file to email #996
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#996
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svandecappelle on GitHub (Aug 24, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1220
Impacted versions
Steps to reproduce
Send a mail and add an attachement file. (tested file is 400 octets sized)
Current behavior
It generate an error 'file too big' (max size is 2048).
Expected behavior
File added and uploaded on email.
Video/Screenshot link (optional)
http://imgur.com/a/A5pxq
@tonioo commented on GitHub (Aug 25, 2017):
You can change the max. size allowed for uploaded files. Go to Modoboa > Parameters > Webmail.
@svandecappelle commented on GitHub (Aug 25, 2017):
But in this case the file I tried to upload was lower than the parameter.
@tonioo commented on GitHub (Sep 17, 2017):
@svandecappelle Have you tried to change the max value?
@VladimirKiev commented on GitHub (Feb 10, 2020):
Hi. I have the same problem. Changed the value to a larger one (20480) - writes the same error but with the new value (Attachment is too big (limit: 20480).
Please tell me where you can change this value to fix the error ...
@tonioo commented on GitHub (Feb 10, 2020):
@VladimirKiev Try with something like this: 20M
@VladimirKiev commented on GitHub (Feb 10, 2020):
New error: Failed to save attachment: [Errno 2] No such file or directory: '/srv/modoboa/instance/media/webmail/tmp05zWR1'
@VladimirKiev commented on GitHub (Feb 11, 2020):
I also checked the web_utils.py file as an example here
github.com/modoboa/modoboa@9f2ea29a9f/modoboa/lib/web_utils.py (L117)changed the values of client_max_body_size on nginx.conf. nothing helped. Your help is very necessary ...
@tonioo commented on GitHub (Feb 12, 2020):
@VladimirKiev Have you checked if the
/srv/modoboa/instance/media/webmail/folder exists?@VladimirKiev commented on GitHub (Feb 13, 2020):
There is /srv/modoboa/instance/media/modoboa_webmail folder...
@ikatheria commented on GitHub (Jun 20, 2022):
Modoboa stopped sending the attachment emails suddenly. Aamvis status
Jun 20 20:01:04 mailoddy.com amavis[124711]: (124711-02) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:01:04 mailoddy.com amavis[124711]: (124711-02) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:09:23 mailoddy.com amavis[124711]: (124711-03) (!)ESMTP ABORTING: timed out during waiting for input from client
Jun 20 20:09:23 mailoddy.com amavis[124711]: (124711-03) (!)ESMTP: NOTICE: ABORTING the session: timed out during waiting for input from client
Jun 20 20:10:41 mailoddy.com amavis[124711]: (124711-05) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:10:41 mailoddy.com amavis[124711]: (124711-05) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270.
without attachment emails are working fine.
@ikatheria commented on GitHub (Jun 20, 2022):
/var/log/mail.log
Jun 20 20:15:20 mailoddy postfix/postscreen[127674]: CONNECT from [45.125.65.159]:63230 to [74.208.54.131]:25
Jun 20 20:15:26 mailoddy postfix/postscreen[127674]: PASS NEW [45.125.65.159]:63230
Jun 20 20:15:26 mailoddy postfix/smtpd[127679]: warning: hostname srv-45-125-65-159.serveroffer.net does not resolve to address 45.125.65.159: Name or service not known
Jun 20 20:15:26 mailoddy postfix/smtpd[127679]: connect from unknown[45.125.65.159]
Jun 20 20:15:28 mailoddy postfix/smtps/smtpd[125159]: lost connection after DATA (6 bytes) from unknown[103.253.174.76]
Jun 20 20:15:28 mailoddy postfix/smtps/smtpd[125159]: disconnect from unknown[103.253.174.76] ehlo=1 auth=1 mail=1 rcpt=1 data=0/1 commands=4/5
Jun 20 20:15:28 mailoddy amavis[124711]: (124711-08) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:15:28 mailoddy amavis[124711]: (124711-08) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:15:29 mailoddy postfix/smtpd[127679]: warning: unknown[45.125.65.159]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Jun 20 20:15:29 mailoddy postfix/smtpd[127679]: disconnect from unknown[45.125.65.159] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 20 20:15:34 mailoddy postfix/postscreen[127674]: CONNECT from [141.98.10.203]:54375 to [74.208.54.131]:25
Jun 20 20:15:36 mailoddy postfix/postscreen[127674]: CONNECT from [141.98.10.24]:56222 to [74.208.54.131]:25
Jun 20 20:15:40 mailoddy postfix/postscreen[127674]: PASS NEW [141.98.10.203]:54375
Jun 20 20:15:40 mailoddy postfix/smtpd[127679]: connect from unknown[141.98.10.203]
Jun 20 20:15:42 mailoddy postfix/postscreen[127674]: PASS NEW [141.98.10.24]:56222
Jun 20 20:15:42 mailoddy postfix/smtpd[127682]: connect from unknown[141.98.10.24]
Jun 20 20:15:43 mailoddy postfix/smtpd[127679]: warning: unknown[141.98.10.203]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Jun 20 20:15:43 mailoddy postfix/smtpd[127679]: disconnect from unknown[141.98.10.203] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 20 20:15:45 mailoddy postfix/smtpd[127682]: warning: unknown[141.98.10.24]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Jun 20 20:15:45 mailoddy postfix/smtpd[127682]: disconnect from unknown[141.98.10.24] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 20 20:16:14 mailoddy postfix/smtps/smtpd[125159]: warning: hostname 174.253.103.in-addr.tripleplay.in does not resolve to address 103.253.174.76: Name or service not known
Jun 20 20:16:14 mailoddy postfix/smtps/smtpd[125159]: connect from unknown[103.253.174.76]
@ikatheria commented on GitHub (Jun 20, 2022):
/var/log/mail.log
Jun 20 20:15:20 mailoddy postfix/postscreen[127674]: CONNECT from [45.125.65.159]:63230 to [74.208.54.131]:25
Jun 20 20:15:26 mailoddy postfix/postscreen[127674]: PASS NEW [45.125.65.159]:63230
Jun 20 20:15:26 mailoddy postfix/smtpd[127679]: warning: hostname srv-45-125-65-159.serveroffer.net does not resolve to address 45.125.65.159: Name or service not known
Jun 20 20:15:26 mailoddy postfix/smtpd[127679]: connect from unknown[45.125.65.159]
Jun 20 20:15:28 mailoddy postfix/smtps/smtpd[125159]: lost connection after DATA (6 bytes) from unknown[103.253.174.76]
Jun 20 20:15:28 mailoddy postfix/smtps/smtpd[125159]: disconnect from unknown[103.253.174.76] ehlo=1 auth=1 mail=1 rcpt=1 data=0/1 commands=4/5
Jun 20 20:15:28 mailoddy amavis[124711]: (124711-08) (!)ESMTP ABORTING: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:15:28 mailoddy amavis[124711]: (124711-08) (!)ESMTP: NOTICE: ABORTING the session: Connection broken during DATA: at (eval 107) line 270.
Jun 20 20:15:29 mailoddy postfix/smtpd[127679]: warning: unknown[45.125.65.159]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Jun 20 20:15:29 mailoddy postfix/smtpd[127679]: disconnect from unknown[45.125.65.159] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 20 20:15:34 mailoddy postfix/postscreen[127674]: CONNECT from [141.98.10.203]:54375 to [74.208.54.131]:25
Jun 20 20:15:36 mailoddy postfix/postscreen[127674]: CONNECT from [141.98.10.24]:56222 to [74.208.54.131]:25
Jun 20 20:15:40 mailoddy postfix/postscreen[127674]: PASS NEW [141.98.10.203]:54375
Jun 20 20:15:40 mailoddy postfix/smtpd[127679]: connect from unknown[141.98.10.203]
Jun 20 20:15:42 mailoddy postfix/postscreen[127674]: PASS NEW [141.98.10.24]:56222
Jun 20 20:15:42 mailoddy postfix/smtpd[127682]: connect from unknown[141.98.10.24]
Jun 20 20:15:43 mailoddy postfix/smtpd[127679]: warning: unknown[141.98.10.203]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Jun 20 20:15:43 mailoddy postfix/smtpd[127679]: disconnect from unknown[141.98.10.203] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 20 20:15:45 mailoddy postfix/smtpd[127682]: warning: unknown[141.98.10.24]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Jun 20 20:15:45 mailoddy postfix/smtpd[127682]: disconnect from unknown[141.98.10.24] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 20 20:16:14 mailoddy postfix/smtps/smtpd[125159]: warning: hostname 174.253.103.in-addr.tripleplay.in does not resolve to address 103.253.174.76: Name or service not known
Jun 20 20:16:14 mailoddy postfix/smtps/smtpd[125159]: connect from unknown[103.253.174.76]