[Tickets #10113] Cannot create procmail rules with Maildir support

bugs at horde.org bugs at horde.org
Sat May 21 19:42:13 UTC 2011


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/10113
------------------------------------------------------------------------------
  Ticket           | 10113
  Erstellt Von     | samuel.wolf at wolf-maschinenbau.de
  Zusammenfassung  | Cannot create procmail rules with Maildir support
  Warteschlange    | Ingo
  Version          | 2.0.1
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


samuel.wolf at wolf-maschinenbau.de (2011-05-21 19:42) hat geschrieben:

Following DEFAULT variabels must be set to use procmail with Maildir:
"DEFAULT=$HOME/Maildir/"

("DEFAULT=$HOME/Maildir" this would equal mbox format!).

Ingo applies following filter rule:
# Von Ingo erzeugtes procmail Script (May 21, 2011, 9:33 pm)
DEFAULT=$HOME/Maildir/

##### test #####
:0
* ^From:.*root at server\.test\.intern
"$DEFAULT/.INBOX/Admin/"


Which leads to that Procmail cannot process the filter rules:
procmail: Unable to treat as directory "/home/user1/Maildir//.INBOX/Admin"
procmail: Error while writing to "/home/user1/Maildir//.INBOX/Admin"
 From root at server.test.intern Sat May 21 20:46:17 2011
Subject: procmailtest
Folder: /home/user1/Maildir/new/1306003577.10892_0.mailserver 923


Correct would be the following filter rule:
# Procmail Script generated by Ingo (May 21, 2011, 8:46 pm)
...
"$DEFAULT.INBOX/Admin/"
--> without slash

backends.php:
'scriptparams' => array(
         // What path style does the IMAP server use ['mbox'|'maildir']?
         'path_style' => 'maildir',






More information about the bugs mailing list