student needs standalone setup help

Hi all I need to demonstrate OTRS for my last class in Help Desk user support. As there will be no internet connectivity at the time I'm trying to get it to work right on a stand alone pc. I'm using Fedora core 5 on my laptop This setup seems a little different than the defaults are supposed to be and install the otrs directory to /var/otrs rather than /opt/otrs. I worked my way around those differences well enough. But I'm stuck with how it can get mail from from the command line and creating a new user. I wanted to at least be able to show the process of sending mail in. When I try to send mail via the command line it appears to to work ok becuase it creates a file in the spool directory and and an inbox backupt. But nothing shows up in the queus on the browser. New user accounts just won't let me use local mail. Is their any way around this restriction or way for OTRS to send mail locally without a fully qualified domain? Any other suggestions for a stand alone setup? This is the log file for the mail issue Thanks procmail: [3364] Fri Apr 14 08:52:02 2006 procmail: Match on ! "^From.*@example.com" procmail: Couldn't determine implicit lockfile from "grep" procmail: Locking ".lock" procmail: Error while writing to "_k0, yr5PEB.localhost.localdom" procmail: Lock failure on ".lock" procmail: Executing "grep,-vi,^X-OTRS-" procmail: No match on " TO:.*@example.com" procmail: No match on "^List-Id:.*OpenAntiVirus" procmail: No match on "TO:.*@example.com " procmail: Locking "/var/www/otrs//var/INBOX.Backup.2006- 04.lock" procmail: Assigning "LASTFOLDER=/var/www/otrs//var/INBOX.Backup.2006-04" procmail: Opening "/var/www/otrs//var/INBOX.Backup.2006-04" procmail: Acquiring kernel-lock procmail: Unlocking "/var/www/otrs//var/INBOX.Backup.2006- 04.lock" procmail: Couldn't determine implicit lockfile from "/var/www/otrs//bin/PostMaster.pl" procmail: Locking ".lock" procmail: Error while writing to "_k0%yr5PEB.localhost.localdom" procmail: Lock failure on ".lock" procmail: Executing "/var/www/otrs//bin/PostMaster.pl" Can't locate Kernel/Config.pm in @INC (@INC contains: /var/www/otrs/Kernel/cpan-lib /var/www/otrs /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /var/www/otrs//bin/PostMaster.pl line 42. BEGIN failed--compilation aborted at /var/www/otrs//bin/PostMaster.pl line 42. procmail: [3364] Fri Apr 14 08:52:03 2006 procmail: Non-zero exitcode (13) from "/var/www/otrs//bin/PostMaster.pl" procmail: Assigning "LASTFOLDER=/var/www/otrs//bin/PostMaster.pl" procmail: Locking "/var/www/otrs//var/spool/..lock" procmail: Assigning "LASTFOLDER=/var/www/otrs//var/spool/1" procmail: Opening "/var/www/otrs//var/spool/1" procmail: Acquiring kernel-lock procmail: Unlocking "/var/www/otrs//var/spool/..lock" procmail: Notified comsat: "otrs@0:/var/www/otrs//var/spool/1"
From johnny@localhost.localdomain Fri Apr 14 08:52:02 2006 Subject: help Folder: /var/www/otrs//var/spool/1

Hi John, On Wed, Apr 19, 2006 at 08:54:09AM -0400, John Baker wrote:
I need to demonstrate OTRS for my last class in Help Desk user support. As there will be no internet connectivity at the time I'm trying to get it to work right on a stand alone pc. I'm using Fedora core 5 on my laptop This setup seems a little different than the defaults are supposed to be and install the otrs directory to /var/otrs rather than /opt/otrs. I worked my way around those differences well enough.
But I'm stuck with how it can get mail from from the command line and creating a new user. I wanted to at least be able to show the process of sending mail in.
When I try to send mail via the command line it appears to to work ok becuase it creates a file in the spool directory and and an inbox backupt. But nothing shows up in the queus on the browser.
New user accounts just won't let me use local mail. Is their any way around this restriction or way for OTRS to send mail locally without a fully qualified domain?
Yes. - Disable MX lookups by inserting $Self->{'CheckMXRecord'} = 0; into your Kernel/Config.pm file. - rename the .procmailrc in the home directory of the OTRS user to .procmailrc.dist, you do not need to use procmail - Create a local user, lets say john. - Insert a new alias into the /etc/aliases file that executes the PostMaster.pl module of otrs if a mail is send to this alias: otrs: |"/var/www/otrs/bin/PostMaster.pl" Don't forget to run the newaliases command after changing the alias file. Now open a new shell for the john user and send a message to otrs@localhost If your mailserver is configured to receive messages to localhost (this is the default in most cases), the new message should be shown in OTRS. Also the local address of john should be used and answering should cause no problem. In some cases the TicketCounter.log file has wrong permissions and no access is given to the mailserver user. Change the permissions to a less restrictive way in this case. Best regards, Christian -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769 http://www.otrs.com/ :: Communication with success!
participants (2)
-
Christian Schoepplein
-
John Baker