Re: [otrs] 'PostMaster::PreFilterModule' problems

hi robert,
below is the output of bin/PostMasterPOP3.pl -d2 followed by the logs from
the AdminLog page. there are no logs at /var/log/otrs.log where i told
installer.pl to write the logs to.
otrs@linux:~> bin/PostMasterPOP3.pl -d2
Message 1/1 (tickets@mail.[removed].com)
New Ticket created!
TicketNumber: 1000011
TicketID: 12
Priority: 3 normal
State: new
CustomerID: no_such_user@aol.com
CustomerUser: no_such_user@aol.com
From: "fake aol test acct"

On Thursday, March 18, 2004 1:57 AM
Steven Shults
below is the output of bin/PostMasterPOP3.pl -d2 followed by the logs from the AdminLog page. there are no logs at /var/log/otrs.log where i told installer.pl to write the logs to.
I guess you told him to write the logs to var/log/otrs.log? or Syslog?
Anyway, look it up in Config.pm:
$Self->{LogModule} = 'Kernel::System::Log::File';
$Self->{'LogModule::LogFile'} =
'
to me it looks like otrs isn't even seeing the changes in Config.pm Is there anything i need to do after editing Config.pm for the changes to take effect? I've tried 'rcotrs restart' to no avail.
It depends. Safest is 'rcotrs restart-force', but a 'rcotrs restart' should get you wehre you want to. You may well test if Config.pm's changes are recognized at a glance. Open a Ticket, zoom on it, then toggle $Self->{TicketZoomExpand} in Config.pm and save it. Refresh your browser. What version of PostMaster.pm are you using? Fröhlich grüßt Robert Kehl -- There are 10 types of people in the world: Those who understand binary, and those who don't.

On Thu, 18 Mar 2004, Robert Kehl wrote:
I guess you told him to write the logs to var/log/otrs.log? or Syslog? Anyway, look it up in Config.pm: $Self->{LogModule} = 'Kernel::System::Log::File'; $Self->{'LogModule::LogFile'} = '
/var/log/otrs.log'; For sure you may choose whatever location you want, /var/log is fully ok.
my entry looks a bit different than that. my Config.pm version is: Config.pm.dist,v 1.6 2003/03/02 08:56:36 martin Exp and the LogModule entry is: $Self->{LogModule::LogFile} = '/var/log/otrs.log'; $Self->{LogModule} = 'Kernel::System::Log::SysLog'; should i change it to match yours above?
You may well test if Config.pm's changes are recognized at a glance. Open a Ticket, zoom on it, then toggle $Self->{TicketZoomExpand} in Config.pm and save it. Refresh your browser.
changes recognized, ticket zoom expanded great without even having to do a 'rcotrs restart'
What version of PostMaster.pm are you using?
PostMaster.pm,v 1.31.2.2 2003/05/25 22:57:48 martin Exp downloaded yesterday in this file: ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm thanks for your help robert. i hope we can get the PreFilterModule working. its the feature which convinced me that otrs is right for our needs. :-) thanks, ~steven
Fröhlich grüßt
Robert Kehl
-- There are 10 types of people in the world: Those who understand binary, and those who don't.
_______________________________________________ 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/

On Thursday, March 18, 2004 3:31 AM
Steven Shults
On Thu, 18 Mar 2004, Robert Kehl wrote:
I guess you told him to write the logs to var/log/otrs.log? or Syslog? Anyway, look it up in Config.pm: $Self->{LogModule} = 'Kernel::System::Log::File'; $Self->{'LogModule::LogFile'} = '
/var/log/otrs.log'; For sure you may choose whatever location you want, /var/log is fully ok.
and the LogModule entry is:
$Self->{LogModule::LogFile} = '/var/log/otrs.log'; $Self->{LogModule} = 'Kernel::System::Log::SysLog';
should i change it to match yours above?
One of it ;) You're setting a log file, but log to Syslog. I guess this is what you want: $Self->{LogModule} = 'Kernel::System::Log::File'; $Self->{LogModule::LogFile} = '/var/log/otrs.log';
What version of PostMaster.pm are you using? PostMaster.pm,v 1.31.2.2 2003/05/25 22:57:48 martin Exp
Bingo! Upgrade it to http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/PostMaster .pm?rev=1.40 It *should* work without the need of another file, but... So better keep the tarball at hands to throw it upon your install if anything goes wrong. Yes, a backup is a neat thing to have, you're right.
thanks for your help robert. i hope we can get the PreFilterModule working. its the feature which convinced me that otrs is right for our needs. :-)
I guess we're almost through. Regards, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

