Error by test mail

Added by Georg Fütterer over 1 year ago

when I start a test mail I get the eror
'error occurred while sending mail (hostname "localhost" does not match the server certificate)'
I have the following entries in the configuration.yml
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
#tls: true
enable_starttls_auto: true
address: smtp.web.de
port: 587
domain: smtp.web.de
authentication: :plain
user_name: myUsername
password: myPassword

Can someone explain to me what I'm doing wrong?