Hi Josy,

gute Idee! Ich hab's der besseren Übersicht und weil ich annehme dass die 
Liste etwas länger werden wird mal so formuliert:

    $Self->{'PostMaster::PreFilterModule'}->{'Spammail'} = {
        Module => 'Kernel::System::PostMaster::Filter::Match',
        Match => {
            'From' => '
              redakt...@spammer1.com|
              redakt...@spammer2.com|
              …
              sa...@spammer343.com',
        },
        Set => {
            'X-OTRS-Queue' => 'Junk',
        },
    };

Bei einzeln ankommenden Mails funktioniert der Filter auch ohne Reguläre, 
daher lasse ich die hier mal weg.

Danke! Bestens,

Sven Ehret





Von:    "it-news (Josef Lahmer)" <it-n...@gugler.at>
An:     "User questions and discussions about OTRS.org in German" 
<otrs-de@otrs.org>
Datum:  03.02.2010 16:36
Betreff:        Re: [otrs-de] Spammer-Liste als PreFilterModule in 
Config.pm
Gesendet von:   otrs-de-boun...@otrs.org



> -----Ursprüngliche Nachricht-----
> Von: otrs-de-boun...@otrs.org [mailto:otrs-de-boun...@otrs.org] Im 
Auftrag von it-
> news (Josef Lahmer)
> Gesendet: Mittwoch, 03. Februar 2010 16:26
> An: User questions and discussions about OTRS.org in German
> Betreff: Re: [otrs-de] Spammer-Liste als PreFilterModule in Config.pm
> 
> Hi sven,
> 
> probier mal alles in eine zeile zu packen: (| = ODER)
> 
> Match => {
>                'From' => 
'redakt...@spammer1.com|channel-...@spammer2.com',
> },
> 
> 


zusatz: eventuell noch die . und sonderzeichen escapen (falls perl regex )

'redakt...@spammer1\.com|channel-...@spammer2\.com',

bzw: \<(.*)@spammer\.com\>

lg josy
BioFach 2010. Die weltweit größte Bio-Messe steht vor der Tür. Und gugler* 
ist mit dabei.
Mittwoch, 17. bis Samstag, 20. Februar, Nürnberg. Wir freuen uns auf Ihren 
Besuch!

---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

NEU! ENTERPRISE SUBSCRIPTION - JETZT informieren und buchen!
http://www.otrs.com/de/support/enterprise-subscription/


---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

NEU! ENTERPRISE SUBSCRIPTION - JETZT informieren und buchen!
http://www.otrs.com/de/support/enterprise-subscription/

Antwort per Email an