Steve Hill schrieb:
Alexander Scholler wrote:
Steve Hill schrieb:
I'm getting the following complaint in my OTRS log, "SMTP
authentication failed! Enable debug for more info!" but I haven't a
clue how to set debug!
You need to insert
$Self->{'Debug'} = 1;
in your ~/Kernel/Config.pm.
I am assuming (oops, I ought to know better!) that in your example
~=/etc/otrs/, let me know if that is untrue.
You have to know to right place for your Config.pm that is in use.
I did the manual source-installation, created a user OTRS with
~=/opt/otrs, all OTRS-stuff is installed within the home directory, so I
use /opt/otrs/Kernel/Config.pm.
I don't know the file-positions used through the OTRS-RPM-installation.
I did this and had some problems not getting further debug-information
logged, but some day I got it run. Unfortunately, I can't reconstruct
the reason for the prior failure.
I hope it works right from the start on your installation,
Unfortunately, I am not getting any information that I wasn't earlier.
However, I placed it in /etc/otrs/Kernel/Config.pm, AND I placed it within:
...
sub Load {
my $Self = shift;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# Start of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
$Self->{'Debug'} = 1;
# SendmailModule;
# $Self->{"SendmailModule"} = 'Kernel::System::Email::Sendmail';
# $Self->{"SendmailModule::CMD"} = '/usr/sbin/sendmail -t -i -f';
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP'; ...
I figured that I would need to place it there, since $Self is only
defined there. Unfortunately, I am a pretty good old (pre-OOP) PERL,
but most of the new stuff is a bit of a black art.
That looks like being the right place within the config-file.
Don't forget to restart your webserver if you use mod_perl.
Anyone see something that I don't??
Steve
Bye, Alex
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/