Alternc
latest
Alternc logiel libre pour l'hébergement
|
Go to the source code of this file.
Functions | |
procmail2sieve () | |
MAIN FUNCTION Read all the mail folders and search for .procmailrc's. More... | |
parseOneProcmail ($user) | |
Parse ONE procmailrc, and write its sieve rules. More... | |
readrules ($user="") | |
Read rules, fill an array from m_procmail.php original file yeah I know, ereg() is deprecated ;) More... | |
describe ($rule) | |
Take ONE rule array, extract properly returns one array with the conditions (which are arrays with Condition Type and Value) and the action parameter. More... | |
Variables | |
$acriteria | |
$aactions | |
$ROOT =$L_ALTERNC_MAIL | |
$SIEVEROOT ="/var/lib/dovecot/sieve" | |
describe | ( | $rule | ) |
Take ONE rule array, extract properly returns one array with the conditions (which are arrays with Condition Type and Value) and the action parameter.
Definition at line 277 of file procmail_to_sieve.php.
Referenced by parseOneProcmail().
parseOneProcmail | ( | $user | ) |
Parse ONE procmailrc, and write its sieve rules.
string | $user |
Definition at line 69 of file procmail_to_sieve.php.
References $f, $i, $ROOT, $SIEVEROOT, $uid, $user, describe(), and readrules().
Referenced by procmail2sieve().
procmail2sieve | ( | ) |
MAIN FUNCTION Read all the mail folders and search for .procmailrc's.
Definition at line 32 of file procmail_to_sieve.php.
readrules | ( | $user = "" | ) |
Read rules, fill an array from m_procmail.php original file yeah I know, ereg() is deprecated ;)
Definition at line 233 of file procmail_to_sieve.php.
References $f, $found, $r, $res, $user, and ALTERNC_MAIL.
Referenced by parseOneProcmail().
$aactions |
Definition at line 357 of file procmail_to_sieve.php.
$acriteria |
Definition at line 348 of file procmail_to_sieve.php.
$ROOT =$L_ALTERNC_MAIL |
Definition at line 369 of file procmail_to_sieve.php.
Referenced by parseOneProcmail(), and procmail2sieve().
$SIEVEROOT ="/var/lib/dovecot/sieve" |
Definition at line 371 of file procmail_to_sieve.php.
Referenced by parseOneProcmail().