I have also tried to configure POP3S and SMTPS with no resolution. If I attempt to use either POP3S or SMTPS when I send an email I receive the error below:
Code: Select all
Error: Can't connect to example.com
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Tue Dec 18 10:32:37 2012 Message: Can't connect to example.com: ! Traceback (24181): Module: Kernel::System::Email::SMTPS::Send (v1.2) Line: 92 Module: Kernel::System::Email::Send (v1.64.2.4) Line: 695 Module: Kernel::System::Ticket::Article::ArticleSend (v1.232.2.5) Line: 2037 Module: Kernel::Modules::AgentTicketCompose::Run (v1.81.2.13) Line: 452 Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.4) Line: 830 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48
Environment is:
OTRS 2.4.10 running on CentOS 5.6 with LDAP for users.
Config.pm is below:
Code: Select all
package Kernel::Config;
sub Load {
my $Self = shift;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# Start of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# Authentication Settings #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# $Self->{'AuthModule'} = 'Kernel::System::Auth::DB';
# AD authentication
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'ldap.example.com';
$Self->{'AuthModule::LDAP::BaseDN'} = 'DC=example,DC=com';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=OTRS User,OU=users,DC=example,DC=com';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'password';
# Group based authentication
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=otrs,ou=groups,ou=users,dc=example,dc=com';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
# $Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
# LDAP user info
# CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser1} = {
Name => 'Zimbra',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => 'mail.example.com',
# ldap base dn
BaseDN => 'dc=example,dc=com',
# search scope (one|sub)
SSCOPE => 'sub',
# The following is valid but would only be necessary if the
# anonymous user does NOT have permission to read from the LDAP tree
UserDN => '',
UserPw => '',
# in case you want to add always one filter to each ldap query, use
# this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => '(objectclass=user)'
AlwaysFilter => '',
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
Params => {
port => 993,
version => 3,
},
},
# customer uniq id
CustomerKey => 'uid',
# customer #
CustomerID => 'mail',
CustomerUserListFields => ['uid', 'cn', 'mail'],
CustomerUserSearchFields => ['uid', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
AdminSetPreferences => 0,
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown, required, storage-type
[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
[ 'UserLogin', 'Username', 'uid', 1, 1, 'var' ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],
[ 'UserComment', 'Comment', 'description', 1, 0, 'var' ],
],
};
# ---------------------------------------------------- #
# database settings #
# ---------------------------------------------------- #
# DatabaseHost
# (The database host.)
$Self->{DatabaseHost} = 'localhost';
# Database
# (The database name.)
$Self->{Database} = 'otrs';
# DatabaseUser
# (The database user.)
$Self->{DatabaseUser} = 'otrs';
# DatabasePw
# (The password of database user. You also can use bin/CryptPassword.pl
# for crypted passwords.)
$Self->{DatabasePw} = 'hot';
# DatabaseDSN
# (The database DSN for MySQL ==> more: "man DBD::mysql")
$Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";
# (The database DSN for PostgreSQL ==> more: "man DBD::Pg")
# if you want to use a local socket connection
# $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
# if you want to use a tcpip connection
# $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";
# ---------------------------------------------------- #
# fs root directory
# ---------------------------------------------------- #
$Self->{Home} = '/opt/otrs';
# ---------------------------------------------------- #
# insert your own config settings "here" #
# config settings taken from Kernel/Config/Defaults.pm #
# ---------------------------------------------------- #
# $Self->{SessionUseCookie} = 0;
# $Self->{CheckMXRecord} = 0;
$Self->{SecureMode} =1;
# QueueViewAllPossibleTickets
# (show all ro and rw queues - not just rw queues)
$Self->{QueueViewAllPossibleTickets} = 1;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# data inserted by installer #
# ---------------------------------------------------- #
# $DIBI$
$Self->{'Organization'} = 'Example Agency';
$Self->{'FQDN'} = 'support.example.com';
$Self->{'DefaultLanguage'} = 'en';
$Self->{'AdminEmail'} = 'support@example.com';
# ---------------------------------------------------- #
# notification center
# ---------------------------------------------------- #
$Self->{'NotificationSenderName'} = 'OTRS Notification Master';
$Self->{'NotificationSenderEmail'} = 'support@example.com';
# ---------------------------------------------------- #
#$Self->{'SendmailModule::Port'}= '465';
# ---------------------------------------------------- #
# Sendmail
# ---------------------------------------------------- #
#$Self->{’SendmailModule’} = ’Kernel::System::Email::SMTP’;
#$Self->{’SendmailModule::Host’} = ’mail.example.com’;
#$Self->{’SendmailModule::AuthUser’} = ’otrs’;
#$Self->{’SendmailModule::AuthPassword’} = ’password’;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# End of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
}
# ---------------------------------------------------- #
# needed system stuff (don't edit this) #
# ---------------------------------------------------- #
use strict;
use warnings;
use vars qw(@ISA $VERSION);
use Kernel::Config::Defaults;
push (@ISA, 'Kernel::Config::Defaults');
use vars qw(@ISA $VERSION);
$VERSION = qw($Revision: 1.21 $)[1];
# -----------------------------------------------------#
1;
Code: Select all
o CGI............................failed!!! Version 3.15 installed but 3.33 or higher is required!
o Date::Pcalc....................ok (v1.2)
o Date::Format...................ok (v2.22)
o DBI............................ok (v1.52)
o DBD::mysql.....................ok (v3.0007)
o Digest::MD5....................ok (v2.36)
o Crypt::PasswdMD5...............ok (v1.3)
o LWP::UserAgent.................ok (v2.033)
o Encode::HanExtra...............Not installed! (Optional - Required to handle mails with several Chinese character sets.)
o IO::Scalar.....................ok (v2.110)
o IO::Wrap.......................ok (v2.110)
o MIME::Base64...................ok (v3.07)
o Mail::Internet.................ok (v2.04)
o MIME::Tools....................ok (v5.427)
o Net::DNS.......................ok (v0.59)
o Net::POP3......................ok (v2.28)
o Mail::POP3Client...............ok (v2.18 )
o IO::Socket::SSL.............ok (v1.01)
o Net::IMAP::Simple..............ok (v1.17)
o Net::IMAP::Simple::SSL......ok (v1.3)
o Net::SMTP......................ok (v2.29)
o Authen::SASL................ok (v2.12)
o Net::SMTP::SSL..............ok (v1.01)
o Net::LDAP......................ok (v0.33)
o GD.............................Not installed! (Optional - for stats)
o GD::Text....................Not installed! (Optional - Required for stats.)
o GD::Graph...................Not installed! (Optional - Required for stats.)
o GD::Graph::lines............Not installed! (Optional - Required for stats.)
o GD::Text::Align.............Not installed! (Optional - Required for stats.)
o PDF::API2......................Not installed! (Optional - Required for PDF output.)
o Compress::Zlib..............ok (v1.42)
o SOAP::Lite.....................Not installed! (Optional - Required for the SOAP interface.)
o XML::Parser....................ok (v2.34)