New PostMaster Filter (like procmail!)

Hi, JFYI. I added PostMaster filter modules (like procmail) to the CVS head. So you will be able to filter/sort email without procmail and you also be able to write your own filter modules (e. g. for customer lookups, accounting, ...). Available filter modules are: Kernel/System/PostMaster/Filter/Match.pm Kernel/System/PostMaster/Filter/CMD.pm For example, the match module can be used like: 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', }, }; [...] For more see: http://doc.otrs.org/cvs/html/receiving-email-filter-module.html Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972
participants (1)
-
Martin Edenhofer