Hi,
Â
I have a weird problem, I want to install the POP3 SSL but after I installed it when I check via ./otrs.checkModules it shows as not installed.
Â
o Mail::POP3Client...............ok (v2.18 )
     o IO::Socket::SSL.............Not installed! (Optional - for POP3 SSL connections)
  o Net::IMAP::Simple..............ok (v1.17)
     o Net::IMAP::Simple::SSL......Not installed! (Optional - Required for SSL connections.)
Â
But I went to CPAN and tried to install IO::Socket::SSL and it says that it is already installed and up to date.
Â
cpan[1]> install IO::Socket::SSL
CPAN: Storable loaded ok (v2.18)
Going to read '/home/msiadmin/.cpan/Metadata'
 Database was generated on Wed, 16 Dec 2009 01:41:58 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 42 yaml files from /home/msiadmin/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 0.9081 secs) IO::Socket::SSL is up to date (1.31).
Â
 Any one has any idea?
Â
Regards,
Zak
Anyone has any idea on how to enable the SSL on pop3?
Sent: Wednesday, December 16, 2009 9:53 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation
Anyone has any idea on how to enable the SSL on pop3?Â
> CPAN: Storable loaded ok (v2.18)
> Going to read '/home/msiadmin/.cpan/Metadata'
You have probably installed the module in the .cpan directory of the
msiadmin user.
You should really install the library by running CPAN as 'root' so
that it will be available to both the OTRS user and the web server
user.
Hope this helps,
--
Michiel Beijen
R&D
OTRS AG
Norsk-Data-Str 1.
61352 Bad Homburg
Germany
T: +31 (0) 6457 42418
F: +49 (0) 9421 56818-18
I: http://www.otrs.com/
Business location: Bad Homburg, Country Court: Bad Homburg, HRB 10751,
VAT ID: DE256610065
Chairman: Burchard Steinbild, Managing Board: André Mindermann
CU@ CeBIT 2010 in Hannover (Germany) and get to know more about OTRS
at booth no. C37, in hall 2 from March 2-6, 2010! http://bit.ly/4qLvqm
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
>
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
I had run "sudo perl -MCPAN -e shell" and then run in CPAN I run "install IO::Socket::SSL"
But I still see in ./otrs.checkModules that SSL socket is not installed.
Is there any other way to run as root?
Regards,
Zak
-----Original Message-----
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] On Behalf Of Michiel Beijen
Sent: Thursday, December 17, 2009 4:09 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation
Hi Mohamed,
#####################################################################################
This email is confidential and intended solely for the use of the individual to whom
it is addressed. If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing or copying
of this email is strictly prohibited. If you have received this email in error
please contact the sender.
#####################################################################################
(1) What happened in during the install? What was the output?
(2) Can you su to root rather than sudo? This is better in server environ
IMO.
> Is there any other way to run as root?
Try su-ing to root (su -).
gl,lq
---------------------------------------------------------------------
When I try to install ssl in CPAN this is the output.
cpan[1]> install IO::Socket::SSL
CPAN: Storable loaded ok (v2.18)
Going to read '/home/msiadmin/.cpan/Metadata'
Database was generated on Thu, 17 Dec 2009 03:52:42 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 77 yaml files from /home/msiadmin/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 2.5054 secs) IO::Socket::SSL is up to date (1.31).
I did sudo bash and install as root still the same result.
I think my problem is the CPAN is regarding the home folder as "/home/msiadmin/.cpan/Metadata" I need to change this path to "/opt/otrs/.cpan/Metadata" which is the OTRS home folder. Anyone has any clue on how to change this?
Zak,
gl,lq
#####################################################################################
This email is confidential and intended solely for the use of the individual to whom
it is addressed. If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing or copying
of this email is strictly prohibited. If you have received this email in error
please contact the sender.
#####################################################################################
Hello,
I am trying to set the Queue View on Small to show more than default. I tried setting these two parameters in SysConfig:
Config Options: Ticket -> Frontend::Agent::TicketOverview
-> PageShown 99
Config Options: Ticket -> Frontend::Agent::Ticket::ViewStatus
-> ViewableTicketsPage 99
Then I go to my queue that has hundreds of open items and click on the small view icon in the upper right hand side. The Ticket numbering shows this:
Tickets: 1-99 of 378 - Page: 1 2 3 4
But if you count the tickets shown on the page it only shows 51 tickets.
I can't find any other paramerers to set in the Sysconfig.
I looked at the TicketOverviewSmall.pm to see if I could find a limit being set or anything, but it appears to be a simple loop...
my $Counter = 0;
for my $TicketID ( @{ $Param{TicketIDs} } ) {
$Counter++;
if ( $Counter >= $Param{StartHit} && $Counter < ( $Param{PageShown} + $Param{StartHit} ) ) {
Reading this it should loop until $Counter is greater than PageShown + StartHit. I can't find StartHit, but I am guessing it is 1 for the first ticket unless you click on another page and start at a greater ticket number. Based on this the loop is stopping at 51 because it thinks PageShow is 50.
I set PageShown to 99, so I am wondering if there is an upper limit somewhere? Is there a parameter I am missing?
-chrisl
******************************************************************************
This communication (including any attachments) may contain privileged or
confidential information intended for a specific individual and purpose,
and is protected by law. If you are not the intended recipient, you should
delete this communication and/or shred the materials and any attachments and
are hereby notified that any disclosure, copying, or distribution of this
communication, or the taking of any action based on it, is strictly prohibited.
Thank you.
Can anyone help me with this? Without the email function it's not very useful to implement in my environment.
Sometimes I've had problems with installing PERL modules through CPAN,
and had to resort to installing them manually. Download the module from
http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-1.31.tar.gz
- then install as per the instructions on this site:
http://www.thegeekstuff.com/2008/09/how-to-install-perl-modules-manually-and-using-cpan-command/
as root.
Good luck!
David
Hi,
Â
Thanks for your mail. I am not able to su. When I do a su I’m prompted for a password and when I enter in my password it says authentication failure. I tried with my admin account and got the same error message. What do I now?
Â
Regards,
Zak
Thanks for your help. I tried it and it didn't work. Finally while googling I stumbled upon installing perl modules via package manager in ubuntu. I tried that and it works now.
Thanks to everyone for all your help, really appreciate it.
On another note, the tickets are only created if I go postmaster mail account and click "run now". Is this normal? Could this be made to look for new mails automatically?
Check out configuring the cronjobs in the installation guide.
One of the commands being scheduled is to retrieve e-mail.
Met vriendelijke groet,
Niels L.M. van Adrichem
ITCall - Your Partner in Telecom and Contact Center Services!
Tel: +31 (0) 10 707 38 98
Mob: +31 (0) 6 234 95 069
Fax: +31 (0) 10 519 08 70
E-mail: NvanAd...@ITCall.NL
Rodenrijseweg 70
2651 BV BERKEL & RODENRIJS
Thank you for your mail. I have rename the scripts without the .dist and I went to otrs home folder/bin and run ./Cron.sh start. It says done. But my mails not going in to the queue. What did I miss out?
This is the output I get.
otrs@otrs:~$ crontab -u otrs -l
# --
# cron/aaa_base - base crontab package
# Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ # -- # $Id: aaa_base.dist,v 1.7 2009/02/16 20:35:25 tr Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# Who gets the cron emails?
MAILTO="root@localhost"
# --
# cron/fetchmail - fetchmail cron of the OTRS # Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ # -- # $Id: fetchmail.dist,v 1.10 2009/02/16 20:53:10 tr Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# fetch every 5 minutes emails via fetchmail
#*/5 * * * * [ -x /usr/bin/fetchmail ] && /usr/bin/fetchmail -a
>> /dev/null
#*/5 * * * * /usr/bin/fetchmail -a --ssl >> /dev/null
# --
# cron/postmaster - postmaster cron of the OTRS # Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ # -- # $Id: postmaster.dist,v 1.9 2009/02/16 20:55:11 tr Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# check daily the spool directory of OTRS #10 0 * * * * [ -e /etc/init.d/otrs ] && /etc/init.d/otrs cleanup
>> /dev/null; [ -e /etc/rc.d/init.d/otrs ] && /etc/rc.d/init.d/otrs
cleanup >> /dev/null
10 0 * * * $HOME/bin/otrs.cleanup >> /dev/null # -- # cron/postmaster_mailbox - postmaster_mailbox cron of the OTRS # Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ # -- # $Id: postmaster_mailbox.dist,v 1.2 2009/02/16 20:55:11 tr Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# fetch emails every 10 minutes
*/10 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null
otrs@otrs:~$
Anyone has any clue to why the cron job is not fetching the mails? Is it because of this syntax?
# Who gets the cron emails?
MAILTO="root@localhost"
Is there any ways to check if the cron job is running or the status of the job?
What happens if you execute the command $HOME/bin/PostMasterMailbox.pl
Replace $HOME with your otrs-home dir.
root@localhost receives the notifications of failed cron jobs.
Add a cron job like `touch /tmp/test.txt` to check whether it is executed and watch you /var/log/messages closely.
I did not get a response on this so I though I would try a little different question. I want to show more tickets per page. Specifically I want to show more on the Small Queue View. What settings would I change? You can look at the previous email to see what I have tried.
-chrisl
-----Original Message-----
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org] On Behalf Of Christopher Lee
Sent: Thursday, December 17, 2009 5:50 PM
To: User questions and discussions about OTRS.
I get this output.
otrs@otrs:/$ /opt/otrs/bin/PostMasterMailbox.pl
POP3S: Message 1/1 (ot...@abc.com/10.200.1.32)
ERROR: OTRS-PMAccount-10 Perl: 5.10.0 OS: linux Time: Wed Dec 23
08:39:46 2009
Message: Can't send to 'root@localhost': 5505.7.1 Unable to relay ! Enable Net::SMTP debug for more info!
Traceback (31268):
Module: Kernel::System::Email::SMTP::Send (v1.25) Line: 131
Module: Kernel::System::Email::Send (v1.64) Line: 683
Module: Kernel::System::Ticket::Article::SendAgentNotification
(v1.232) Line: 2194
Module: Kernel::System::Ticket::Article::ArticleCreate (v1.232) Line:
398
Module: Kernel::System::PostMaster::NewTicket::Run (v1.75) Line: 245
Module: Kernel::System::PostMaster::Run (v1.83) Line: 351
Module: Kernel::System::MailAccount::POP3S::Fetch (v1.10) Line: 192
Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line:
380
Module: main::Fetch (v1.10) Line: 181
Module: /opt/otrs/bin/PostMasterMailbox.pl (v1.10) Line: 94
POP3S: Connection to 10.200.1.32 closed.
otrs@otrs:/$
Although there is some error after running this command I can receive the mail in the otrs. But only for that instance, I guess it is equivalent to running "run now".
I managed to solve the issue, the problem was the crontab file was pointing to $home/otrs and not /opt/otrs once I changed this, it worked fine.
Thanks all.