Setting email up - using a SMTP server in other computer

Hi! First of all, my apologies. I'm not an expert in Linux and I think that this question is motivated because of my lack of experience. I have just installed the last version of OTRS. My configuration is: RedHat 7.2 Apache 1.3 / mod_perl MySQL OTRS 1.1.3-01 (rpm for RedHat 7). So I downloaded the rpm for this version of RH and installed it. Then I went through installer.pl and everything seemed to work properly. The problem is email. This computer is working in a local area network and has NO access to internet. In fact, it is an internal server used for private purposes. We also have our own email server (MS Windows 2000 Server, Exchange 5.5 SP4). This server is used for both internal and external mail. Well, I want to create user's accounts in OTRS and specify their corporative email. When I try to do this using the create client option in the administrative section, I get the following error: Nov 11 13:03:34 ANTILLA OTRS-CGI-1[5139]: [Error][Kernel::System::CustomerUser::DB::CustomerUserAdd][Line:295]: Email address (someuser@yourdomain.com) not valid (invalid someuser@yourdomain.com (mx)! )! (I have changed the actual email address in the previous message). Then, reading the manual, I noticed that it is possible to use an SMTP mail server. To do it, I added the following lines to Config.pm: $Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP'; $Self->{'SendmailModule::Host'} = 'exchange.mydomain.com'; $Self->{'SendmailModule::AuthUser'} = 'myuser'; $Self->{'SendmailModule::AuthPassword'} = 'mypassword'; Then, I restarted the web server and tried to create the new user again. The error is the same. Noticing that there is a warning about the MX record, and since my computer has no access to the internet (I use the hosts file to solve internal ip addresses) tried to disable the "Check MX" option. So I went again to Config.pm and modified the corresponding line so now it looks like this: $Self->{CheckMXRecord} = 0; I repeated the whole process: restart Apache, add the new customer. The error message is again the very same. So I assumed that the options where stored somewhere else (you may think, why?) But my weird thinking went this way. So I decided to execute again installer.pl. When I tried to do this, I got a warning in my browser saying that I have to disable the secure mode if I want to do this. Well, I went back again to Config.pm and modified the secure mode line like that: # SecureMode # (Enable this so you can't use the installer.pl) $Self->{SecureMode} = 0; Again, I restarted apache and navigated to installer.pl. The aswer was, AGAIN, that I had to disable the secure mode!!!! So it seems that OTRS is NOT reading the options in Config.pm.... Well, the original problem was: how to use SMTP instead of the mailing system provided by this unix server, so both the administrator and the customers use their Microsoft windows (Outlook) / exchange based email to send / receive emails from / to OTRS. I'd like to solve THIS problem, but perhaps this is not possible. If you can lend me a hand... I'd be very grateful to you! Perhaps this is not possible. I've seen that there are options about "POP 3 email" that I don't fully understand (I know what POP 3 is; perhaps the problem is that I do not understand the mail idiosynchrasy used by OTRS). Please, help me... Jose.

On Tuesday, November 11, 2003 1:55 PM
Navarro, Jose
Again, I restarted apache and navigated to installer.pl. The aswer was, AGAIN, that I had to disable the secure mode!!!!
So it seems that OTRS is NOT reading the options in Config.pm....
What mechanism did you use to 'restart the webserver'? Try to stop and then start it - perhaps you did y 'reload' only and this doesn't do it? Try one of these: apachectl restart /etc/init.d/httpd restart /etc/rc.d/init.d/httpd restart Perhaps you have some zombie clients or s.th. similar. If so, you'll find them using: ps -ef|grep -v "grep httpd"|grep httpd If you got the 'pidof' command, you may use this to kill'em all: kill -9 `pidof httpd` Watch out, the `tickles` are NO ' but apostrophes! hth, Robert Kehl
Well, the original problem was: how to use SMTP instead of the mailing system provided by this unix server, so both the administrator and the customers use their Microsoft windows (Outlook) / exchange based email to send / receive emails from / to OTRS. I'd like to solve THIS problem, but perhaps this is not possible. If you can lend me a hand... I'd be very grateful to you!
You're doing right, although I see problems for you if you use 'yourdomain.com', unless your internal network uses this as a donain name. I don't think so. You might point the RedHat's DNS client towards your internal DNS (Win2000) server, in which case you needn't set CheckMXRecord = 0.
Perhaps this is not possible. I've seen that there are options about "POP 3 email" that I don't fully understand (I know what POP 3 is; perhaps the problem is that I do not understand the mail idiosynchrasy used by OTRS).
Probably. POP3 is a socalled protocol used to pull mail from a mail server, and you are most likely using it on at least one computer. Almost everyone does. The accompagning protocol is SMTP, which does mail delivery to the servers. Feel free to google for "email basics" or s.th. similar.
Please, help me...
Jose.
hth, Robert Kehl Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Navarro, Jose
-
Robert Kehl