Project

General

Profile

smtp reads mails, but not creates issue from crontab, but the same command in console creates issue.

Added by Rafal Szkotak over 8 years ago

Hello,
I`ve encountered a problem:

That command (user redmine) reads email and adds issues correctly
rake -f /home/redmine/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=*** username=*** password=*** allow_override=project,tracker,status,priority,assigned_to

That command (user redmine`s crontab)
/2 * * * rake -f /home/redmine/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=** username=*** password=*** allow_override=project,tracker,status,priority,assigned_to
Reads email, creates the text below:

Issue #2473 has been reported by ***.
Request #2473: test1

    Author: ***
    Status: New
    Priority: Normal
    Assignee:
    Category:
    Target version: 

aqwqew

but issue is not created.

Please help me to solve that problem.