Open sehqlr opened 5 days ago
Take a look at this link: https://github.com/NixOS/nixpkgs/blob/e2ba9edc297df26732330b7dfc26f5892b0b01ad/nixos/modules/services/web-apps/monica.nix#L299
The config item should be MAIL_FROM_ADDRESS not MAIL_FROM.
MAIL_FROM_ADDRESS
MAIL_FROM
This is based on this link: https://github.com/monicahq/monica/blob/4.x/docs/installation/mail.md#use-smtp-with-monica
When this module is deployed and you attempt to use the mail feature, it fails with a message about invalid email headers.
Steps to reproduce the behavior:
I expect Monica to be configured to sent email if I pass in those configuration items
I have not been able to test any other email functions, I'm assuming that no email sending works
@Guekka this is a one-line change, so I can do the PR if you'd rather
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
[root@nixos:~]$ nix-info -m - system: `"x86_64-linux"` - host os: `Linux 6.6.33, NixOS, 24.05 (Uakari), 24.05pre-git` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.24.3` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Add a :+1: reaction to issues you find important.
Thank you for investigating @sehqlr Since you already have the fix in mind, I would prefer if you could please make the PR
Describe the bug
Take a look at this link: https://github.com/NixOS/nixpkgs/blob/e2ba9edc297df26732330b7dfc26f5892b0b01ad/nixos/modules/services/web-apps/monica.nix#L299
The config item should be
MAIL_FROM_ADDRESS
notMAIL_FROM
.This is based on this link: https://github.com/monicahq/monica/blob/4.x/docs/installation/mail.md#use-smtp-with-monica
When this module is deployed and you attempt to use the mail feature, it fails with a message about invalid email headers.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect Monica to be configured to sent email if I pass in those configuration items
Screenshots
Additional context
I have not been able to test any other email functions, I'm assuming that no email sending works
Notify maintainers
@Guekka this is a one-line change, so I can do the PR if you'd rather
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.