Mailbox integration not creating tickets
Hi there,
I've got a very simple mailbox setup with YouTrack collecting emails via POP3. I've tested the mailbox connection and it works fine. There is a single rule will has a valid project specified with one mailbox, one maintainer, default folder, no TO: address. Reporter is set to "Create new account for sender" and there's no post processing.
If I send a test email to the POP3 account it gets fetched and deleted from the inbox but no ticket is created, no error is sent - nothing. I can see the emails turn up in the mailbox via webmail and then after the fetch has been completed they are removed. What can I do to find out where this is going wrong?
I'm running YouTrack 3.1.1
Many thanks,
Phil
Please sign in to leave a comment.
Phil, can you show your mailbox integration logs?
Hi Maxim, thanks for the reply.
If I knew where they were then yes! Any chance you can tell me where they might be?
Cheers, Phil
Actually, mailbox logs lives with other YouTrack logs, e.g. file youtrack.log.
I don't have anything that looks like a mailbox log. I have found these entries in the bottom of the youtrack.log file. Are they of any help?
08 Feb 2012 15:55:53,555 INFO [MainServlet ] [ts?window_id=154 [l.M.refreshMailBoxStatuses:tick]] Start processing request /_events?window_id=154 [l.M.refreshMailBoxStatuses:tick]
08 Feb 2012 15:55:53,555 INFO [MainServlet ] [ts?window_id=154 [l.M.refreshMailBoxStatuses:tick]] Finish processing request /_events?window_id=154 [l.M.refreshMailBoxStatuses:tick] in 0ms
08 Feb 2012 15:55:55,071 INFO [MainServlet ] [s?window_id=126 [l.AdminMenu.adminMenuTicker:tick]] Start processing request /_events?window_id=126 [l.AdminMenu.adminMenuTicker:tick]
08 Feb 2012 15:55:55,071 INFO [MainServlet ] [s?window_id=126 [l.AdminMenu.adminMenuTicker:tick]] Finish processing request /_events?window_id=126 [l.AdminMenu.adminMenuTicker:tick] in 0ms
08 Feb 2012 15:55:55,852 INFO [MainServlet ] [http request: /_events?window_id=3 [_heart_beat] ] Start processing request /_events?window_id=3 [_heart_beat]
08 Feb 2012 15:55:55,852 INFO [MainServlet ] [http request: /_events?window_id=3 [_heart_beat] ] Finish processing request /_events?window_id=3 [_heart_beat] in 0ms
08 Feb 2012 15:55:56,556 INFO [MainServlet ] [ts?window_id=154 [l.M.refreshMailBoxStatuses:tick]] Start processing request /_events?window_id=154 [l.M.refreshMailBoxStatuses:tick]
08 Feb 2012 15:55:56,556 INFO [MainServlet ] [ts?window_id=154 [l.M.refreshMailBoxStatuses:tick]] Finish processing request /_events?window_id=154 [l.M.refreshMailBoxStatuses:tick] in 0ms
08 Feb 2012 15:55:56,993 INFO [MainServlet ] [http request: /_events?window_id=172 [_heart_beat]] Start processing request /_events?window_id=172 [_heart_beat]
08 Feb 2012 15:55:57,009 INFO [MainServlet ] [http request: /_events?window_id=172 [_heart_beat]] Finish processing request /_events?window_id=172 [_heart_beat] in 16ms
08 Feb 2012 15:55:57,384 INFO [MainServlet ] [s?window_id=154 [l.AdminMenu.adminMenuTicker:tick]] Start processing request /_events?window_id=154 [l.AdminMenu.adminMenuTicker:tick]
08 Feb 2012 15:55:57,399 INFO [MainServlet ] [s?window_id=154 [l.AdminMenu.adminMenuTicker:tick]] Finish processing request /_events?window_id=154 [l.AdminMenu.adminMenuTicker:tick] in 0ms
08 Feb 2012 15:55:59,556 INFO [MainServlet ] [ts?window_id=154 [l.M.refreshMailBoxStatuses:tick]] Start processing request /_events?window_id=154 [l.M.refreshMailBoxStatuses:tick]
08 Feb 2012 15:55:59,556 INFO [MainServlet ] [ts?window_id=154 [l.M.refreshMailBoxStatuses:tick]] Finish processing request /_events?window_id=154 [l.M.refreshMailBoxStatuses:tick] in 0ms
Can you attach youtrack.log file?
Here is our most recent youtrack.log file.
Many thanks,
Phil
Attachment(s):
youtrack.log.zip
Hi there, I was just wondering whether the log file had given you any clues as to what might be wrong?
Many thanks,
Phil
Just an FYI, I've just upgraded to 3.2.2 and the problem still occurs.
Hello Phil.
I'm sorry that I've missed your answers. I found nothing about email fetching in the logs. Can you check content of the page MailboxSeenMessages? It has an URL like http://your.youtrack.host/MailboxSeenMessages . There should be a list of fetched messages with links to created issues / comments. Are there any messages?
Ah-ha, what a fantastic little page - can this be put in the help text for the mailbox issue as this coudl help a lot.
Anyhow, I'm seeing an entry for the emails as they come in and they all say "Message from user with no permissions to create issue" - the emails are coming in from users who aren't already registered on the system, they will come in from our users. Do I have to add each person who will email in to the users panel?
You can add create issue permission to all New Users. See this screencast for details.
Hi,
We had facing same issue, and we updated yputrack to 2018.3 but not we are not able to see MailboxSeenMessages page.
Please let us know is there any change in URL.
We are getting error as
This page was not found
Please create a support request here: https://youtrack-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66282 and provide some details: do you use inCloud or standalone YouTrack? If the former, please provide your instance name. If the latter, please tell your version number and attach full Youtrack logs.
same situations - i can't open MailboxSeenMessages. Youtrack stadalone 2018.4
Maksim, let me clarify the situation here a bit. The MailboxSeenMessages page was never meant to be public, it was more like a tool used for diagnostics by our dev team. In the most recent versions, this page is no longer available.