[ingo] Fwd: [Tickets] New ticket (216): Procmail script not
properly generated
Johan FISCHER
linux at fischaz.com
Mon May 24 21:38:08 PDT 2004
Hi,
In my configuration, I'm using the scriptparams variables to set the
MAILDIR env
variable and fix the problem.
This is my ingo backend config :
$backends['procmail'] = array(
'driver' => 'vfs',
'preferred' => 'fischaz.com',
'hordeauth' => true,
'params' => array(
// Hostname of the VFS server
'hostspec' => 'localhost',
// Name of the procmail config file to write
'procmailrc' => '.procmailrc',
// Port of the VFS server
'port' => 21,
// The VFS driver to use
'vfstype' => 'ftp'
),
'script' => 'procmail',
'scriptparams' => array(
// What path style does the IMAP server use ['mbox'|'maildir']?
'path_style' => 'mbox',
// An array of variables to append to every generated script.
// Use if you need to set up specific environment variables.
'variables' => array(
// Example for the $PATH variable
'PATH' => '/usr/bin:/bin:/usr/local/bin',
'MAILDIR' => '$HOME',
'LOGFILE' => '$MAILDIR/.fromprocmail',
)
)
);
and the resulting script (just the beginning) :
# procmail script generated by Ingo (May 24, 2004, 4:06 pm)
PATH=/usr/bin:/bin:/usr/local/bin
MAILDIR=$HOME
LOGFILE=$MAILDIR/.fromprocmail
##### Horde - Mailling Horde #####
:0
* ^To:.*horde at lists\.horde\.org
mail/Perso/Horde/Horde
...
This kind of patch fix the situation and make clear the position of the mail
folder in the file system since the MAILDIR is fixed in the ingo
backend config
(ingo/config/backend.php) the 'mail/' part in imp/config/servers.php and the
subfolder is specific to each users :)
Hope that help.
Regards.
Quoting Jan Schneider <jan at horde.org>:
> Can someone using and knowing the procmail driver take a look at this?
>
> ----- Weitergeleitete Nachricht von bugs at coyote.horde.org -----
> Datum: Mon, 24 May 2004 11:50:13 -0700 (PDT)
> Von: bugs at coyote.horde.org
> Antwort an: bugs at coyote.horde.org
> Betreff: [Tickets] New ticket (216): Procmail script not properly generated
> An: bugs at lists.horde.org
>
> DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
>
> -Ticket 216
> -Queue: Ingo
> -Created By:
>
> -Summary:
> Procmail script not properly generated
>
> Comment by amoser at amoser.com on Mon May 24 11:50:13 2004 (today):
> After entering a new rule in Ingo asking to deliver certain mail to a
> specific folder, the procmailrc script is not properly generated: It adds a
> 'mail/' subfolder where it should not do so
>
>
>
> wrong:
>
> 8: ##### lists.horde.org #####
>
> 9: :0
>
> 10: * ^List-Id:.*lists\.horde\.org
>
> 11: mail/horde
>
>
>
> correct:
>
> 8: ##### lists.horde.org #####
>
> 9: :0
>
> 10: * ^List-Id:.*lists\.horde\.org
>
> 11: horde
>
>
>
> --
>
>
> http://bugs.horde.org/details.php?id=216
>
> --
>
> ----- Ende der weitergeleiteten Nachricht -----
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting.php
> --
> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe at lists.horde.org
Johan.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1018 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/ingo/attachments/20040525/15380d37/attachment.bin
More information about the ingo
mailing list