I have gone to my ropes end (i know very little about the email section of diaspora or however it works) and each time i try to send an invitation email- i get a 500 server error. Any ideas?
--
You received this message because you are subscribed to the Google Groups "diaspora-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/diaspora-dev/-/PKuaJiWueG8J.
To post to this group, send email to diaspo...@googlegroups.com.
To unsubscribe from this group, send email to diaspora-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diaspora-dev?hl=en.
You need to check your application.yml file in the config folder and the
settings below:
######################################################
# Email Configuration
######################################################
## First you need to enable it ;)
mailer_on: true
## Sender address used in mail send by Diaspora
sender_address: 'webm...@example.com'
## This selects which mailer should be used. Take 'smtp' for a smtp
## connection, 'sendmail' to use the sendmail binary or
## 'messagebus' to use the messagebus service.
mailer_method: 'smtp'
# Address/port to smtp server handling outgoing mail.
smtp_address: 'mail.example.com or whatever your mail domain is'
smtp_port: '587'
#API key if you are using message bus
message_bus_api_key: ''
# The path to the sendmail binary. Ignored if mailer_method is not set to
sendmail
sendmail_location: '/usr/sbin/sendmail'
# Set this to true if you want to use exim and sendmail
sendmail_exim_fix: false
# Authentication required to send mail. Use one of 'plain',
# 'login' or 'cram_md5'. Use 'none' if server does not support
# authentication
smtp_authentication: 'plain'
# Automatically enable TLS? Ignored if smtp_authentication is set to none
smtp_starttls_auto: true
# OpenSSL verify mode used when connecting to a SMTP server with TLS.
# Set this to none if you have a self signed certificate, keep it empty
(not '') for the default
# Possible values: none, peer, client_once, fail_if_no_peer_cert
smtp_openssl_verify_mode: none
# Domain of smtp server.
# This should match the common name of the certificate
# the SMTP server sends. If he sends one
smtp_domain: 'mail.example.com or just example.com depending on your
setup'
# Credentials to log in to the SMTP server - may be necessary if
# smtp_authentication is not 'none'
smtp_username: 'XXXXX'
smtp_password: 'PASSWORD HERE'
# Sender address in Diaspora's outgoing mail.
smtp_sender_address: 'webm...@example.com'
Once I got those setup correctly, invites got sent out correctly - even the
failed ones and no more 500 Internel Error.