P
P
Pavel Kaptur2015-11-11 15:11:14
Email
Pavel Kaptur, 2015-11-11 15:11:14

How to configure mail forwarding in redmine?

hello! tell me
In a local network without the Internet there is DNS and a full-fledged mail server works, it works fine by name and everything works. It is necessary to configure sending mail from redmine. I have a working thunderbird email client and it works with parameters

IMAP
server - mail.pk
name - drem1lin
port - 993
security -ssl/tls
auth - encrypted password
SMTP
server - mail.pk
name - drem1lin
port - 465
security -ssl/tls
auth - encrypted password

How to set up mail in redmine? self-signed certificate on the mail server. I've set it up like this
in the file
/opt/redmine-3.1.1-1/apps/redmine/htdocs/config/configuration.yml

default:
  email_delivery: :smtp
  smtp_settings:
    enable_starttls_auto: true
    openssl_verify_mode: none
    tls: true
    address: "mail.pk"
    port: 465
    domain: "mail.pk"
    authentification: :plain
    username: "redmine"
    password: "password"

in this setting it turns out "getaddrinfo: Name or service not known"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2015-11-11
@akelsey

Your redmine can't resolve mail.pk from the address field probably. Something with dns, you need to either substitute an IP or deal with dns on a redmine machine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question