17 Apr 2012 19:05
Ingo and procmail default maildir/mbox
Hello,
I use Maildir with procmail and the following ingo setup:
'script' => 'procmail',
'scriptparams' => array(
// What path style does the IMAP server use ['mbox'|'maildir']?
'path_style' => 'maildir',
// Example for the $DEFAULT variable
'DEFAULT' => '$HOME/Maildir/',
DEFAULT musste be "$HOME/Maildir/" with "/" at the end, if not
procmail use the mbox format.
Now I create a filter rule and ingo generate following filter script:
1: # Von Ingo erzeugtes procmail Script (April 17, 2012, 6:32 pm)
2: VACATION_DIR=$HOME
3:
4: DEFAULT=$HOME/Maildir/
5:
6: ##### Neue Regel #####
7: :0
8: * ^From:.*root
9: "$DEFAULT/.Testordner/"
10:
This equals "$HOME/Maildir//.Testordner/" and do not work.
If I set 'DEFAULT' => '$HOME/Maildir' without "/" at the end procmail
use mbox format again when the email do not pass a filter rule
(because DEFAULT = $HOME/Maildir => mbox).
(Continue reading)
RSS Feed