What version of PostMaster.pm are you using? PostMaster.pm,v 1.31.2.2 2003/05/25 22:57:48 martin Exp
Bingo! Upgrade it to http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/PostMaster .pm?rev=1.40
Should PostMaster.pm v1.40 have been installed by otrs-1.2.2-01.i386.rpm ? If so I think there may be an incorrect link on your download page. I went to http://otrs.org/download/ and clicked on the link labelled "OTRS 1.2.2 for SuSE Linux 9.x RPM" which points to the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm I downloaded that file and installed it using YaST2 on a fresh, clean install of SuSE 9.0. There was never any other version of OTRS on this brand new SuSE 9.0 machine. I noticed that the footer says "Powered by OTRS 1.1.2" which i thought was incorrect since it was installed by an rpm named otrs-1.2.2-01.i386.rpm. Now i'm suspecting that the link on the download page and the file name of the rpm are incorrect. If you think the same, where can i get a correct copy of otrs-1.2.2-01.i386.rpm for SuSE 9.0 on an i386? Thanks, ~Steven

I've just confirmed my suspicion. the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm does not install v1.2.2-01, it installs v1.1.2. the contents of the RELEASE file: PRODUCT = OTRS VERSION = 1.1.2 BUILDDATE = Sun Jun 1 21:22:42 CEST 2003 BUILDHOST = nohl.edenhofer.de RELEASE lines 1-4/4 (END) please post a URL for a correct rpm for otrs v 1.2.2 for SuSE 9.0 thanks, ~steven On Thu, 18 Mar 2004, Steven Shults wrote:
What version of PostMaster.pm are you using? PostMaster.pm,v 1.31.2.2 2003/05/25 22:57:48 martin Exp
Bingo! Upgrade it to http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/PostMaster .pm?rev=1.40
Should PostMaster.pm v1.40 have been installed by otrs-1.2.2-01.i386.rpm ?
If so I think there may be an incorrect link on your download page. I went to http://otrs.org/download/ and clicked on the link labelled "OTRS 1.2.2 for SuSE Linux 9.x RPM" which points to the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm
I downloaded that file and installed it using YaST2 on a fresh, clean install of SuSE 9.0. There was never any other version of OTRS on this brand new SuSE 9.0 machine. I noticed that the footer says "Powered by OTRS 1.1.2" which i thought was incorrect since it was installed by an rpm named otrs-1.2.2-01.i386.rpm. Now i'm suspecting that the link on the download page and the file name of the rpm are incorrect. If you think the same, where can i get a correct copy of otrs-1.2.2-01.i386.rpm for SuSE 9.0 on an i386?
Thanks, ~Steven
_______________________________________________ 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/

