
Hi, - Are you sure you need to authenticate to send mail thru your smtp server ? - Are you running sendmail or postfix or ... - If postfix, did you configure something in main.cf so postfix act like if he was sendmail (something like : sendmail_path = /usr/sbin/sendmail ) but not sure if it applies when not local ... - did you try with FQDN, with IP address ? - is connection between otrs host and mail host direct or is there a Firewall between then ? ... sorry, all for now Hope it helps ... MaNU Akshay Thapliyal a écrit:
Hi,
I've recently installed otrs and was facing some problems when trying to configure it. I want to use an email account on another machine for the purposes of receiving and sending email and run the otrs system on a different machine. The pop access works smoothly, however, the outgoing SMTP does not. It generated the following error:- ----------------start of error msg --------------------------------- Error: SMTP authentication failed! Enable debug for more info! ERROR: OTRS-CGI-10 Perl: 5.8.0 OS: linux Time: Tue Dec 30 17:55:00 2003
Message: SMTP authentication failed! Enable debug for more info!
Traceback (22892): Module: Kernel::System::Email::SMTP::Send (v1.3.2.2) Line: 104 Module: Kernel::System::Email::Send (v1.1.2.1) Line: 52 Module: Kernel::Modules::AdminEmail::Run (v1.10) Line: 117 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 609 Module: (eval) (v1.58) Line: 187 Module: ModPerl::RegistryCooker::run (v1.58) Line: 187 Module: ModPerl::RegistryCooker::default_handler (v1.58) Line: 159 Module: ModPerl::Registry::handler (v1.99) Line: 16 ----------------end of error msg ---------------------------------
I changed the Config.pm as follows :-
----------------start of changes------------------------------ $Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP'; $Self->{'SendmailModule::Host'} = '<my host name>'; $Self->{'SendmailModule::Port'} = '25'; $Self->{'SendmailModule::AuthUser'} = '<my username>'; $Self->{'SendmailModule::AuthPassword'} = '<my passwd>'; ----------------end of changes------------------------------
Initially I thought the problem may have been due to bad passwords or local firewall or something. But I managed to successfully configure Mozilla mail client on the same machine to send and recieve mails from the same account. I've tried searching the archives for the same problem, I didnt find any satisfactory solution for the same. I also tried to enable Debug mode as mentioned in on of the threads by making $Self->{Debug}=4 It hasnt changed the message in any way. Please let me know what I am doing wrong.
I am running Redhat 9.0. Otrs-1.1.3
Any help would be appreciated. Thanks, Akshay.
_______________________________________________ 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/