[ingo] Problems with Ingo - backends.php

info@web-front.de info at web-front.de
Thu May 4 07:07:59 PDT 2006


my solution:
/* Procmail Example */

$host=$_SESSION['imp']['user'];

The variable $host, i put in this Line:

$backends['procmail'] = array(
.....    
   'scriptparams' => array(
    // What path style does the IMAP server use ['mbox'|'maildir']?
   'path_style' => '',
    // 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',
    // Example for the $DEFAULT variable
   'DEFAULT' => "/var/mail/$host",
			
			)
    )
);

Thanks
Kind Regards
Thomas

>>         'variables' => array(
>>             // Example for the $PATH variable
>>             'PATH' => '/usr/bin',
>>             // Example for the $DEFAULT variable
>>             'DEFAULT' => '$HOME/',
>>         )
>
>The mail is going to your home directory because you told it to go to  
>your home directory with 'DEFAULT' => '$HOME/'.  Either let it use the  
>system default, or set 'DEFAULT' to where you want the mail to end up.
>
>--Ben
>
>-- 
>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


More information about the ingo mailing list