OTRS JumpBox, Initial setup, setup email, failure message trying access Google Apps gmailSubmitted by jackb on Thu, 06/11/2009 - 9:10amHello All, I'm a new JumpBox user and could use some assistance. I have a fresh OTRS JumpBox running locally to test and see if feasible to use it for ticketing in the company I work at. In "Postmaster Mail Management" I have setup an email account/credentials. This account is at Google Apps. When setting up the account in OTRS I can select POP3S for "Type" and run the "Run Now!" for a test and not get an error. However I would like to set this up using IMAP. When I set IMAP for the "Type" (and change host) and then select the "Run Now!" after submitting the change I get the following error that comes up in another page. BELOW THIS LINE------------------ In the OTRS JumpBox administration - Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Thu Jun 11 11:36:19 2009 Message: IMAP: Can't connect to imap.gmail.com Traceback (4422): ABOVE THIS LINE------------------ I'm not savvy enough in taking the above info and knowing what the issue is and then address it. I suspect its an issue with the mail part of the OTRS/Jumpbox not communicating via IMAP to Google. We have another JumpBox running Sugar and are able to configure it to use IMAP to Google Apps. Both JumpBoxes are on the same subnet and I do not see any log entries in the firewall that would hint to an issue where the firewall see's the OTRS Jumpbox as a rouge mail server, and then denies the traffic in exiting from the network /likewise on traffic back in from Google. Also, the settings changes between the IMAP and POP in OTRS for this test is just the protocol selection & Host entries. For POP, its "pop.gmail.com" & for IMAP its "imap.gmail.com" (both according to info supplied by Google). Do I need look into changing a config file for "Fetch" for an answer on getting this to work.......is this the mail system being used by the OTRS JumpBox? If someone would like to help with this but need additional info please feel free to ask. Thanks in advance for the help. |
JumpBox Open Collections
|
OTRS JumpBox, Initial setup, setup email
It looks like there are a couple packages missing in the JumpBox as mentioned by the person who answered your mail question. It should be a simple matter of installing these packages on the JumpBox and restarting the webserver.
First you have to enable shell or SSH access to the JumpBox:
http://wiki.jumpbox.com/doc/runtime/faq/enable_shell_access
and then SSH to the JumpBox as the admin user (using the password you set during JumpBox configuration) and run the following commands:
Now you should see the additional option of IMAPS in the "Type" drop down in the Mail Account Management section. Put in your Gmail IMAP credentials as indicated here:
http://mail.google.com/support/bin/answer.py?answer=78799
I tested with one of my private google app domains and it worked great. The one thing you need to be aware of is that it only checks for emails once every 10 minutes. So you will have to be patient, it should eventually pick up email.
Let me know if you need clarification on anything.
Austin
UPDATE: Selection for IMAPS was suggested as a fix
I have also subscribed to the OTRS mailing list and have submitted above as a question/request for assistance.
An answer/reply back to my inquiry on the IMAP error was:
"You'd have to select IMAPS, which uses an IMAP connection over SSL, to fetch messages from Gmail"
Where is this setting/configuration within the OTRS Jumpbox?
I had also inquired:
"On the accounts setup for POP3S, theres no error pages
being displayed and theres no entries in the System Log (good or bad
messages??), I also do not see any emails being pulled and displayed in any
queues within the OTRS system."
A reply to this was:
I guess in your case the POP3S connection does not work because the Perl
modules Mail::POP3Client and IO::SocketSSL need to be installed for this to
work. These are currenly NOT checked for in otrs.checkModules and also,
because of the way POP3S.pm is set up you would NOT see any error messages
when you try to connect. I have registered a bug for this in Bugzilla with
patches attached. See http://bugs.otrs.org/show_bug.cgi?id=3790
If you'd just install the mentioned perl modules (but I don't know if that
is possible on a JumpBox system?) you should be able to connect using POP3S
without any issues."
How do I (if I can for a Jumbox) apply the patches in the link to get messages into the OTRS JumpBox using POP3S?
Right now my OTRS Jumpbox project is partially stalled until I can get it setup to pull email from an Google Apps account. For now I'll continue a little bit by setting up the OTRS to pull from an internal mail server account. How ever this is not an ideal solution as we are looking to move away from an internal MS exchange box..........getting a real ticketing system up and going is needed to get away from using dedicated accounts (ie support@mydomain.com & customer_service@mydomain.com) on MS Exchange/Outlook for ticketing.
OTRS JumpBox, Initial setup, setup email, failure message trying
Good feedback and research on this. I will try configuring the same way and see what I get. We can certainly install any missing packages. As long as OTRS can actually DO it, we should, hopefully, be able make it happen. I will get back to you as soon as I can. Hopefully today.
I was a little concerned that OTRS couldn't do IMAPS when I was reading old OTRS mail list messages. But if they are telling you that it works then we have a better chance. Also, if you have links to your discussions on the OTRS mailing list that might be helpful.
Austin
Link to OTRS discussions on this
Here's what I think you are looking for:
otrs Digest, Vol 9, Issue 23
I'm OK with forums such as this for discussions/feedback as I'm familiar with this type of interaction, but I'm not too familiar with mailing lists = I'm a BIG noob because I'm very new to mailing lists for interaction. So above might not be of any help to you, just let me know what I need to look for in the emails I get in order to supply you with good info.
Thanks for joining in on this, I was just in a meeting with the company director and we are both committed to continuing to go in this direction with the OTRS system, Google Apps and moving away from MS Exchange.
Link to OTRS discussions on this
This appears to be part of your discussion:
http://lists.otrs.org/pipermail/otrs/2009-June/026787.html
Looking at it right now.
Austin
Any updates on this Austin
Austin I want to thank you for looking into this. Do you have any updates on this? If you need any additional information that I can get for you to help out with this let me know.
Jack
OTRS JumpBox, Initial setup, setup email, failure message trying
Hi Jack,
Did you try my post from 06/12/2009 at 12:25pm? Where I describe how to install the missing dependencies? Worked without a hitch for me.
Austin
Where is your post located?
Where is your post located?
OTRS JumpBox, Initial setup, setup email, failure message trying
As a comment to your main question here.
Heres the URL:
http://www.jumpbox.com/node/1601#comment-2058
Uhm it should show up on this page somewhere. Its right below your question for me, but I think that I have my comments configured to thread differently.
Austin
OK I just got done with what
OK I just got done with what you posted and this looks great, will start testing with our gmail accounts now.
On the 10 minute interval is that something we can get changed down to about 1 minute?