Error: SMTP authentication failed! Enable debug for more info!
Comment: | Please contact the admin. |
Bug Report: | |
Traceback: | ERROR: OTRS-CGI-10 Perl: 5.8.1 OS: linux Time: Mon Dec 1 13:30:25 2003 Message: SMTP authentication failed! Enable debug for more info! Traceback (12763): 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::System::Ticket::SendArticle::SendArticle (v1.11) Line: 180 Module: Kernel::Modules::AgentCompose::SendEmail (v1.46) Line: 353 Module: Kernel::Modules::AgentCompose::Run (v1.46) Line: 78 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.58) Line: 608 |
I edited the Config.pm file as shown below, as well as change the username to 'jcoltrin' as well as 'agia_mail\jcoltrin' (to try to
authenticate to the domain, but both uses had
the same result:
my $Self = shift;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# Start of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# system data #
# ---------------------------------------------------- #
# SecureMode
# (Enable this so you can't use the installer.pl)
$Self->{SecureMode} = 0;
# SystemID
# (The identify of the system. Each ticket number and
# each http session id starts with this number)
$Self->{SystemID} = 10;
# TicketHook
# (To set the Ticket identifier. Some people want to
# set this to e. g. 'Call#', 'MyTicket#' or 'TN'.)
$Self->{TicketHook} = 'IM Request #';
# FQDN
# (Full qualified domain name of your system.)
$Self->{FQDN} = 'helpdesk.agia.com';
# AdminEmail
# (Email of the system admin.)
$Self->{AdminEmail} = 'jcoltrin@agia.com;
# Organization
# (If this is anything other than '', then the email will have an
# Organization X-Header)
$Self->{Organization} = 'AGIA Inc.';
# **************************************************** #
# Jason's Mail settings to get OTRS to use our #
# Exchange server. #
# **************************************************** #
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'SendmailModule::Host'} = 'm2.agia.com';
$Self->{'SendmailModule::Port'} = '25';
$Self->{'SendmailModule::AuthUser'} = 'jcoltrin'; #adapt this setting
$Self->{'SendmailModule::AuthPassword'} = '*******'; #adapt this setting
# ---------------------------------------------------- #
:
So in all, the error message about the DNS error below has gone away but my end result is still not being able to reply to a message.
On Thursday, November 27, 2003 9:08 AM
Jason Coltrin <[EMAIL PROTECTED]> wrote:
> When sending an email outside my otrs server, via POP3(?) to my
Never. It's SMTP.
> exchange server, I receive the following message:
>
>> ------------------------- Message log follows:
>> -------------------------|
> no valid recipients were found for this message
> Xfail: <[EMAIL PROTECTED]> reason: (ERR164) router inet_hosts: DNS
> error: The MX (m1.agia.com) target hostname 'm1.agia.com' has an
> unauthorised address of [172.25.0.10]: RFC-1918 addresses are never
> valid for MX targets on the public Internet!
The above is coming from your mail server, not from OTRS. As a mail
server with an RFC1918-Address like yours isn't directly reachable from
the internet, you get the above error.
You might want to take care you're using the right server to send mail.
The output looks like coming from an smail installation, not Exchange.
Check your Mail settings in OTRS, I believe you are using your
localhost's smail (not the best choice anyway - consider exim) instead
of your SMTP Exchange. To use the latter, set this in Config.pm:
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'SendmailModule::Host'} = 'm2.agia.com';
$Self->{'SendmailModule::Port'} = '25';
$Self->{'SendmailModule::AuthUser'} = ''; #adapt this setting
$Self->{'SendmailModule::AuthPassword'} = ''; #adapt this setting
I don't believe changing the below will do anything about it, but you
might want to try setting this in Config.pm:
$Self->{CheckMXRecord} = 1;
hth,
Robert Kehl