postdrop: warning: mail_queue_enter: create file maildrop/224629.22768: Permission denied #1321

Closed
opened 2019-10-15 23:52:21 +00:00 by hayward · 8 comments
Member

My logs are being spammed with this: (Sendmail works fine with my other apps).

Oct 15 23:50:25 sandbox mix[22261]: postdrop: warning: mail_queue_enter: create file maildrop/224629.22768: Permission denied

Oct 15 23:50:25 sandbox postfix/postdrop[22768]: warning: mail_queue_enter: create file maildrop/224629.22768: Permission denied

My logs are being spammed with this: (Sendmail works fine with my other apps). Oct 15 23:50:25 sandbox mix[22261]: postdrop: warning: mail_queue_enter: create file maildrop/224629.22768: Permission denied Oct 15 23:50:25 sandbox postfix/postdrop[22768]: warning: mail_queue_enter: create file maildrop/224629.22768: Permission denied
Author
Member

Oct 23 16:49:12 sandbox mix[7788]: postdrop: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied

Oct 23 16:49:12 sandbox postfix/postdrop[8385]: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied

Oct 23 16:49:12 sandbox mix\[7788\]: postdrop: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied Oct 23 16:49:12 sandbox postfix/postdrop\[8385\]: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied
Member

Try to run MIX_ENV=prod mix pleroma.digest test hayward.

Try to run `MIX_ENV=prod mix pleroma.digest test hayward`.
Author
Member

Edit: I got this to work, email arrived. No issues. took ages to process though lol

Still get the other errors, if reporting a user for example though.

Edit: I got this to work, email arrived. No issues. took ages to process though lol Still get the other errors, if reporting a user for example though.
Author
Member

Still getting this when reporting users:

Oct 23 16:49:12 sandbox mix[7788]: postdrop: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied

Oct 23 16:49:12 sandbox postfix/postdrop[8385]: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied

Still getting this when reporting users: Oct 23 16:49:12 sandbox mix[7788]: postdrop: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied Oct 23 16:49:12 sandbox postfix/postdrop[8385]: warning: mail_queue_enter: create file maildrop/637293.8385: Permission denied
Author
Member

Does anyone know why this error is happening? I know it's a permission issue. But everything I've tried either breaks Postfix altogether or does nothing to fix the error above. I must have trawled through several hours worth of forums, reddit, etc...

Does anyone know why this error is happening? I know it's a permission issue. But everything I've tried either breaks Postfix altogether or does nothing to fix the error above. I must have trawled through several hours worth of forums, reddit, etc...
Member

Can you post your email configuration?

Can you post your email configuration?
Author
Member

config :pleroma, Pleroma.Emails.Mailer, adapter: Swoosh.Adapters.Sendmail, enabled: true

config :pleroma, :email_notifications,
digest: %{
active: true,
schedule: "0 0 * * 0",
interval: 7,
inactivity_threshold: 7
}

config :joken, default_signer: "REDACTED"

config :pleroma, Pleroma.Emails.Mailer, adapter: Swoosh.Adapters.Sendmail, enabled: true config :pleroma, :email_notifications, digest: %{ active: true, schedule: "0 0 * * 0", interval: 7, inactivity_threshold: 7 } config :joken, default_signer: "REDACTED"
Author
Member

Are we still able to use this mothod (I got the impression this wasn't being used any more):

config :sample, Sample.Mailer,

adapter: Swoosh.Adapters.SMTP,

relay: "smtp.sendgrid.net"

username: {:system, "SMTP_USERNAME"},

password: {:system, "SMTP_PASSWORD"},

tls: :always

Are we still able to use this mothod (I got the impression this wasn't being used any more): config :sample, Sample.Mailer, adapter: Swoosh.Adapters.SMTP, relay: "smtp.sendgrid.net" username: {:system, "SMTP_USERNAME"}, password: {:system, "SMTP_PASSWORD"}, tls: :always
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
pleroma/pleroma#1321
No description provided.