Configure otrs mail service

Moderator: crythias

Locked
dpina
Znuny newbie
Posts: 6
Joined: 11 Oct 2013, 17:18
Znuny Version: 3.2.10
Real Name: David Piña
Company: Fundacion Instituto de Ingenieria

Configure otrs mail service

Post by dpina »

Good afternoon, I'm trying to configure the incoming and outgoing mail in OTRS 3.2.10 and throws me the following error .

Backend ERROR : OTRS - CGI -10 Perl : 5.10.1 OS : linux Time : Fri October 11 9:54:11 2013 Message : POP3 : Auth for user usuario/correo.com failed! RemoteAddress : 172.25.1.33 requestUri : Traceback ( 1695 ) : Module : Kernel :: System :: MailAccount :: POP3 :: Fetch ( OTRS 3.2.10 ) Line : 123 Module : Kernel :: System :: MailAccount :: MailAccountFetch ( OTRS 3.2.10 ) Line : 419 module : Kernel :: Modules :: AdminMailAccount :: Run ( OTRS 3.2.10 ) Line : 64 module : Kernel :: System :: web :: InterfaceAgent :: Run ( OTRS 3.2.10 ) Line : 863 module: ModPerl :: ROOT :: ModPerl :: Registry :: opt_otrs_bin_cgi_2dbin_index_2epl :: handler (unknown version) Line: 41 Module: (eval ) ( v1.99 ) Line : 204 Module: ModPerl :: RegistryCooker :: run ( v1.99 ) Line : 204 module: ModPerl :: RegistryCooker :: default_handler ( v1.99 ) Line : 170 module: ModPerl :: Registry :: handler ( v1.99 ) Line : 31

What is not is how to configure the POP3 option in OTRS
Last edited by dpina on 14 Oct 2013, 21:05, edited 1 time in total.
bpage
Znuny newbie
Posts: 5
Joined: 07 Oct 2013, 19:22
Znuny Version: 3.2.10

Re: Configure otrs mail service

Post by bpage »

You have an authentication error. Double check your mail account name and credentials, as well as your mail protocol (POP3/POP3S/IMAP/IMAPS).
OS: CentOS 6
OTRS Version: 3.2.10
OTRS DB: MySQL
dpina
Znuny newbie
Posts: 6
Joined: 11 Oct 2013, 17:18
Znuny Version: 3.2.10
Real Name: David Piña
Company: Fundacion Instituto de Ingenieria

Re: Configure otrs mail service

Post by dpina »

I have verified this information and no where else to set or change. Nor if OTRS is taking the correct port and parameter requesting access mail server.

I have no information that tells me how to set incoming mail or outgoing mail.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure otrs mail service

Post by crythias »

pop3 is incoming mail
Go to Admin
Email Settings box (upper right)
PostMasterMail Accounts
Edit mail account/permissions.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
dpina
Znuny newbie
Posts: 6
Joined: 11 Oct 2013, 17:18
Znuny Version: 3.2.10
Real Name: David Piña
Company: Fundacion Instituto de Ingenieria

Re: Configure otrs mail service

Post by dpina »

Good afternoon error still persists I have configured the mail server domain, password, user, among others. There will be some way to check if OTRS is communicating with the mail server.

Thank you.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Configure otrs mail service

Post by jojo »

an authentication error is not an OTRS error. Check your settings and the logfile of the mailserver
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dpina
Znuny newbie
Posts: 6
Joined: 11 Oct 2013, 17:18
Znuny Version: 3.2.10
Real Name: David Piña
Company: Fundacion Instituto de Ingenieria

Re: Configure otrs mail service

Post by dpina »

I've reviewed several times the configuration of the mail system. You need to set some data in "Framework -> Core :: Sendmail". Even still can make some kind of connection to the mail server, it seems you are trying to connect locally to the machine where I have installed OTRS.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure otrs mail service

Post by crythias »

dpina wrote:You need to set some data in "Framework -> Core :: Sendmail
This is for sending mail. It is not for pop.
dpina wrote:POP3 : Auth for user usuario/correo.com failed! RemoteAddress : 172.25.1.33
bpage wrote:You have an authentication error
crythias wrote:pop3 is incoming mail
Go to Admin
Email Settings box (upper right)
PostMasterMail Accounts
Edit mail account/permissions.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
dpina
Znuny newbie
Posts: 6
Joined: 11 Oct 2013, 17:18
Znuny Version: 3.2.10
Real Name: David Piña
Company: Fundacion Instituto de Ingenieria

Re: Configure otrs mail service

Post by dpina »

But what I can not give you is to contact the OTRS real address der mail server. The address shown as RemoteAddress: 172.25.1.33 is the address of the machine where this OTRS.

