1 {**************************************************************************}
3 {* Copyright (C) 2003-2007 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 <h1>Regexps pour les détections de bounces</h1>
27 Rappel sur les niveaux :
30 <li>0: IGNORE == ignorer le bounce</li>
31 <li>1: NOTICE == forwarder le bounce (typiquement vacation)</li>
32 <li>2: ERREUR == erreur</li>
36 <form action="admin/postfix/regexp_bounces" method="post">
37 <table class="bicol" cellpadding='0' cellspacing='0'>
39 <th>Position/Niveau</th>
40 <th>Regexp/Raison</th>
45 <input type='text' name='pos[NULL]' value='' size='4' maxlength='4' />
48 <input type="text" size="82" name='re[NULL]' value="{$re.re}" />
52 <td style="white-space: nowrap">
53 <input type='radio' name='lvl[NULL]' value='0' {if $re.lvl eq 0}checked="checked"{/if} />
54 <input type='radio' name='lvl[NULL]' value='1' {if $re.lvl eq 1}checked="checked"{/if} />
55 <input type='radio' name='lvl[NULL]' value='2' {if $re.lvl eq 2}checked="checked"{/if} />
58 <input type="text" size="32" name='text[NULL]' value="{$re.text}" />
63 <td colspan="2" class="right action">
64 <a href="admin/postfix/regexp_bounces/new">nouveau</a>
68 {iterate from=$bre item=re}
69 <tr class="{cycle values="pair,pair,impair,impair"}">
71 <input type='text' name='pos[{$re.id}]' value='{$re.pos}' size='4' maxlength='4' />
74 <input type="text" size="82" name='re[{$re.id}]' value="{$re.re}" />
77 <tr class="{cycle values="pair,pair,impair,impair"}">
78 <td style="white-space: nowrap">
79 <input type='radio' name='lvl[{$re.id}]' value='0' {if $re.lvl eq 0}checked="checked"{/if} />
80 <input type='radio' name='lvl[{$re.id}]' value='1' {if $re.lvl eq 1}checked="checked"{/if} />
81 <input type='radio' name='lvl[{$re.id}]' value='2' {if $re.lvl eq 2}checked="checked"{/if} />
84 <input type="text" size="32" name='text[{$re.id}]' value="{$re.text}" /><br />
88 <tr class="{cycle values="pair,impair"}">
89 <td colspan="2" class="center">
90 <input type="submit" value="valider" name="submit" />
97 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}