Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when content of email have image it dont show body of message - {error: 'Error: Request failed with status code 500'} #62

Open
allanian opened this issue Jan 21, 2022 · 2 comments

Comments

@allanian
Copy link

Hello,
we installed inboxkitten with docker and configure nginx over inboxkitten with that config:
when we send email with only text, its working perfect, but when we add some images to text, its failing with status code 500.
Can you help us?

server {
listen 80;
server_name inbox.company.com;
return 301 https://$host$request_uri;
}

server {
    listen   443 ssl;
    server_name inbox.company.com;
    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES25$
    ssl_prefer_server_ciphers on;
    ssl_certificate  /etc/nginx/ssl/company.crt;
    ssl_certificate_key /etc/nginx/ssl/company.key;
    access_log /var/log/nginx/mail.access.log;
    error_log /var/log/nginx/mail.error.log;
    client_max_body_size 20m;
    location / {
        proxy_pass  http://127.0.0.1:8000;
        proxy_redirect                  off;
        proxy_set_header                Host $host;
        proxy_set_header                X-Real-IP $remote_addr;
        proxy_set_header    X-Forwarded-For   $proxy_add_x_forwarded_for;
    }
}

docker-compose:

version: "3"
services:
  inboxkitten:
    image: uilicious/inboxkitten
    container_name: mail
    ports:
      - "127.0.0.1:8000:8000"
    environment:
      MAILGUN_EMAIL_DOMAIN: "inbox.company.com"
      MAILGUN_API_KEY: "api-key-mailgun"
      WEBSITE_DOMAIN: "inbox.company.com"
    network_mode: host
@ravibadoni
Copy link

ravibadoni commented Jan 21, 2022

@PicoCreator
@jmtiong
Can you please help with this?

@ravibad
Copy link

ravibad commented Jan 30, 2022

@shiling Can you please help on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants