Project

General

Profile

Exchange incoming email help (imap)

Added by Alan Bowsher about 15 years ago

When I execute the "rake redmine:email:receive_imap" command, I can't get it to work for the redmine acct we've set up.

I get:

Logon failure: unknown user name or bad password.

I can use the same credentials to login as that user using Outlook Web.

Also, the rake command works if I use my own credentials.

Any ideas?


Replies (2)

RE: Exchange incoming email help (imap) - Added by Alan Bowsher about 15 years ago

We tried simplifying the account and password - that seems to work. I don't know if it was a mismatch between account name and user name, or the special characters in the password causing problems with the rake command, but simplifying it causes it to execute the rake command without error.

However, now nothing seems to happen, the emails don't get processed at all in the inbox - it's like Redmine isn't talking to the IMAP server.

RE: Exchange incoming email help (imap) - Added by Alan Bowsher about 15 years ago

Ok so I'm getting really good at replying to my own issues here... ;-)

It did work, I guess I misunderstood how it is supposed to operate. I executed the rake command, then sent emails, nothing happened.

I executed the rake command again, now the emails get processed.

I thought once it was started, it would run as a background process and check the mailbox on some sort of interval.

I guess you need to set up a cron job to run the command every so often?

    (1-2/2)