Impossible to send message to - MS Exchange 2010

Moderator: crythias

Locked
bbrock
Znuny newbie
Posts: 7
Joined: 30 Aug 2012, 21:01
Znuny Version: 3.1.7
Real Name: Brian Brock
Company: Nivsys Inc.

Impossible to send message to - MS Exchange 2010

Post by bbrock »

I'm getting the error below. We are on OTRS 3.1.3 and sending email through Exchange server 2010. I have set up IMAP, POP, and unrestricted forwarding via an alternate internal only IP address. I changed the domain name to protect the innocent.

Oops! An Error occurred.
Error Message: Impossible to send message to: bbrock@ourcompany.com .
Please contact the admin..
You can Send a bugreport or go back to the previous page.
Error Details
Backend ERROR: OTRS-CGI-07 Perl: 5.14.2 OS: linux Time: Thu Aug 30 14:59:53 2012 Message: Impossible to send message to: bbrock@ourcompany.com . Traceback (15983): Module: Kernel::System::Ticket::Article::ArticleSend (v1.309) Line: 2180 Module: Kernel::Modules::AgentTicketForward::SendEmail (v1.130) Line: 822 Module: Kernel::Modules::AgentTicketForward::Run (v1.130) Line: 118 Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46

I found several posts that put forward this error, but none of them seem to have a solution attached that works for our install.

We have the incoming email box working, it is creating tickets, in the correct queues, but none of the emails to the agents, or replies to the customers are being sent.

I've been trying to get this working for 3 days now, any help would be appreciated

Also, this was working in prior versions of OTRS 2.x, and stopped working when we upgraded.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Impossible to send message to - MS Exchange 2010

Post by jojo »

plese check your Exchange logs
"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
bbrock
Znuny newbie
Posts: 7
Joined: 30 Aug 2012, 21:01
Znuny Version: 3.1.7
Real Name: Brian Brock
Company: Nivsys Inc.

Re: Impossible to send message to - MS Exchange 2010

Post by bbrock »

there were no logs that contained anything that was relevant. I noticed an error that RPC was not configured over HTTP, but the error didn't coincide with the email send errors.

I changed the relay to be completely open and it seems to work, but it's a large security issue that this is the only way to get it working. I would like to lock down the procedure to be SMTP relaying to my Exchange with a userid/password. Nothing that I've tried will work for that.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Impossible to send message to - MS Exchange 2010

Post by crythias »

try it by telnet to port 25 from the otrs box. If it works, so will OTRS. 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
bbrock
Znuny newbie
Posts: 7
Joined: 30 Aug 2012, 21:01
Znuny Version: 3.1.7
Real Name: Brian Brock
Company: Nivsys Inc.

Re: Impossible to send message to - MS Exchange 2010

Post by bbrock »

I did that before I posted here, and it works fine. It did not work for otrs
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Impossible to send message to - MS Exchange 2010

Post by crythias »

Can you provide a redacted screenshot of your Postmaster settings?
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
bbrock
Znuny newbie
Posts: 7
Joined: 30 Aug 2012, 21:01
Znuny Version: 3.1.7
Real Name: Brian Brock
Company: Nivsys Inc.

Re: Impossible to send message to - MS Exchange 2010

Post by bbrock »

Type: POP3
Username: support@ourcompany.com
password: ***************
host: mail.ourcompany.com
Trusted: Yes
Dispaching: Dispaching by selected queue
Queue: Raw
validity: valid
comment:

that's it...
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Impossible to send message to - MS Exchange 2010

Post by crythias »

That's receive. How about send? SysConfig, Edit Config Settings in Framework -> Core::Sendmail
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
bbrock
Znuny newbie
Posts: 7
Joined: 30 Aug 2012, 21:01
Znuny Version: 3.1.7
Real Name: Brian Brock
Company: Nivsys Inc.

Re: Impossible to send message to - MS Exchange 2010

Post by bbrock »

d'oh... sorry I knew better!

SendmailModule SMTP
SendmailModule::CMD /usr/sbin/sendmail -i -f -t
SendmailModule::Host mail.mycompany.com - I currently have this set to the internal IP that does unrestricted relay, but my MX host doesn't work
SendmailModule::Port 25
SendmailEncodingForce base64

the rest is left unchecked, but I had userid/password validation for the mx host for SendmailModule::AuthUser and SendmailModule::AuthPassword

I've also tried it with sendmail and every other combination I could come up with
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Impossible to send message to - MS Exchange 2010

Post by crythias »

You may need to put an email address in SendmailNotificationEnvelopeFrom
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
bbrock
Znuny newbie
Posts: 7
Joined: 30 Aug 2012, 21:01
Znuny Version: 3.1.7
Real Name: Brian Brock
Company: Nivsys Inc.

Re: Impossible to send message to - MS Exchange 2010 [SOLVED

Post by bbrock »

thank you... that worked!
Locked