My pod refuses to send mail
Input:
$ RAILS_ENV=production bundle exec rails runner ‘Notifier.admin(“test message”, User.where(username: “rinus_bakker”)).each(&:deliver_now)’
output:
WARNING: Namespace production not found in /home/plusfriends.net/diaspora/config/diaspora.yml
Rack::SSL is enabled
But no mail being sent and no useful output info to find the problem.
The postfix server seems to be working
Input:
echo “test333” | mail -s “test333” sleeplessregulus@gmail.com
actually send the mail.
Have been trying to understand the problem for a couple of weeks but to no avail.
Any help is appreciated!
Rinus