
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! Thanks, Steve

Hi Steve, 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 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, Alex

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.
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. Anyone see something that I don't?? Steve

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

Alexander Scholler wrote:
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.
The rpm installs in /opt/otrs as well. Nils Breunese.

Nils Breunese (Lemonbit Internet) wrote:
Alexander Scholler wrote:
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.
The rpm installs in /opt/otrs as well.
Just for public consumption, the 2.0.4 Debian bundle loads at /usr/share/otrs. Regardless, I have been making my changes in /etc/otrs/Kernel/Config.pm because my /usr/share/otrs/Kernel/Config.pm is a link to /etc/otrs/Kernel/Config.pm. Is this incorrect? Which one is referred to within OTRS?? Steve
participants (3)
-
Alexander Scholler
-
Nils Breunese (Lemonbit Internet)
-
Steve Hill