[Postfixbuch-users] header_checks und if endif
    Gunther Grelczak 
    g.grelczak at deutsches-museum.de
                  
    Mi Jan 10 07:37:27 CET 2007
    
    
Thomas Winter wrote:
> Hi,
> 
> ich habe heute durch Zufall entdeckt dass man bei den header checks wohl doch 
> ein wenig programmieren kann.
> 
> Hat jemand einen Link zur entsprechenden Doku.
> 
Moin,
ein wenig googlen hat dies ergeben :
http://www.irbs.net/internet/postfix/0401/1885.html
Zitat :
--------
Header_checks only evaluates one
line at a time, so you can't base tests on multiple lines. IF/ENDIF can
only apply to a single line. This is handy, for example, if you have 
1000 subject tests, then only subject lines will be checked.
IF /^Subject/
..... 1000 lines of subject tests ....
ENDIF
This can dramatically increase performance, especially when used in
body_checks (because more data is affected).
-- 
Gruß / Regards
Gunther Grelczak - Elektromechanikmeister
Deutsches Museum - Leiter Elektronik und Medien
Museumsinsel 1   - 80538 München
t: +49.89.2179-349    f: +49.89.2179-326
    
    
Mehr Informationen über die Mailingliste Postfixbuch-users