[GH-ISSUE #1706] cannot send/reply to emails #1342

Closed
opened 2026-02-27 11:16:37 +03:00 by kerem · 16 comments
Owner

Originally created by @tonyguadagno on GitHub (Mar 22, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1706

hi, i have just installed modoboa 1.13.1 using the auto installer on centos 7 with nginx. I have it working and receiving emails. i just noticed that i cannot compose or reply to emails using the web client. For example, if i receive an email and hit reply (or reply all), i then add text to the body and hit send. immediately, the from and to fields go blank and nothing else happens. the email never sends. I have tried this with both current chrome and current firefox.....any ideas

thanks in advance

Originally created by @tonyguadagno on GitHub (Mar 22, 2019). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1706 hi, i have just installed modoboa 1.13.1 using the auto installer on centos 7 with nginx. I have it working and receiving emails. i just noticed that i cannot compose or reply to emails using the web client. For example, if i receive an email and hit reply (or reply all), i then add text to the body and hit send. immediately, the from and to fields go blank and nothing else happens. the email never sends. I have tried this with both current chrome and current firefox.....any ideas thanks in advance
kerem closed this issue 2026-02-27 11:16:37 +03:00
Author
Owner

@tonioo commented on GitHub (Mar 25, 2019):

@tonyguadagno Have you checked all issues related to CentOS and SELinux?

<!-- gh-comment-id:476240089 --> @tonioo commented on GitHub (Mar 25, 2019): @tonyguadagno Have you checked all issues related to CentOS and SELinux?
Author
Owner

@tonyguadagno commented on GitHub (Mar 25, 2019):

i think it is not selinux, there seems to be no alerts in the logs:

 sudo sealert -a /var/log/audit/audit.log
100% done
found 0 alerts in /var/log/audit/audit.log

as for the os logging, all i see is this, and I am not sure it is indicating anything

Mar 25 11:20:00 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 5461|app: 1|req: 372/634] 69.207.180.150 () {56 vars in 1531 bytes} [Mon Mar 25 11:20:00 2019] POST /webmail/?action=compose => generated 37 bytes in 104 msecs (HTTP/1.1 500) 5 headers in 172 bytes (1 switches on core 0)
Mar 25 11:20:01 ffcplmail systemd: Created slice User Slice of root.
Mar 25 11:20:01 ffcplmail systemd: Started Session 12209 of user root.
Mar 25 11:20:01 ffcplmail systemd: Started Session 12208 of user root.
Mar 25 11:20:01 ffcplmail systemd: Created slice User Slice of opendkim.
Mar 25 11:20:01 ffcplmail systemd: Started Session 12210 of user opendkim.
Mar 25 11:20:01 ffcplmail systemd: Created slice User Slice of vmail.
Mar 25 11:20:01 ffcplmail systemd: Started Session 12211 of user vmail.
Mar 25 11:20:01 ffcplmail systemd: Started Session 12212 of user root.
Mar 25 11:20:05 ffcplmail systemd: Removed slice User Slice of opendkim.
Mar 25 11:20:05 ffcplmail systemd: Removed slice User Slice of vmail.

<!-- gh-comment-id:476245630 --> @tonyguadagno commented on GitHub (Mar 25, 2019): i think it is not selinux, there seems to be no alerts in the logs: ``` sudo sealert -a /var/log/audit/audit.log 100% done found 0 alerts in /var/log/audit/audit.log ``` as for the os logging, all i see is this, and I am not sure it is indicating anything ``` Mar 25 11:20:00 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 5461|app: 1|req: 372/634] 69.207.180.150 () {56 vars in 1531 bytes} [Mon Mar 25 11:20:00 2019] POST /webmail/?action=compose => generated 37 bytes in 104 msecs (HTTP/1.1 500) 5 headers in 172 bytes (1 switches on core 0) Mar 25 11:20:01 ffcplmail systemd: Created slice User Slice of root. Mar 25 11:20:01 ffcplmail systemd: Started Session 12209 of user root. Mar 25 11:20:01 ffcplmail systemd: Started Session 12208 of user root. Mar 25 11:20:01 ffcplmail systemd: Created slice User Slice of opendkim. Mar 25 11:20:01 ffcplmail systemd: Started Session 12210 of user opendkim. Mar 25 11:20:01 ffcplmail systemd: Created slice User Slice of vmail. Mar 25 11:20:01 ffcplmail systemd: Started Session 12211 of user vmail. Mar 25 11:20:01 ffcplmail systemd: Started Session 12212 of user root. Mar 25 11:20:05 ffcplmail systemd: Removed slice User Slice of opendkim. Mar 25 11:20:05 ffcplmail systemd: Removed slice User Slice of vmail. ```
Author
Owner

@hexitex commented on GitHub (Jul 8, 2019):

Same here on Ubuntu 18.x, everything just goes blank when you hit the send button

<!-- gh-comment-id:509063668 --> @hexitex commented on GitHub (Jul 8, 2019): Same here on Ubuntu 18.x, everything just goes blank when you hit the send button
Author
Owner

@tonyguadagno commented on GitHub (Mar 30, 2020):

hi, its been a while and this has never worked for me. i have now upgraded to 1.14.0 and i am having the same issue. also when i hit send, there are no log entries in /var/log/maillog.....

can you please point me in the right direction????

<!-- gh-comment-id:606191364 --> @tonyguadagno commented on GitHub (Mar 30, 2020): hi, its been a while and this has never worked for me. i have now upgraded to 1.14.0 and i am having the same issue. also when i hit send, there are no log entries in /var/log/maillog..... can you please point me in the right direction????
Author
Owner

@tonioo commented on GitHub (Mar 31, 2020):

@tonyguadagno Set DEBUG to True inside settings.py, reload uwsgi and then open your web browser console, look at the Network tab, you should see requests returning with wrong codes (400 or 500).

<!-- gh-comment-id:606464058 --> @tonioo commented on GitHub (Mar 31, 2020): @tonyguadagno Set DEBUG to True inside settings.py, reload uwsgi and then open your web browser console, look at the Network tab, you should see requests returning with wrong codes (400 or 500).
Author
Owner

@tonyguadagno commented on GitHub (Mar 31, 2020):

hi, i set debug as you said and restarted uwsgi. when i reproduce the issue, i see no difference on my screen.
i see these in /var/log/messages, where should i look for the debug messages?

Mar 31 07:48:28 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7808|app: 1|req: 17/30] 69.207.180.150 () {52 vars in 967 bytes} [Tue Mar 31 07:48:28 2020] GET /api/v1/emails/?search=ton => generated 2 bytes in 62 msecs (HTTP/1.1 200) 6 headers in 187 bytes (1 switches on core 0)
Mar 31 07:48:37 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7807|app: 1|req: 14/31] 69.207.180.150 () {62 vars in 1313 bytes} [Tue Mar 31 07:48:37 2020] POST /webmail/?action=compose => generated 37 bytes in 82 msecs (HTTP/1.1 500) 5 headers in 172 bytes (1 switches on core 0)
Mar 31 07:48:39 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7807|app: 1|req: 15/32] 69.207.180.150 () {50 vars in 973 bytes} [Tue Mar 31 07:48:39 2020] GET /core/top_notifications/check/ => generated 67 bytes in 98 msecs (HTTP/1.1 200) 5 headers in 153 bytes (1 switches on core 0)
Mar 31 07:48:42 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7808|app: 1|req: 18/33] 69.207.180.150 () {52 vars in 1019 bytes} [Tue Mar 31 07:48:42 2020] GET /core/top_notifications/check/ => generated 2 bytes in 75 msecs (HTTP/1.1 200) 5 headers in 152 bytes (1 switches on core 0)

<!-- gh-comment-id:606580240 --> @tonyguadagno commented on GitHub (Mar 31, 2020): hi, i set debug as you said and restarted uwsgi. when i reproduce the issue, i see no difference on my screen. i see these in /var/log/messages, where should i look for the debug messages? ``` Mar 31 07:48:28 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7808|app: 1|req: 17/30] 69.207.180.150 () {52 vars in 967 bytes} [Tue Mar 31 07:48:28 2020] GET /api/v1/emails/?search=ton => generated 2 bytes in 62 msecs (HTTP/1.1 200) 6 headers in 187 bytes (1 switches on core 0) Mar 31 07:48:37 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7807|app: 1|req: 14/31] 69.207.180.150 () {62 vars in 1313 bytes} [Tue Mar 31 07:48:37 2020] POST /webmail/?action=compose => generated 37 bytes in 82 msecs (HTTP/1.1 500) 5 headers in 172 bytes (1 switches on core 0) Mar 31 07:48:39 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7807|app: 1|req: 15/32] 69.207.180.150 () {50 vars in 973 bytes} [Tue Mar 31 07:48:39 2020] GET /core/top_notifications/check/ => generated 67 bytes in 98 msecs (HTTP/1.1 200) 5 headers in 153 bytes (1 switches on core 0) Mar 31 07:48:42 ffcplmail uwsgi: webmail.fujifilmusa.com [pid: 7808|app: 1|req: 18/33] 69.207.180.150 () {52 vars in 1019 bytes} [Tue Mar 31 07:48:42 2020] GET /core/top_notifications/check/ => generated 2 bytes in 75 msecs (HTTP/1.1 200) 5 headers in 152 bytes (1 switches on core 0) ```
Author
Owner

@tonyguadagno commented on GitHub (Mar 31, 2020):

sorry, i re-read your post. i do see 2 404's and then a 500 error. but there is not much detail, where on the server would this 500 error show up, in a log somewhere?
2020-03-31 08_06_16-Remote Desktop

<!-- gh-comment-id:606586243 --> @tonyguadagno commented on GitHub (Mar 31, 2020): sorry, i re-read your post. i do see 2 404's and then a 500 error. but there is not much detail, where on the server would this 500 error show up, in a log somewhere? ![2020-03-31 08_06_16-Remote Desktop](https://user-images.githubusercontent.com/25204879/78024607-a573c280-7326-11ea-95e1-c0db21fb6743.png)
Author
Owner

@tonyguadagno commented on GitHub (Mar 31, 2020):

here is more from that 500

2HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
(XHR)POST - https://webmail.fujifilmusa.com/webmail/?action=compose

HTTP400: BAD REQUEST - The request could not be processed by the server due to invalid syntax.
(XHR)GET - https://webmail.fujifilmusa.com/webmail/unseenmsgs?mboxes=
<!-- gh-comment-id:606586843 --> @tonyguadagno commented on GitHub (Mar 31, 2020): here is more from that 500 ``` 2HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request. (XHR)POST - https://webmail.fujifilmusa.com/webmail/?action=compose HTTP400: BAD REQUEST - The request could not be processed by the server due to invalid syntax. (XHR)GET - https://webmail.fujifilmusa.com/webmail/unseenmsgs?mboxes= ```
Author
Owner

@tonyguadagno commented on GitHub (Apr 1, 2020):

tonioo, any idea what my next step would be? sorry to nag, but i have users complaining.

thanks

<!-- gh-comment-id:607244057 --> @tonyguadagno commented on GitHub (Apr 1, 2020): tonioo, any idea what my next step would be? sorry to nag, but i have users complaining. thanks
Author
Owner

@tonioo commented on GitHub (Apr 1, 2020):

@tonyguadagno you should be able to inspect the server's response from your debugger, without this I can't help you...

<!-- gh-comment-id:607268358 --> @tonioo commented on GitHub (Apr 1, 2020): @tonyguadagno you should be able to inspect the server's response from your debugger, without this I can't help you...
Author
Owner

@tonyguadagno commented on GitHub (Apr 1, 2020):

