EMail Problem

Moderator: crythias

Locked
st3ncil
Znuny newbie
Posts: 5
Joined: 04 Apr 2012, 10:05
Znuny Version: 3.1.1
Real Name: Reto

EMail Problem

Post by st3ncil »

I'm trying to get the automatic email responsing going but it just wont work.

I have set my senmail to smtp and put the server ip of the SMTP server in host and the user plus password.

Now if I make a new ticket i get this error. I already googled and searched this forum but I can't find any solution, perhabs you guys have already seen something similar.

Backend ERROR: OTRS-CGI-10 Perl: 5.12.3 OS: MSWin32 Time: Fri Apr 13 13:40:36 2012 Message: Impossible to send message to: "test kunde" <MYMAIL>, . Traceback (1436): Module: Kernel::System::Ticket::Article::ArticleSend (v1.307) Line: 2180 Module: Kernel::Modules::AgentTicketEmail::Run (v1.202) Line: 1155 Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868 Module: ModPerl::ROOT::ModPerl::Registry::C_3a_Program_20Files_20_28x86_29_OTRS_OTRS_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 49 Module: (eval) (v1.90) Line: 204 Module: ModPerl::RegistryCooker::run (v1.90) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31

thanks for the help
grts
Reto
OTRS: 3.1.1
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: EMail Problem

Post by jojo »

have a look in the log of the mail server
"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
robmcmi
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 19:02
Znuny Version: 3.1.7
Real Name: Robert McMillen
Company: Standex International
Location: Dallas, TX

Re: EMail Problem - Error in Exchange

Post by robmcmi »

I'm having this same issue on my 3.1.7 version of OTRS installed on Windows 2008. The event log file on my Exchange Server gives an error indicating "Account does not exist". I have a Domain Account of "otrs" setup in Exchange and can open the email inbox from both OWA and Outlook.

In Postmaster, I've tried both smtp and imap. Both are enabled on Exchange for this account. In the Postmaster Mail Accounts setup, the Host IP address is correct for the Exchange server and password is good. Login is "otrs" though I've tried domain\otrs and otrs.FQDN as well.

This error occurs when I attempt to open a new Email ticket in OTRS. I'm having no issues with agent emails being sent/delivered when tickets are changed.

And I've checked the core::SendMail and other areas that reference emails in the SysConfig but don't see any mistakes.

Any other recommendations?
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: EMail Problem

Post by Wolfgangf »

and you already tested it the manually way from your otrs box to the exchange server
eg

Code: Select all

telnet <exchange_servers_ip> 110 (or 143 in case of IMAP)
user <your_username>
pass <your-pass>
what do you get?
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
robmcmi
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 19:02
Znuny Version: 3.1.7
Real Name: Robert McMillen
Company: Standex International
Location: Dallas, TX

Re: EMail Problem

Post by robmcmi »

The IMAP port (143) doesn't work but the POP3 server port (110) works with the login I'm using.
robmcmi
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 19:02
Znuny Version: 3.1.7
Real Name: Robert McMillen
Company: Standex International
Location: Dallas, TX

Re: EMail Problem

Post by robmcmi »

[root@ws130csgidc ~]# telnet
Trying 10.90.9.25...
Connected to 10.90.9.25.
Escape character is '^]'.
+OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (CSGDALMAIL.csg.standex.net) ready.
user otrs
+OK
pass i*****
+OK User successfully logged on.
quit
+OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 signing off.
Connection closed by foreign host.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: EMail Problem

Post by crythias »

POP3 (110)is get
IMAP4 is get
SMTP (25) is send

Don't troubleshoot anything but smtp.
Impossible to send is impossible to send. It could be permissions, relay, port, IP address.
http://support.microsoft.com/kb/153119
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