N
N
Nikita Popov2018-03-20 12:39:22
gmail
Nikita Popov, 2018-03-20 12:39:22

Redmine, receiving mail from mail.ru and yandex.ru?

Collecting mail from Google works fine with this command:

sudo -E /usr/local/bin/rake --trace /var/www/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com ssl=1 port=993 username=USERNAME password=PASS project=test

But from mail.ru and yandex.ru it was not possible to receive a single letter.
Fails with an error:
rake aborted!
Errno::ENETUNREACH: Network is unreachable - connect(2) for "imap.yandex.ru" port 993

Share your experience with anyone who works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2018-03-30
@MikeDeblin

Here you are.
rake -f /opt/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=imap.yandex.ru ssl=YES \
username=email_login password=password project=servicedesk no_permission_check=1 unknown_user=create \
assigned_to="IT department" delete_unprocessed=0 ssl=SSL port=993 allow_override=tracker,priority

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question