
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.

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/

Hi Emmanuel, Thanks a ton. The problem was that I ASSUMED that SMTP authentication would be necessary if I wanted to send email as the user whose email account I am using. Once I removed that it seems to work fine.{I wasnt using sendmail and there wasnt any firewall. I only wanted all outgoing mail to go via SMTP and incoming to come via POP3} :) .... Actually I found a similar thread where the person posing the question just stated 'my mistake' and didnt state how he fixed it. I dont blame him. I guess I will be contacting the people running the server to find out WHY there is no authentication required. ;) Someone once told me 'assumption is the mother of all screwups'... I shall remember that Thanks to the makers of this software too. Its really great. Happy new year to all. Akshay. Emmanuel ESCARABAJAL wrote:
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

Hi, great you find out to make it work ... it is really a GREAT software and it's WORTH learning it! Happy New Year :-)) MaNU Akshay Thapliyal a écrit:
Hi Emmanuel,
Thanks a ton. The problem was that I ASSUMED that SMTP authentication would be necessary if I wanted to send email as the user whose email account I am using. Once I removed that it seems to work fine.{I wasnt using sendmail and there wasnt any firewall. I only wanted all outgoing mail to go via SMTP and incoming to come via POP3} :) .... Actually I found a similar thread where the person posing the question just stated 'my mistake' and didnt state how he fixed it. I dont blame him. I guess I will be contacting the people running the server to find out WHY there is no authentication required. ;) Someone once told me 'assumption is the mother of all screwups'... I shall remember that Thanks to the makers of this software too. Its really great. Happy new year to all. Akshay.
Emmanuel ESCARABAJAL wrote:
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
_______________________________________________ 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/
participants (2)
-
Akshay Thapliyal
-
Emmanuel ESCARABAJAL