Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • P pleroma-support
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleroma-support
  • Issues
  • #97
Closed
Open
Issue created Jan 03, 2023 by Kamja Imo@vjchoe

Permissions issue accessing spool file when sending emails

Using OTP release 2.5.0 on Debian 11 (bullseye) Mailer configured with Sendmail using exim4 4.94.2

I am unable to get Pleroma to send any emails successfully. Password resets for example do not work.

When I run pleroma_ctl email test --to my@email.com, a success message is printed, but no email actually goes out, and no logs appear in /var/log/exim4. However, I do see the following journalctl entry logged several times for each attempt:

Jan 02 23:25:01 localhost pleroma[507382]: 2023-01-02 23:25:01 1pCUAv-0027za-OH Failed to create spool file /var/spool/exim4//input//1pCUAv-0027za-OH-D: Permission denied

This seems like maybe something funky going on with my system, and not an actual issue with Pleroma. Although I will point out that emails do send successfully when I run su pleroma sendmail my@email.com < test-email.txt.

Here's my mailer config:

config :pleroma, Pleroma.Emails.Mailer, [ adapter: Swoosh.Adapters.Sendmail, cmd_path: "/usr/sbin/sendmail", enabled: true, cmd_args: ""]

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking