Podman + Email configuration

My Gramps Version

Gramps 5.2.4
Gramps Web API 2.8.2
Gramps Web Frontend 25.2.0
Gramps QL 0.3.0
Sifts 1.0.0
locale: en
multi-tree: false
task queue: true
OCR: true
chat: false

I am using podman instead of docker

Could you please check if my configuration is alright?

  • I set up Email with STS following the documentation. But email is not getting delivered or attempted.
  • Are these correct? Should the values be “quote” and does it matter?
  • Celery is not giving any errors - but no email delivery is attempted.
  • Is there way to configure it using UI like First time Wizard provided the option to configure
services:
  grampsweb: &grampsweb
    container_name: grampsweb
    image: ghcr.io/gramps-project/grampsweb:latest
    restart: always
    environment: &grampsweb-env
      GRAMPSWEB_TREE: "Sourashtra Family Tree"
      VIRTUAL_PORT: "5000"
      VIRTUAL_HOST: family.thinnal.org
      GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"
      GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"
      GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://grampsweb_redis:6379/1
      GRAMPSWEB_EMAIL_HOST: email-smtp.us-east-1.amazonaws.com
      GRAMPSWEB_EMAIL_PORT: 465
      GRAMPSWEB_EMAIL_USER: XXXXXX
      GRAMPSWEB_EMAIL_PASSWORD: XXXXX
      GRAMPSWEB_EMAIL_USE_TLS: True
      GRAMPSWEB_DEFAULT_EMAIL: "family@thinnal.org"
    ports:
      - "5000:5000"
    volumes:
      - gramps_users:/app/users
      - gramps_index:/app/indexdir
      - gramps_thumb_cache:/app/thumbnail_cache
      - gramps_cache:/app/cache
      - gramps_secret:/app/secret
      - gramps_db:/root/.gramps/grampsdb
      - gramps_media:/app/media
      - gramps_tmp:/tmp

Hi @orsenthil
Curious which documentation are you following to set up your config? Taking a look at server configuration, GRAMPSWEB_DEFAULT_EMAIL doesn’t seem to be valid. Should it be GRAMPSWEB_DEFAULT_FROM_EMAIL?

And btw, I don’t have quotes around my email and it works.

Can’t remember if that’s possible, but if you search this forum you’ll find ways to manipulate the configuration parameters using SQL commands.

I think, I made typo of this and I didn’t use DEFAULT.

I tried to install Gramps Web using Podman instead of Docker, mainly because Docker imposes a risk in requiring a process to run as root.
I did a number of configurations, but all failed, so eventually much against my wishes I switched to Docker.

I hope you find a way to run Gramps Web using Podman, and if you do, please let us all know.

There are command line tools to send dummy emails, you can use them to debug your config and try different options.

docker compose run grampsweb python3 -m gramps_webapi email --help

See also Modify e-mail configuration (after first run) · Issue #165 · gramps-project/gramps-web · GitHub