RE: [otrs-de] Wie funktioniert PostMaster::Filter::CMD?

Lars Monsees schrieb:
Das POP3-Konto ist als "vertraut" eingestuft.
Nimm das mal raus.
Tun getan ;-) Ging trotzdem noch durch. Hier mal die debug-Ausgaben: [root@localhost etc]# /opt/otrs/bin/PostMasterPOP3.pl Debug: Config.pm ->Get('SystemID') --> 10 Debug: Config.pm ->Get('LogModule') --> Kernel::System::Log::SysLog Debug: Config.pm ->Get('SystemID') --> 10 Debug: Config.pm ->Get('DatabaseDSN') --> DBI:mysql:database=otrs;host=localhost; Debug: Config.pm ->Get('DatabaseUser') --> otrs Debug: Config.pm ->Get('DatabasePw') --> Debug: Config.pm ->Get('PostMasterPOP3MaxEmailSize') --> 6144 Message 1/1 (test@gibtsnicht.de) Debug: Config.pm ->Get('DatabaseDSN') --> DBI:mysql:database=otrs;host=localhost; Debug: Config.pm ->Get('DatabaseUser') --> otrs Debug: Config.pm ->Get('DatabasePw') --> Debug: Config.pm ->Get('PostmasterUserID') --> 1 Debug: Config.pm ->Get('PostmasterX-Header') --> ARRAY(0x8869d58) Debug: Config.pm ->Get('DatabaseDSN') --> DBI:mysql:database=otrs;host=localhost; Debug: Config.pm ->Get('DatabaseUser') --> otrs Debug: Config.pm ->Get('DatabasePw') --> Debug: Config.pm ->Get('DatabaseUserTable') --> system_user Debug: Config.pm ->Get('DatabaseUserTableUserID') --> id Debug: Config.pm ->Get('DatabaseUserTableUserPW') --> pw Debug: Config.pm ->Get('DatabaseUserTableUser') --> login Use of uninitialized value in concatenation (.) or string at /opt/otrs/Kernel/Config/Defaults.pm line 1661. Debug: Config.pm ->Get('User::PreferencesModule') --> Error: Config.pm No value for 'User::PreferencesModule' in Config.pm found! Debug: Config.pm ->Get('PreferencesTable') --> user_preferences Debug: Config.pm ->Get('PreferencesTableKey') --> preferences_key Debug: Config.pm ->Get('PreferencesTableValue') --> preferences_value Debug: Config.pm ->Get('PreferencesTableUserID') --> user_id Debug: Config.pm ->Get('SendmailModule') --> Kernel::System::Email::Sendmail Debug: Config.pm ->Get('SendmailModule::CMD') --> /usr/sbin/sendmail -t -i -f [snip] Da kam noch ein bisschen mehr, aber da hat er das Ticket dann wohl auch schon angelegt. OTRS Version ist 1.1.3 (nur Testrechner) Gruß, Lars

Lars Monsees schrieb:
OTRS Version ist 1.1.3 (nur Testrechner)
Bingo. Die Filter gibt's erst seit der 1.2.0 beta1: - (2003/11/01) added PostMaster(POP3).pl filter options like procmail. Example for Kernel/Config.pm: # Job Name: 1-Match # (block/ignore all spam email with From: noreply@) $Self->{'PostMaster::PreFilterModule'}->{'1-Match'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { From => 'noreply@', }, Set => { 'X-OTRS-Ignore' => 'yes', }, }; Available modules are Kernel::System::PostMaster::Filter::Match and Kernel::System::PostMaster::Filter::CMD. See more to use it on http://doc.otrs.org/. Gruß, Robert Kehl
participants (2)
-
Lars Monsees
-
Robert Kehl