Discourse missing "receive-mail"
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) firstname.lastname@example.org
I couldn't find what "receive-mail" is supposed to be.
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
- 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: Unexpected error while invoking mail processor: undefined method `exists?' for File:Class (NoMethodError) Sep 19 14:58:09 discourse01 receive-mail: /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>'