@tonioo hi, from the debugger, all i see is a 500 internal server error. i think from that i need to go to the server logs, but i don't see any logs to look at...can you tell me where on the server would the logs be for more detail on the 500?
I have looked in these files, and you can see the 500 but nothing else.
I think modoboa needs to log this error, where does modoboa log?

nginx/mail.ffusa.com-error.log

69.207.180.150 - - [01/Apr/2020:10:10:19 -0400] "GET /api/v1/emails/?search=tonyg%40guadagno.org HTTP/1.1" 200 2 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"
69.207.180.150 - - [01/Apr/2020:10:10:23 -0400] "GET /core/top_notifications/check/ HTTP/1.1" 200 2 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"
69.207.180.150 - - [01/Apr/2020:10:10:25 -0400] "POST /webmail/?action=compose HTTP/1.1" 500 37 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"
69.207.180.150 - - [01/Apr/2020:10:10:54 -0400] "GET /core/top_notifications/check/ HTTP/1.1" 200 2 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"

nginx/mail.ffusa.com-access.log

2020/04/01 10:08:20 [info] 1381#0: *5626 client closed connection while waiting for request, client: 184.2.223.13, server: 0.0.0.0:443
2020/04/01 10:13:18 [info] 1382#0: *5658 client closed connection while waiting for request, client: 184.2.223.13, server: 0.0.0.0:443

maillog

