Actions
communication #136058
openDiscourse missing "receive-mail"
Start date:
2023-09-19
Due date:
% Done:
0%
Estimated time:
Description
Some emails are getting stuck in the mail queue on discourse01.i.o.o with the following error:
temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/bin/receive-mail: No such file or directory) noreply@forums.opensuse.org
I couldn't find what "receive-mail" is supposed to be.
Updated by hellcp 3 months ago
It's a script from https://build.opensuse.org/package/show/openSUSE:infrastructure:discourse/rubygem-discourse_mail_receiver, it doesn't get generated correctly I guess
Updated by crameleon 3 months ago
- Assignee changed from crameleon to hellcp
The Salt states had various problems, I repaired some of them (wrong repository names and quoting), but eventually just installed the mentioned package manually to resolve the original problem.
Postfix processes the emails now, but the handler fails:
Sep 19 14:58:09 discourse01 receive-mail[5379]: Unexpected error while invoking mail processor: undefined method `exists?' for File:Class (NoMethodError)
Sep 19 14:58:09 discourse01 receive-mail[5379]: /usr/lib64/ruby/gems/3.2.0/gems/discourse_mail_receiver-4.0.7/lib/mail_receiver/mail_receiver_base.rb:8:in `initialize'
/usr/lib64/ruby/gems/3.2.0/gems/discourse_mail_receiver-4.0.7/lib/mail_receiver/discourse_mail_receiver.rb:11:in `initialize'
/usr/bin/receive-mail:12:in `new'
/usr/bin/receive-mail:12:in `<main>'
Updated by crameleon about 2 months ago
- Status changed from In Progress to Workable
Actions