Pollaris wasn't able to send emails

What app is this about, and its version: Pollaris, 1.1.2~ynh1
What YunoHost version are you running: 12.1.38
What type of hardware are you using: VPS bought online

Describe your issue

I installed Pollaris on my server and while the app itself works fine, I wasn’t receiving any emails about the votes even though I set up the polls to do so. When I tried to use the function that sends me the email with my polls, it did not work either.

Share relevant logs or error messages

I decided to scavenge around and I was able to find that Pollaris exposes a terminal interface, so I did sudo yunohost app shell pollaris and then php bin/console mailer:test to my email address. I got the following error:
Expected response code "250/251/252" but got code "553", with message "553 5.7.1 <noreply@pollaris.domain>: Sender address rejected: not owned by user pollaris".. After some more looking around I found that the .env.local file sets MAILER_FROM to noreply@pollaris.domain. When I changed it to pollaris@pollaris.domain, the emails started going through.

1 Like

Thank you for the suggestion, I’ll integrate it into the package: Update mail config by orhtej2 · Pull Request #4 · YunoHost-Apps/pollaris_ynh · GitHub

This problem will be fixed in 1.1.2~ynh3 once the catalog rebuilds, thank you for the report and for the fix I basically copied from your post :wink:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.