Получение почты и создание тикетов в Redmine

Появилась недавно небольшая задачка, которая позволяет создавать / отвечать на тикеты в Redmine через email. Получение почты можно организовать как по протоколу pop3, так и через IMAP. В моем случае доступ к почтовому серверу осуществлялся через IMAP Google Apps.

Не будем вдаваться в детали, а сразу перейдем к команде на получение почты. И установки ее в планировщике Linux cron. Итак, откроем консоль и попробуем дать команду от пользователя redmine(или root, главное чтобы права были)

rake -f /usr/local/share/redmine/Rakefile --silent redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com [email protected] password=PwdToEmail ssl=SSL port=993 project=mail allow_override=tracker,priority,project

Если никаких ошибок не вывалилось, то добавим в планировщик выполнение команды на получение почты.  Открываем /etc/crontab и прописываем:

*  *    * * *   root    rake -f /usr/local/share/redmine/Rakefile --silent redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com [email protected] password=YOUR_PASSWORD ssl=SSL port=993 project=mail allow_override=tracker,priority,project

Сохраняем файл. У меня redmine настроен так, что уведомления приходят от [email protected], поэтому отвечая на письмо с новым или измененным тикетом, я получаю автоматический ответ в redmine.

В redmine я создал новый проект “Почта” с Идентификатором mail, и если явно не указать в письме project, то задача попадает в этот проект.

Пример письма:

This is a new issue that overrides a few attributes
[...]
Project: foo
Tracker: Bug
Priority: Urgent
Status: Resolved

