Help with SMTP
Moderator: crythias
Help with SMTP
Our email admin recently upgraded to exchange 2008 and no longer allow IMAP connections. So I'm forced to use SMTP. I have tested the SMTP connection to the exchange server using command line and am successful. I have added the following to my config.pm for SMTP:
# SendmailModule
$Self->{"SendmailModule"} = "Kernel::System::Email::SMTP";
$Self->{"SendmailModule::Host"} = "Email Server";
$Self->{"SendmailModule::AuthUser"} = "Test_Account";
$Self->{"SendmailModule::AuthPassword"} = "Test_Password";
$Self->{'SendmailModule::Port'} = '25';
In the SendMail Config the SMTP option shows up in the drop down list but when I try to submit an ticket the ticket goes to a white screen. I ran the perl script to see what modules are installed the SMTP protocol is installed, we don't have any use for SSL/TLS:
o Net::SMTP........................ok (v2.31)
o Authen::SASL..................ok (v2.15)
o Net::SMTP::SSL................Not installed! (Optional - Required for SSL/SMTPS connections.)
o Net::SMTP::TLS::ButMaintained.Not installed! (Optional - Required for TLS/SMTP connections.)
The log shows nothing. Thoughts, Suggestions?
Thanks
Rich
# SendmailModule
$Self->{"SendmailModule"} = "Kernel::System::Email::SMTP";
$Self->{"SendmailModule::Host"} = "Email Server";
$Self->{"SendmailModule::AuthUser"} = "Test_Account";
$Self->{"SendmailModule::AuthPassword"} = "Test_Password";
$Self->{'SendmailModule::Port'} = '25';
In the SendMail Config the SMTP option shows up in the drop down list but when I try to submit an ticket the ticket goes to a white screen. I ran the perl script to see what modules are installed the SMTP protocol is installed, we don't have any use for SSL/TLS:
o Net::SMTP........................ok (v2.31)
o Authen::SASL..................ok (v2.15)
o Net::SMTP::SSL................Not installed! (Optional - Required for SSL/SMTPS connections.)
o Net::SMTP::TLS::ButMaintained.Not installed! (Optional - Required for TLS/SMTP connections.)
The log shows nothing. Thoughts, Suggestions?
Thanks
Rich
-
- Znuny ninja
- Posts: 1312
- Joined: 25 May 2012, 08:51
- Znuny Version: OTRS 4
- Real Name: Klaus Nehrer
Re: Help with SMTP
Which OTRS Version?
Re: Help with SMTP
OTRS 3.1.1
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Help with SMTP
IMAP is to obtain mail (inbound). SMTP is to Send mail (outbound).rtorres wrote:no longer allow IMAP connections. So I'm forced to use SMTP
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
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
Re: Help with SMTP
I understand that but the email admin has blocked imap and will not open it. Results of telnet imap:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
\>TELNET Email.Server.Net
Connecting To Email.Server.Net...Could not open connection to
the host, on port 23: Connect failed
Results of SMTP:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
\>TELNET Email.Server.net 25
220 Email.Server.Net Microsoft ESMTP MAIL Service ready
Do I have any other options here?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
\>TELNET Email.Server.Net
Connecting To Email.Server.Net...Could not open connection to
the host, on port 23: Connect failed
Results of SMTP:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
\>TELNET Email.Server.net 25
220 Email.Server.Net Microsoft ESMTP MAIL Service ready
Do I have any other options here?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Help with SMTP
TELNET Email.Server.Net
Connecting To Email.Server.Net...Could not open connection to
the host, on port 23: Connect failed
23 is telnet port
143 is IMAP port
But first, you need to specify the problem to solve.
Is it:
I can't send mail.
or
I can't retrieve tickets.
Why can't the email admin allow IMAP only for your otrs IP address?
Can you use POP3 instead?
>(probably not, for the same reasons)
Can you try IMAP/S or POP3/S
>maybe, but probably not if your OTRS doesn't support it or the email admin refuses.)
Can you host your own SMTP server on the OTRS box and have the email admin use your otrs box as a smarthost for delivery of tickets?
>Possibly, but you'd need to know what this entails. In linux, you'd want to enable procmail and make sure postfix or whatever MTA allows inbound SMTP connections. It's a bit complicated if you're asking "how to get emails from your email admin" on this forum.
In windows, I have a walkthrough with hmailserver (in the HowTos) to receive tickets instantly, but again, the "how can I get emails" is a question to address with your email provider, not from OTRS forum.
The valid answers are:
POP3, POP3/S, IMAP4, IMAP4/S or direct receipt via procmail or smtpserver. OR just web interface only.
Connecting To Email.Server.Net...Could not open connection to
the host, on port 23: Connect failed
23 is telnet port
143 is IMAP port
rtorres wrote:I understand that but the email admin has blocked imap and will not open it
Yes.rtorres wrote:Do I have any other options here?
But first, you need to specify the problem to solve.
Is it:
I can't send mail.
or
I can't retrieve tickets.
Why can't the email admin allow IMAP only for your otrs IP address?
Can you use POP3 instead?
>(probably not, for the same reasons)
Can you try IMAP/S or POP3/S
>maybe, but probably not if your OTRS doesn't support it or the email admin refuses.)
Can you host your own SMTP server on the OTRS box and have the email admin use your otrs box as a smarthost for delivery of tickets?
>Possibly, but you'd need to know what this entails. In linux, you'd want to enable procmail and make sure postfix or whatever MTA allows inbound SMTP connections. It's a bit complicated if you're asking "how to get emails from your email admin" on this forum.
In windows, I have a walkthrough with hmailserver (in the HowTos) to receive tickets instantly, but again, the "how can I get emails" is a question to address with your email provider, not from OTRS forum.
The valid answers are:
POP3, POP3/S, IMAP4, IMAP4/S or direct receipt via procmail or smtpserver. OR just web interface only.
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
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
Re: Help with SMTP
I was just checking out hmail. Can you provide me the link to it please?
Re: Help with SMTP
Hmm just reviewed my post and the top half of it is missing. When the new email server was activated our ticket submissions would just go to a white screen after you click submit. That is the issue I am experiencing. A little poking around yielded IMAP no longer worked. Maybe there is a different problem I am having related to the white screen issue?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Help with SMTP
viewtopic.php?f=60&t=20319rtorres wrote:I was just checking out hmail. Can you provide me the link to it please?
Yes. Two different problems.rtorres wrote:When the new email server was activated our ticket submissions would just go to a white screen after you click submit. That is the issue I am experiencing. A little poking around yielded IMAP no longer worked. Maybe there is a different problem I am having related to the white screen issue?
White screen on submit is a problem with sending email.
IMAP is a problem if your fetch is via IMAP (you won't be able to receive email tickets if you use IMAP as transport.)
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
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
Re: Help with SMTP
ok thanks for the link. I am over trying to work with these guys. I will try to get this hmail server rolling. Thanks again for providing a how to link for hmail 

Re: Help with SMTP
Got it figured out. I got the hmail to work *Thanks for the tutorial* but started having issues with our voip system trying to authenticate to it. Found out I no longer have to pass credentials for it to work on the main exchange. Still does not work for IMAP but take what I can get at this point.
Thanks again!
Thanks again!