Reformulating prguenta where I set the output to the mail server to not make the request to the local machine can really do to the mail server of the company.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure otrs mail service

Post by crythias »

dpina wrote:Reformulating prguenta where I set the output to the mail server to not make the request to the local machine can really do to the mail server of the company.
crythias wrote:crythias wrote:
pop3 is incoming mail
Go to Admin
Email Settings box (upper right)
PostMasterMail Accounts
Edit mail account/permissions.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
dpina
Znuny newbie
Posts: 6
Joined: 11 Oct 2013, 17:18
Znuny Version: 3.2.10
Real Name: David Piña
Company: Fundacion Instituto de Ingenieria

Re: Configure otrs mail service

Post by dpina »

Greetings grateful for the responses . I have verified the information you've recommended Connection to mail server over and over again and I checked the machine to communicate with the server getting off Thunderbird be proven and sending out mail. What led me to review all I got and enconte Log OTRS when you try to send or receive mail consultation doing Localhost or the local IP of the machine. Now I consult if that can be changed somewhere within OTRS configurations because in the administration of the mail account I agredado Host IP and reverse it and still does not connect to the mail server .

From OTRS @ 1301pcsice9013 Mon October 21 14:11:01 2013
Return-Path : <otrs@1301pcsice9013>
Received: from 1301pcsice9013 (localhost [ 127.0.0.1 ] )
by 1301pcsice9013 ( 8.14.3/8.14.3/Debian-9.1ubuntu1 ) WITH ESMTP id r9LIf1BA021288
for <root@1301pcsice9013> ; Mon , October 21, 2013 14:11:01 -0430
Received : (from otrs @ localhost )
by 1301pcsice9013 ( 8.14.3/8.14.3/Submit ) id r9LIf10x021275
for root @ localhost; Mon , October 21, 2013 14:11:01 -0430
Date: Mon , October 21, 2013 14:11:01 -0430
Message- Id: < 201310211841.r9LIf10x021275 @ 1301pcsice9013 >
From: root @ 1301pcsice9013 ( Cron Daemon )
To : root @ 1301pcsice9013
Subject : Cron <otrs@1301pcsice9013> $ HOME / bin / otrs.GenericAgent.pl -c db >> / dev / null
Content- Type: text / plain ; charset = ANSI_X3.4 - 1968
X - Cron -Env : <MAILTO=root@localhost>
X - Cron -Env : <SHELL=/bin/sh>
X - Cron -Env : <HOME=/home/otrs>
X - Cron -Env : <PATH=/usr/bin:/bin>
X - Cron -Env : <LOGNAME=otrs>

/ bin / sh : / home / otrs / bin / otrs.GenericAgent.pl : not found


Backend ERROR : OTRS - CGI -10 Perl : 5.10.1 OS : linux Time: Mon October 21 13:27:35 2013 Message : Impossible to send message to: correo@correo.com . RemoteAddress : 172.25.1.33 requestUri : / otrs / index.pl Traceback ( 11066 ) : Module : Kernel :: System :: Ticket :: Article :: ArticleSend ( OTRS 3.2.10 ) Line : 2071 Module : Kernel :: Modules :: AgentTicketForward :: SendEmail ( OTRS 3.2.10 ) Line : 855 ​​Module : Kernel :: Modules :: AgentTicketForward :: Run ( OTRS 3.2.10 ) Line : 113 Module : Kernel :: System :: web :: InterfaceAgent :: Run ( OTRS 3.2.10 ) Line : 863 Module: ModPerl :: ROOT :: ModPerl :: Registry :: opt_otrs_bin_cgi_2dbin_index_2epl :: handler (unknown version) Line: 41 Module: (eval ) ( v1.99 ) Line : 204 Module: ModPerl : : RegistryCooker :: run ( v1.99 ) Line : 204 Module: ModPerl :: RegistryCooker :: default_handler ( v1.99 ) Line : 170 Module: ModPerl :: Registry :: handler ( v1.99 ) Line : 31

Here is where I see Localhost is linking to the mail service . And not trying to make connection to the mail server that is connected to the Internet.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure otrs mail service

Post by crythias »

Your first error was an error on receiving mail (POP3)

Your last post was an error on sending mail (impossible to send).

Impossible to send means:
1) port 25 outbound from OTRS is blocked (SMTP)
2) any configured smarthost is unavailable (SMTP/Firewall)
3) any sendmail service on the OTRS server is not running.
dpina wrote: not trying to make connection to the mail server that is connected to the Internet.
This is true. try:
telnet servername 25
dpina wrote:/ bin / sh : / home / otrs / bin / otrs.GenericAgent.pl : not found
^^^^ This means your otrs user has a home directory (see /etc/passwd) that isn't the same as the path of OTRS (usually, /opt/otrs) ^^^^^
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked