Hi,

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.

Regards,
Zak

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mohamed 
Zakaria
Sent: Wednesday, December 23, 2009 8:54 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation

Dear Sir,

I get this output.

o...@otrs:/$ /opt/otrs/bin/PostMasterMailbox.pl
POP3S: Message 1/1 ([email protected]/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 'r...@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.

o...@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".

Regards,
Zak

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Niels 
van Adrichem
Sent: Tuesday, December 22, 2009 8:30 PM
To: 'User questions and discussions about OTRS.'
Subject: Re: [otrs] POP3 SSL Installation

Hi,

What happens if you execute the command $HOME/bin/PostMasterMailbox.pl
Replace $HOME with your otrs-home dir.

r...@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.

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: [email protected]
Rodenrijseweg 70
2651 BV BERKEL & RODENRIJS


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mohamed 
Zakaria
Sent: dinsdag 22 december 2009 13:22
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation

Hi,

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="r...@localhost"

Is there any ways to check if the cron job is running or the status of the job?

Regards,
Zak
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mohamed 
Zakaria
Sent: Tuesday, December 22, 2009 8:23 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation

Hi,

This is the output I get.

o...@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="r...@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
o...@otrs:~$



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Niels 
van Adrichem
Sent: Monday, December 21, 2009 5:49 PM
To: 'User questions and discussions about OTRS.'
Subject: Re: [otrs] POP3 SSL Installation

What does `crontab -u otrs -l` mention?
If your otrs user has another name replace otrs with the appropriate name.


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: [email protected]
Rodenrijseweg 70
2651 BV BERKEL & RODENRIJS



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mohamed 
Zakaria
Sent: maandag 21 december 2009 10:42
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation

Dear sir,

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?

Regards,
Zak

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Niels 
van Adrichem
Sent: Monday, December 21, 2009 5:08 PM
To: 'User questions and discussions about OTRS.'
Subject: Re: [otrs] POP3 SSL Installation

Dear Mohamed,

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: [email protected]
Rodenrijseweg 70
2651 BV BERKEL & RODENRIJS


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mohamed 
Zakaria
Sent: maandag 21 december 2009 6:57
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation

Dear David,

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?

Regards,
Zak

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David 
Holder
Sent: Monday, December 21, 2009 4:41 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] POP3 SSL Installation

Hi Zak,

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


Mohamed Zakaria wrote:
> Hi,
>
> Can anyone help me with this? Without the email function it's not very useful 
> to implement in my environment.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Mohamed Zakaria
> Sent: Friday, December 18, 2009 8:44 AM
> To: User questions and discussions about OTRS.
> Subject: Re: [otrs] POP3 SSL Installation
>
> Dear Mr Marshall,
>
> 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?
>
> Regards,
> Zak
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of LQ 
> Marshall
> Sent: Thursday, December 17, 2009 11:03 PM
> To: 'User questions and discussions about OTRS.'
> Subject: Re: [otrs] POP3 SSL Installation
>
> Zak,
>
> (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
>
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On
>> Behalf Of Mohamed Zakaria
>> Sent: Thursday, December 17, 2009 3:28 AM
>> To: User questions and discussions about OTRS.
>> Subject: Re: [otrs] POP3 SSL Installation
>>
>> Hi,
>>
>> 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: [email protected] [mailto:[email protected]] 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,
>>
>>
>>> 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 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/
> #####################################################################################
> 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.
> #####################################################################################
> ---------------------------------------------------------------------
> 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/
> #####################################################################################
> 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.
> #####################################################################################
> ---------------------------------------------------------------------
> 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/
#####################################################################################
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.
#####################################################################################
---------------------------------------------------------------------
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/
#####################################################################################
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.
#####################################################################################
---------------------------------------------------------------------
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/
#####################################################################################
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.
#####################################################################################
---------------------------------------------------------------------
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/
#####################################################################################
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.
#####################################################################################
---------------------------------------------------------------------
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/
#####################################################################################
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.
#####################################################################################
---------------------------------------------------------------------
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/
#####################################################################################
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.
#####################################################################################
---------------------------------------------------------------------
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/

Reply via email to