linuxos pop3 kliens amit bashből lehet scriptelni

Moczik Gabor pm at progzmaster.hu
Thu Mar 8 23:40:25 CET 2007


Karoly CZOVEK wrote:
>>Hat igen, ez is egy lehetoseg, ki melyikben mozog otthonosabban.
>>En mondjuk biztos MTA-val csinalnam, mert procmailt sose hasznaltam :-), meg 
>>aztan az MTA ugyis "must have" a legtobb disztroban...
>>
> MTA nem fogja nekem szetvalogatni spam|nemspam|listak szetbontva 
> evre/honapra bontva

En azzal valogatom, siman mukodik ;-)

Az eredeti kerdezonek egyebkent nem igazan kell valogatni, legfeljebb a nem 
kivanatos cimrol eldobni.

Exim filterrel egyebkent lehet ilyeneket (meg ettol sokkal-sokkal 
bonyolultabbakat is):

if $header_X-Spam-Flag contains "yes" or
    $header_X-Spam-Status begins "yes" or
    $header_X-MailScanner contains "Found to be infected" or
    $header_X-Spam-Probability begins "high" or
    $header_X-Spam-Asap begins "yes"
then
   pipe "to-mailbox spam"
   finish
endif

if $header_X-BeenThere contains "elektro at tesla.hu" or
    $header_X-BeenThere contains "elektro at www.centralnet.hu" or
    $header_X-BeenThere contains "elektro at centralnet.hu"
then
   pipe "to-mailbox elektro"
   finish
endif

...


-- 
((( Móczik Gábor  )))--((( pm -> @ -> progzmaster -> . -> hu  )))
((( Skype: moczik )))--((( Website: http://www.progzmaster.hu )))



More information about the Elektro mailing list