can't create users

Moderator: crythias

Locked
danbodirca
Znuny newbie
Posts: 2
Joined: 25 Jun 2010, 16:14
Znuny Version: 2.4.7

can't create users

Post by danbodirca »

Hello,
I'm using OTRS 2.4.7 under windows.
I trie to create Customer user and I get this error message:

Email address (dan.bodirca@mydomain.ro) not valid (invalid dan.bodirca@mydomain.ro (no mail exchanger (mx) found!)! )!

Could someone please tell me how to create MX?
I tried to modify the OTRS\KERNEL\CONFIG\Defaults.pm under


# --------------------------------------------------- #
# SendmailModule
# --------------------------------------------------- #
# (Where is sendmail located and some options.
# See 'man sendmail' for details. Or use the SMTP backend.)
$Self->{'SendmailModule'} = 'Kernel::System::Email::Sendmail';
$Self->{'SendmailModule::CMD'} = '/usr/sbin/sendmail -i -f ';

$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'SendmailModule::Host'} = '172.16.2.120';
$Self->{'SendmailModule::Port'} = '25';
$Self->{'SendmailModule::AuthUser'} = 'issue@mydomain.ro';
$Self->{'SendmailModule::AuthPassword'} = 'password';
but without any results.

Thank you,
Dan
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: can't create users

Post by crythias »

Among other things like fixing the dns lookup problem, you can turn it off in admin, core,
CheckMXRecord:
Should the application check the MX record of e-mail addresses before sending an e-mail or submitting a telephone or e-mail ticket?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: can't create users

Post by crythias »

For "fixing" the problem...

If you're on Windows, you will want to be sure your dns configuration works for the email address you choose.
Go to a command prompt
Type

Code: Select all

nslookup
type

Code: Select all

set type=mx
mydomain.ro
If you get something like

Code: Select all

mydomain.ro MX preference = 10, mail exchanger = mail.mydomain.ro
you should be fine (and then there's a misconfiguration in the perl DNS module )
If you get something like

Code: Select all

can't find mydomain.com: Non-existent domain
your dns configuration is wrong, or you spelled it wrong. This is not a problem with OTRS.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
danbodirca
Znuny newbie
Posts: 2
Joined: 25 Jun 2010, 16:14
Znuny Version: 2.4.7

Re: can't create users

Post by danbodirca »

hy crythias,
thank you for your reply, in deed my dns configuration is wrong.
I'll try to solve the problem and let you know.
best regards,
dan
Locked