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
rake aborted!
Errno::ENETUNREACH: Network is unreachable - connect(2) for "imap.yandex.ru" port 993