Apr  1 10:10:11 ffcplmail postfix/postscreen[23941]: CONNECT from [172.19.4.107]:64002 to [172.19.5.13]:25
Apr  1 10:10:11 ffcplmail postfix/postscreen[23941]: WHITELISTED [172.19.4.107]:64002
Apr  1 10:10:11 ffcplmail postfix/smtpd[23942]: connect from unknown[172.19.4.107]
Apr  1 10:10:11 ffcplmail postfix/postscreen[23941]: CONNECT from [172.19.4.120]:59340 to [172.19.5.13]:25
Apr  1 10:10:11 ffcplmail postfix/postscreen[23941]: WHITELISTED [172.19.4.120]:59340
Apr  1 10:10:11 ffcplmail postfix/smtpd[24828]: connect from unknown[172.19.4.120]
Apr  1 10:10:12 ffcplmail postfix/smtpd[23942]: disconnect from unknown[172.19.4.107]
Apr  1 10:10:12 ffcplmail postfix/smtpd[24828]: disconnect from unknown[172.19.4.120]
Apr  1 10:10:29 ffcplmail postfix/postscreen[23941]: CONNECT from [81.92.202.164]:35860 to [172.19.5.13]:25
Apr  1 10:10:29 ffcplmail postfix/postscreen[23941]: PASS OLD [81.92.202.164]:35860
Apr  1 10:10:29 ffcplmail postfix/smtpd[23942]: connect from unknown[81.92.202.164]
Apr  1 10:10:29 ffcplmail postfix/smtpd[23942]: NOQUEUE: reject: RCPT from unknown[81.92.202.164]: 550 5.1.1 <patricia_marano@fujifilmusa.com>: Recipient address rejected: undeliverable address: host mail2.fujifilmusa.com[private/dovecot-lmtp] said: 550 5.1.1 <patricia_marano@fujifilmusa.com> User doesn't exist: patricia_marano@fujifilmusa.com (in reply to RCPT TO command); from=<info@active.ca> to=<patricia_marano@fujifilmusa.com> proto=ESMTP helo=<server.domain.com>
Apr  1 10:10:29 ffcplmail postfix/cleanup[20102]: 7D0DC614359A: message-id=<20200401141029.7D0DC614359A@mail2.fujifilmusa.com>
Apr  1 10:10:29 ffcplmail postfix/qmgr[29994]: 7D0DC614359A: from=<double-bounce@mail2.fujifilmusa.com>, size=290, nrcpt=1 (queue active)
Apr  1 10:10:29 ffcplmail dovecot: lmtp(24863): Connect from local
Apr  1 10:10:29 ffcplmail dovecot: lmtp(24863): Disconnect from local: Successful quit
Apr  1 10:10:29 ffcplmail postfix/lmtp[24862]: 7D0DC614359A: to=<patricia_marano@fujifilmusa.com>, relay=mail2.fujifilmusa.com[private/dovecot-lmtp], delay=0.04, delays=0/0.02/0.01/0, dsn=5.1.1, status=undeliverable (host mail2.fujifilmusa.com[private/dovecot-lmtp] said: 550 5.1.1 <patricia_marano@fujifilmusa.com> User doesn't exist: patricia_marano@fujifilmusa.com (in reply to RCPT TO command))
Apr  1 10:10:29 ffcplmail postfix/qmgr[29994]: 7D0DC614359A: removed
Apr  1 10:10:29 ffcplmail postfix/smtpd[23942]: disconnect from unknown[81.92.202.164]
Apr  1 10:10:49 ffcplmail dovecot: imap-login: Login: user=<sitedown@fujifilmusa.com>, method=PLAIN, rip=172.19.5.46, lip=172.19.5.13, mpid=24903, TLS, session=<vpxRQDuiKo2sEwUu>
Apr  1 10:10:49 ffcplmail dovecot: imap(sitedown@fujifilmusa.com): Logged out in=48 out=832
<!-- gh-comment-id:607285556 --> @tonyguadagno commented on GitHub (Apr 1, 2020): @tonioo hi, from the debugger, all i see is a 500 internal server error. i think from that i need to go to the server logs, but i don't see any logs to look at...can you tell me where on the server would the logs be for more detail on the 500? I have looked in these files, and you can see the 500 but nothing else. I think modoboa needs to log this error, where does modoboa log? nginx/mail.ffusa.com-error.log ``` 69.207.180.150 - - [01/Apr/2020:10:10:19 -0400] "GET /api/v1/emails/?search=tonyg%40guadagno.org HTTP/1.1" 200 2 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" 69.207.180.150 - - [01/Apr/2020:10:10:23 -0400] "GET /core/top_notifications/check/ HTTP/1.1" 200 2 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" 69.207.180.150 - - [01/Apr/2020:10:10:25 -0400] "POST /webmail/?action=compose HTTP/1.1" 500 37 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" 69.207.180.150 - - [01/Apr/2020:10:10:54 -0400] "GET /core/top_notifications/check/ HTTP/1.1" 200 2 "https://webmail.fujifilmusa.com/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" ``` nginx/mail.ffusa.com-access.log ``` 2020/04/01 10:08:20 [info] 1381#0: *5626 client closed connection while waiting for request, client: 184.2.223.13, server: 0.0.0.0:443 2020/04/01 10:13:18 [info] 1382#0: *5658 client closed connection while waiting for request, client: 184.2.223.13, server: 0.0.0.0:443 ``` maillog ``` Apr 1 10:10:11 ffcplmail postfix/postscreen[23941]: CONNECT from [172.19.4.107]:64002 to [172.19.5.13]:25 Apr 1 10:10:11 ffcplmail postfix/postscreen[23941]: WHITELISTED [172.19.4.107]:64002 Apr 1 10:10:11 ffcplmail postfix/smtpd[23942]: connect from unknown[172.19.4.107] Apr 1 10:10:11 ffcplmail postfix/postscreen[23941]: CONNECT from [172.19.4.120]:59340 to [172.19.5.13]:25 Apr 1 10:10:11 ffcplmail postfix/postscreen[23941]: WHITELISTED [172.19.4.120]:59340 Apr 1 10:10:11 ffcplmail postfix/smtpd[24828]: connect from unknown[172.19.4.120] Apr 1 10:10:12 ffcplmail postfix/smtpd[23942]: disconnect from unknown[172.19.4.107] Apr 1 10:10:12 ffcplmail postfix/smtpd[24828]: disconnect from unknown[172.19.4.120] Apr 1 10:10:29 ffcplmail postfix/postscreen[23941]: CONNECT from [81.92.202.164]:35860 to [172.19.5.13]:25 Apr 1 10:10:29 ffcplmail postfix/postscreen[23941]: PASS OLD [81.92.202.164]:35860 Apr 1 10:10:29 ffcplmail postfix/smtpd[23942]: connect from unknown[81.92.202.164] Apr 1 10:10:29 ffcplmail postfix/smtpd[23942]: NOQUEUE: reject: RCPT from unknown[81.92.202.164]: 550 5.1.1 <patricia_marano@fujifilmusa.com>: Recipient address rejected: undeliverable address: host mail2.fujifilmusa.com[private/dovecot-lmtp] said: 550 5.1.1 <patricia_marano@fujifilmusa.com> User doesn't exist: patricia_marano@fujifilmusa.com (in reply to RCPT TO command); from=<info@active.ca> to=<patricia_marano@fujifilmusa.com> proto=ESMTP helo=<server.domain.com> Apr 1 10:10:29 ffcplmail postfix/cleanup[20102]: 7D0DC614359A: message-id=<20200401141029.7D0DC614359A@mail2.fujifilmusa.com> Apr 1 10:10:29 ffcplmail postfix/qmgr[29994]: 7D0DC614359A: from=<double-bounce@mail2.fujifilmusa.com>, size=290, nrcpt=1 (queue active) Apr 1 10:10:29 ffcplmail dovecot: lmtp(24863): Connect from local Apr 1 10:10:29 ffcplmail dovecot: lmtp(24863): Disconnect from local: Successful quit Apr 1 10:10:29 ffcplmail postfix/lmtp[24862]: 7D0DC614359A: to=<patricia_marano@fujifilmusa.com>, relay=mail2.fujifilmusa.com[private/dovecot-lmtp], delay=0.04, delays=0/0.02/0.01/0, dsn=5.1.1, status=undeliverable (host mail2.fujifilmusa.com[private/dovecot-lmtp] said: 550 5.1.1 <patricia_marano@fujifilmusa.com> User doesn't exist: patricia_marano@fujifilmusa.com (in reply to RCPT TO command)) Apr 1 10:10:29 ffcplmail postfix/qmgr[29994]: 7D0DC614359A: removed Apr 1 10:10:29 ffcplmail postfix/smtpd[23942]: disconnect from unknown[81.92.202.164] Apr 1 10:10:49 ffcplmail dovecot: imap-login: Login: user=<sitedown@fujifilmusa.com>, method=PLAIN, rip=172.19.5.46, lip=172.19.5.13, mpid=24903, TLS, session=<vpxRQDuiKo2sEwUu> Apr 1 10:10:49 ffcplmail dovecot: imap(sitedown@fujifilmusa.com): Logged out in=48 out=832 ```
Author
Owner

@tonyguadagno commented on GitHub (Apr 2, 2020):

hi, i have a clue, i noticed in the maillog this error, could this be the reason this is broke? any idea how to fix it?

Apr  2 08:47:18 ffcplmail postfix/pipe[22227]: E9F50614359A: to=<questions@studentsofstorytelling.com@autoreply.studentsofstorytelling.com>, orig_to=<questions@studentsofstorytelling.com>, relay=autoreply, delay=63315, delays=63315/0.03/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /srv/modoboa/env/bin/python: Permission denied )
<!-- gh-comment-id:607829254 --> @tonyguadagno commented on GitHub (Apr 2, 2020): hi, i have a clue, i noticed in the maillog this error, could this be the reason this is broke? any idea how to fix it? ``` Apr 2 08:47:18 ffcplmail postfix/pipe[22227]: E9F50614359A: to=<questions@studentsofstorytelling.com@autoreply.studentsofstorytelling.com>, orig_to=<questions@studentsofstorytelling.com>, relay=autoreply, delay=63315, delays=63315/0.03/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /srv/modoboa/env/bin/python: Permission denied ) ```
Author
Owner

@tonyguadagno commented on GitHub (Apr 2, 2020):

I have been digging deeper into this. i see you are using uwsgi as a framework and i was able to turn on logging at that level. I was hoping to get the actual cause of the 500 error. with uwsgi logging turned on, i see this in those logs

webmail.fujifilmusa.com [pid: 8376|app: 1|req: 3/6] 69.207.180.150 () {62 vars in 1313 bytes} [Thu Apr  2 10:07:54 2020] POST /webmail/?action=compose => generated 37 bytes in 368 msecs (HTTP/1.1 500) 5 headers in 172 bytes (1 switches on core 0)

unfortunately, no more help than before. i researched this and found a similar post. i understand that you may not be using pyramid, but if you read this post, the dev realized that the underlying code was not presenting the exception stack to uwsgi so the 500 error was not explained.
https://serverfault.com/questions/643513/pyramid-nginx-uwsgi-server-500-errors
Is it possible for you to add logging so that the 500 error would be more descriptive. I really need to get at the 500 error to figure out why this is not working for me.

thanks

<!-- gh-comment-id:607873775 --> @tonyguadagno commented on GitHub (Apr 2, 2020): I have been digging deeper into this. i see you are using uwsgi as a framework and i was able to turn on logging at that level. I was hoping to get the actual cause of the 500 error. with uwsgi logging turned on, i see this in those logs ``` webmail.fujifilmusa.com [pid: 8376|app: 1|req: 3/6] 69.207.180.150 () {62 vars in 1313 bytes} [Thu Apr 2 10:07:54 2020] POST /webmail/?action=compose => generated 37 bytes in 368 msecs (HTTP/1.1 500) 5 headers in 172 bytes (1 switches on core 0) ``` unfortunately, no more help than before. i researched this and found a similar post. i understand that you may not be using pyramid, but if you read this post, the dev realized that the underlying code was not presenting the exception stack to uwsgi so the 500 error was not explained. [https://serverfault.com/questions/643513/pyramid-nginx-uwsgi-server-500-errors](url) Is it possible for you to add logging so that the 500 error would be more descriptive. I really need to get at the 500 error to figure out why this is not working for me. thanks
Author
Owner

@tonyguadagno commented on GitHub (Apr 6, 2020):

update, in an effort to fix this, i tried to Rebuild the Virtual environment https://modoboa.readthedocs.io/en/latest/upgrade.html
it did not help, same results

i have also disable selinux and that did not help either

<!-- gh-comment-id:609935804 --> @tonyguadagno commented on GitHub (Apr 6, 2020): update, in an effort to fix this, i tried to Rebuild the Virtual environment [https://modoboa.readthedocs.io/en/latest/upgrade.html](url) it did not help, same results i have also disable selinux and that did not help either
Author
Owner

@tonioo commented on GitHub (Apr 6, 2020):

@tonyguadagno you won't see anything in uwsgi logs because django catches the error to display an HTML page when DEBUG is on. Since Modoboa uses a lot of AJAX requests, you can't see them directly and that's why you need to inspect the server responses from a javascript console... You should be able to see responses, look for a response tab somewhere.

<!-- gh-comment-id:609965317 --> @tonioo commented on GitHub (Apr 6, 2020): @tonyguadagno you won't see anything in uwsgi logs because django catches the error to display an HTML page when DEBUG is on. Since Modoboa uses a lot of AJAX requests, you can't see them directly and that's why you need to inspect the server responses from a javascript console... You should be able to see responses, look for a response tab somewhere.
Author
Owner

@tonyguadagno commented on GitHub (Apr 6, 2020):

YOUR a GENIUS! as it turns out, the fix for my auto reply problem was also the fix for this....the web interface (evidently) could not send because postfix was not listening on localhost. once i made that change, the web interface started working as well.

thanks!

<!-- gh-comment-id:609996423 --> @tonyguadagno commented on GitHub (Apr 6, 2020): YOUR a GENIUS! as it turns out, the fix for my [auto reply problem](https://github.com/modoboa/modoboa/issues/1866) was also the fix for this....the web interface (evidently) could not send because postfix was not listening on localhost. once i made that change, the web interface started working as well. thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1342
No description provided.