and to close this thread with information which may helpful to others in my situation, i found the correct rpm on another mirror: ftp://ftp.samurai.com/pub/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm the PreFilterModule works great in 1.2.2 ! Thanks for your help and patience robert. ~steven On Thu, 18 Mar 2004, Steven Shults wrote:
I've just confirmed my suspicion. the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm does not install v1.2.2-01, it installs v1.1.2. the contents of the RELEASE file:
PRODUCT = OTRS VERSION = 1.1.2 BUILDDATE = Sun Jun 1 21:22:42 CEST 2003 BUILDHOST = nohl.edenhofer.de RELEASE lines 1-4/4 (END)
please post a URL for a correct rpm for otrs v 1.2.2 for SuSE 9.0
thanks, ~steven
On Thu, 18 Mar 2004, Steven Shults wrote:
What version of PostMaster.pm are you using? PostMaster.pm,v 1.31.2.2 2003/05/25 22:57:48 martin Exp
Bingo! Upgrade it to http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/PostMaster .pm?rev=1.40
Should PostMaster.pm v1.40 have been installed by otrs-1.2.2-01.i386.rpm ?
If so I think there may be an incorrect link on your download page. I went to http://otrs.org/download/ and clicked on the link labelled "OTRS 1.2.2 for SuSE Linux 9.x RPM" which points to the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm
I downloaded that file and installed it using YaST2 on a fresh, clean install of SuSE 9.0. There was never any other version of OTRS on this brand new SuSE 9.0 machine. I noticed that the footer says "Powered by OTRS 1.1.2" which i thought was incorrect since it was installed by an rpm named otrs-1.2.2-01.i386.rpm. Now i'm suspecting that the link on the download page and the file name of the rpm are incorrect. If you think the same, where can i get a correct copy of otrs-1.2.2-01.i386.rpm for SuSE 9.0 on an i386?
Thanks, ~Steven
_______________________________________________ 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/

and to close this thread which may be helpful to others in my situation: i found the correct file on another mirror - ftp://ftp.samurai.com/pub/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm the PreFilterModule works great in 1.2.2! thanks for your help and patience robert. ~steven On Thu, 18 Mar 2004, Steven Shults wrote:
I've just confirmed my suspicion. the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm does not install v1.2.2-01, it installs v1.1.2. the contents of the RELEASE file:
PRODUCT = OTRS VERSION = 1.1.2 BUILDDATE = Sun Jun 1 21:22:42 CEST 2003 BUILDHOST = nohl.edenhofer.de RELEASE lines 1-4/4 (END)
please post a URL for a correct rpm for otrs v 1.2.2 for SuSE 9.0
thanks, ~steven
On Thu, 18 Mar 2004, Steven Shults wrote:
What version of PostMaster.pm are you using? PostMaster.pm,v 1.31.2.2 2003/05/25 22:57:48 martin Exp
Bingo! Upgrade it to http://cvs.otrs.org/viewcvs.cgi/*checkout*/otrs/Kernel/System/PostMaster .pm?rev=1.40
Should PostMaster.pm v1.40 have been installed by otrs-1.2.2-01.i386.rpm ?
If so I think there may be an incorrect link on your download page. I went to http://otrs.org/download/ and clicked on the link labelled "OTRS 1.2.2 for SuSE Linux 9.x RPM" which points to the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm
I downloaded that file and installed it using YaST2 on a fresh, clean install of SuSE 9.0. There was never any other version of OTRS on this brand new SuSE 9.0 machine. I noticed that the footer says "Powered by OTRS 1.1.2" which i thought was incorrect since it was installed by an rpm named otrs-1.2.2-01.i386.rpm. Now i'm suspecting that the link on the download page and the file name of the rpm are incorrect. If you think the same, where can i get a correct copy of otrs-1.2.2-01.i386.rpm for SuSE 9.0 on an i386?
Thanks, ~Steven
_______________________________________________ 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/

On Thursday, March 18, 2004 10:35 PM
Steven Shults
and to close this thread which may be helpful to others in my situation: i found the correct file on another mirror -
ftp://ftp.samurai.com/pub/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm
the PreFilterModule works great in 1.2.2!
On Thu, 18 Mar 2004, Steven Shults wrote:
I've just confirmed my suspicion. the file at ftp://ftp.gwdg.de/pub/misc/otrs/RPMS/suse/9.x/otrs-1.2.2-01.i386.rpm does not install v1.2.2-01, it installs v1.1.2.
Sorry, I could not reproduce this exactly, although I think there must be something wrong. So we will check all mirror sites in the next days. In the meantime, everyone is encouraged to always check the offered MD5 sums against the downloaded file, which can't be correct for two different files. Regards, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Robert Kehl
-
Steven Shults