250 комментариев к “Получение почты и создание тикетов в Redmine

  1. Aw, this was an incredibly good post. Taking the time and actual effort to create a great article… but what can I say… I hesitate a whole lot and never manage to get nearly anything done.

  2. Can I just say what an alleviation to locate someone who really recognizes what theyre talking about on the net. You absolutely understand exactly how to bring an issue to light as well as make it essential. More people require to read this and also understand this side of the tale. I cant think youre not more prominent since you definitely have the gift.

  3. The following time I check out a blog, I really hope that it doesn’t dissatisfy me as long as this one. I suggest, I recognize it was my selection to review, but I in fact thought youd have something interesting to say. All I hear is a number of whining about something that you could repair if you werent also active searching for attention.

  4. Hey terrific website! Does running a blog such as this require a great deal of work?
    I have no expertise in computer programming however I was hoping to
    start my own blog soon. Anyhow, if you have any suggestions or tips for new blog owners please share.
    I know this is off subject nevertheless I simply needed to ask.
    Cheers!

  5. Hi there just wanted to give you a brief heads up and let you know
    a few of the pictures aren’t loading correctly. I’m not sure
    why but I think its a linking issue. I’ve tried
    it in two different browsers and both show the
    same outcome.

  6. Good message. I find out something a lot more tough on various blog sites everyday. It will certainly always be stimulating to check out web content from other writers and also practice a little something from their shop. I?d choose to use some with the content on my blog site whether you don?t mind. Natually I?ll provide you a link on your internet blog site. Many thanks for sharing.

  7. Howdy, I believe your site could possibly be having web browser compatibility
    problems. When I look at your web site in Safari, it looks fine but when opening in Internet Explorer,
    it’s got some overlapping issues. I simply wanted to provide you with a quick heads up!
    Aside from that, excellent site!

  8. I just like the helpful information you supply on your articles.
    I’ll bookmark your weblog and take a look at again here
    regularly. I am reasonably certain I’ll be told lots of new stuff right here!
    Good luck for the following!

  9. Fantastic goods from you, man. I’ve understand your stuff previous
    to and you’re just extremely great. I actually like what you’ve acquired here, really like what
    you are saying and the way in which you say it.
    You make it entertaining and you still take care of to keep it smart.
    I cant wait to read much more from you. This is actually a terrific site.

  10. Hey there! I simply would love to provide a huge thumbs up for the fantastic info you have here on this blog post. I will certainly be returning to your blog for even more quickly.

  11. An excellent share, I simply provided this onto an associate who was doing a little analysis on this. As well as he actually bought me breakfast since I found it for him. smile. So let me reword that: Thnx for the treat! Yet yeah Thnkx for spending the moment to discuss this, I really feel highly concerning it as well as enjoy learning more on this subject. If possible, as you come to be proficiency, would certainly you mind updating your blog site with even more information? It is extremely valuable for me. Huge thumb up for this blog post!

  12. I was extremely delighted to discover this web-site. I wanted to thanks for your time for this remarkable read!! I certainly delighting in every little bit of it and I have you bookmarked to look into new stuff you post.

  13. The following time I check out a blog site, I really hope that it doesn’t disappoint me as long as this. I imply, I understand it was my choice to check out, but I actually assumed youd have something interesting to claim. All I listen to is a bunch of whimpering regarding something that you might take care of if you werent also hectic seeking focus.

  14. I just want to mention I am newbie to blogs and seriously enjoyed your web site. More than likely I’m want to bookmark your site . You actually have wonderful articles. Cheers for sharing with us your website page.

  15. I know this if off topic but I’m looking into starting my own blog and was wondering what all is needed to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very web savvy so I’m not 100 positive. Any tips or advice would be greatly appreciated. Kudos

  16. I simply want to tell you that I’m all new to blogs and definitely savored your page. Almost certainly I’m want to bookmark your blog post . You definitely have perfect articles and reviews. Appreciate it for revealing your web page.

  17. of course like your website but you need to check the spelling on quite a few of your posts. A number of them are rife with spelling problems and I find it very bothersome to tell the truth nevertheless I’ll surely come back again.

  18. Hey! This is my 1st comment here so I just wanted to give a quick shout out and say I genuinely enjoy reading your articles. Can you suggest any other blogs/websites/forums that deal with the same topics? Thanks a lot!

  19. I simply want to say I’m very new to weblog and truly enjoyed this web page. Most likely I’m likely to bookmark your website . You amazingly come with amazing articles and reviews. Regards for sharing with us your web page.

  20. Greetings from Los angeles! I’m bored to death at work so I decided to check out your blog on my iphone during lunch break. I enjoy the information you provide here and can’t wait to take a look when I get home. I’m shocked at how fast your blog loaded on my phone .. I’m not even using WIFI, just 3G .. Anyhow, fantastic site!

  21. Thank you for the sensible critique. Me & my neighbor were just preparing to do some research on this. We grabbed a book from our local library but I think I learned better from this post. I am very glad to see such fantastic info being shared freely out there.

  22. What i don’t understood is actually how you are not actually much more well-liked than you may be right now. You are so intelligent. You realize therefore considerably relating to this subject, made me personally consider it from so many varied angles. Its like women and men aren’t fascinated unless it is one thing to accomplish with Lady gaga! Your own stuffs nice. Always maintain it up!

  23. Hello, Neat post. There is a problem with your website in internet explorer, could test this… IE nonetheless is the market leader and a large component to people will pass over your magnificent writing because of this problem.

  24. I should say also believe that mesothelioma cancer is a extraordinary form of melanoma that is commonly found in those people previously familiar with asbestos. Cancerous tissues form inside the mesothelium, which is a safety lining that covers many of the body’s areas. These cells commonly form while in the lining in the lungs, mid-section, or the sac which actually encircles one’s heart. Thanks for giving your ideas.

  25. Great blog! Do you have any hints for aspiring writers? I’m planning to start my own site soon but I’m a little lost on everything. Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused .. Any recommendations? Thanks a lot!

  26. My coder is trying to convince me to move to .net from PHP. I have always disliked the idea because of the costs. But he’s tryiong none the less. I’ve been using WordPress on several websites for about a year and am worried about switching to another platform. I have heard fantastic things about blogengine.net. Is there a way I can import all my wordpress posts into it? Any help would be greatly appreciated!

  27. You actually make it seem so easy with your presentation but I find this topic to be actually something which I think I would never understand. It seems too complex and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!

  28. After looking over a few of the blog articles on your web site, I truly appreciate your way of blogging. I saved as a favorite it to my bookmark webpage list and will be checking back soon. Please check out my web site too and let me know what you think.

  29. I was just searching for this information for a while. After six hours of continuous Googleing, finally I got it in your website. I wonder what is the lack of Google strategy that don’t rank this kind of informative websites in top of the list. Generally the top websites are full of garbage.

  30. I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Fantastic work!

  31. Thanks for making the sincere attempt to explain this. I think very robust about it and want to learn more. If it’s OK, as you attain more extensive knowledge, may you mind including extra posts similar to this one with additional information? It would be extremely useful and helpful for me and my colleagues. [Reply]

  32. Hello there! This is kind of off topic but I need some help from an established blog. Is it very hard to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to start. Do you have any tips or suggestions? Thank you

  33. Attractive component to content. I just stumbled upon your weblog and in accession capital to claim that I get in fact loved account your blog posts. Anyway I’ll be subscribing for your feeds and even I achievement you get right of entry to constantly rapidly.

  34. I’m impressed, I must say. Really not often do I encounter a blog that’s both educative and entertaining, and let me inform you, you have hit the nail on the head. Your thought is outstanding; the issue is something that not enough individuals are speaking intelligently about. I am very completely happy that I stumbled throughout this in my search for one thing regarding this.

  35. Hello, i think that i saw you visited my blog thus i got here to “go back the want”.I’m trying to find issues to enhance my website!I suppose its good enough to make use of a few of your concepts!!

  36. I wanted to write you this very little word to thank you very much the moment again about the incredible tips you have contributed here. This has been really incredibly generous of you to present openly all many individuals could possibly have distributed for an ebook to earn some profit on their own, especially given that you might have tried it if you ever decided. These solutions as well acted like a fantastic way to understand that most people have similar passion much like my very own to understand great deal more with regards to this condition. I think there are a lot more enjoyable periods in the future for people who see your site.

  37. Hey there would you mind sharing which blog platform you’re using? I’m looking to start my own blog soon but I’m having a hard time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique. P.S My apologies for getting off-topic but I had to ask!

  38. certainly like your website but you need to test the spelling on quite a few of your posts. Many of them are rife with spelling problems and I in finding it very troublesome to inform the truth then again I’ll definitely come back again.

  39. Oh my goodness! a great post dude. Thanks a ton Even so We are experiencing issue with ur rss . Don’t know why Not able to subscribe to it. Will there be any person acquiring identical rss dilemma? Anybody who knows kindly respond. Thnkx

  40. I’ve been browsing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all site owners and bloggers made good content as you did, the internet will be a lot more useful than ever before.

  41. Along with almost everything that seems to be building inside this particular subject matter, a significant percentage of viewpoints are quite refreshing. Having said that, I beg your pardon, because I can not give credence to your whole suggestion, all be it radical none the less. It looks to everyone that your remarks are actually not completely validated and in reality you are your self not even totally convinced of your argument. In any case I did appreciate looking at it.

  42. It’s appropriate time to make some plans for the future and it is time to be happy. I’ve read this post and if I may just I wish to counsel you some interesting issues or tips. Maybe you can write subsequent articles relating to this article. I want to learn even more issues about it!

  43. Re En ce qui me concerne les avis de ce gentilce court debrieffing necessiteraient de nouvelles avis… Votre approche est bonne quoique je ne defend pas les divers avis plus haut! il faudrait apporter des valeurs pour etre plus rigoureux! Au plaisir de vous relire

  44. Good – I should certainly pronounce, impressed with your website. I had no trouble navigating through all the tabs and related information ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or something, site theme . a tones way for your customer to communicate. Excellent task..

  45. you’re truly a excellent webmaster. The website loading velocity is incredible. It sort of feels that you are doing any distinctive trick. In addition, The contents are masterpiece. you have done a wonderful process in this topic!

  46. I was just searching for this info for some time. After 6 hours of continuous Googleing, finally I got it in your website. I wonder what is the lack of Google strategy that don’t rank this kind of informative web sites in top of the list. Generally the top web sites are full of garbage.

  47. With havin so much content and articles do you ever run into any issues of plagorism or copyright infringement? My blog has a lot of unique content I’ve either created myself or outsourced but it seems a lot of it is popping it up all over the web without my authorization. Do you know any methods to help stop content from being stolen? I’d genuinely appreciate it.

  48. Great items from you, man. I’ve take note your stuff prior to and you’re simply extremely magnificent. I actually like what you’ve obtained here, certainly like what you’re saying and the best way by which you say it. You make it entertaining and you still care for to keep it smart. I cant wait to learn much more from you. That is actually a terrific website.

  49. Hmm it looks like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog. I too am an aspiring blog blogger but I’m still new to everything. Do you have any tips and hints for rookie blog writers? I’d genuinely appreciate it.

  50. It is perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you can write next articles referring to this article. I wish to read more things about it!

  51. Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Kudos!

  52. My wife and i have been now satisfied when John managed to deal with his survey because of the precious recommendations he made in your site. It’s not at all simplistic to just possibly be handing out things which often a number of people might have been trying to sell. Therefore we fully grasp we now have the website owner to thank for that. All of the explanations you made, the simple website menu, the relationships you help to instill – it’s everything astonishing, and it is aiding our son and us feel that that matter is fun, which is certainly exceedingly mandatory. Thank you for all!

  53. Great goods from you, man. I have understand your stuff previous to and you’re just too wonderful. I really like what you’ve acquired here, certainly like what you are stating and the way in which you say it. You make it entertaining and you still care for to keep it wise. I can not wait to read far more from you. This is actually a tremendous web site.

  54. Hi, I think your site might be having browser compatibility issues. When I look at your blog site in Ie, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, wonderful blog!

  55. I’ve been exploring for a little bit for any high quality articles or weblog posts in this sort of area . Exploring in Yahoo I at last stumbled upon this website. Studying this info So i am satisfied to exhibit that I have an incredibly good uncanny feeling I discovered exactly what I needed. I such a lot definitely will make sure to do not overlook this website and give it a look on a continuing basis.

  56. I wanted to type a simple message to be able to thank you for all of the unique information you are posting on this website. My long internet look up has now been rewarded with extremely good facts to share with my relatives. I ‘d assume that many of us website visitors are undeniably blessed to live in a good network with very many outstanding professionals with very beneficial solutions. I feel very much blessed to have come across your webpage and look forward to tons of more fabulous minutes reading here. Thanks a lot once again for a lot of things.

  57. I’m curious to find out what blog system you’re using? I’m experiencing some minor security issues with my latest blog and I’d like to find something more risk-free. Do you have any suggestions?

  58. Today, I went to the beachfront with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!

  59. Howdy, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam feedback? If so how do you reduce it, any plugin or anything you can suggest? I get so much lately it’s driving me insane so any help is very much appreciated.

  60. Heya i’m for the first time here. I came across this board and I find It really useful & it helped me out much. I hope to give something back and aid others like you aided me.

  61. you’re in point of fact a just right webmaster. The web site loading pace is incredible. It kind of feels that you are doing any unique trick. Moreover, The contents are masterwork. you have done a excellent task on this matter!

  62. Howdy! This is my first visit to your blog! We are a collection of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a wonderful job!

  63. Thanks a lot for giving everyone an extremely pleasant chance to read articles and blog posts from this web site. It is often so lovely and as well , full of a lot of fun for me and my office co-workers to search the blog on the least 3 times in one week to read the new guidance you have. Of course, I’m just usually happy with the striking pointers you give. Certain 1 points in this posting are surely the most efficient I’ve ever had.

  64. Oh my goodness! a tremendous article dude. Thanks However I’m experiencing difficulty with ur rss . Don’t know why Unable to subscribe to it. Is there anybody getting an identical rss downside? Anyone who is aware of kindly respond. Thnkx

  65. You actually make it appear so easy together with your presentation but I in finding this matter to be actually one thing that I feel I’d never understand. It kind of feels too complicated and extremely extensive for me. I am having a look forward to your subsequent put up, I’ll attempt to get the cling of it!

  66. I’ve been exploring for a little for any high-quality articles or weblog posts in this kind of space . Exploring in Yahoo I ultimately stumbled upon this site. Studying this info So i’m happy to show that I have an incredibly good uncanny feeling I discovered just what I needed. I so much certainly will make certain to do not overlook this web site and give it a glance regularly.

  67. Thank you for the sensible critique. Me & my neighbor were just preparing to do a little research on this. We got a grab a book from our area library but I think I learned more from this post. I’m very glad to see such excellent info being shared freely out there.

  68. Hi! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My weblog looks weird when viewing from my iphone. I’m trying to find a theme or plugin that might be able to fix this issue. If you have any suggestions, please share. Thanks!

  69. I enjoy you because of each of your hard work on this web site. Gloria takes pleasure in working on research and it’s easy to understand why. A lot of people know all of the dynamic method you provide rewarding guidelines on the website and in addition increase participation from the others about this area of interest then our own girl is being taught so much. Have fun with the rest of the new year. You are always performing a remarkable job.

  70. Nice post. I was checking constantly this blog and I’m impressed! Very helpful information particularly the last part 🙂 I care for such info a lot. I was seeking this particular information for a long time. Thank you and best of luck.

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *