[ingo] importing existing .procmailrc?

Jan Schneider jan at horde.org
Mon Nov 27 10:18:21 PST 2006


Zitat von Markus Krause <krause at biochem.mpg.de>:

> Hi list!
>
> we are currently using mail filtering with ingo "directly" (means a  
> user has to log and then the filtering will take place) and want to  
> switch to procmail to have all filtering done on the mail server.  
> But several of our users have already some simple .procmailrc, in  
> addition we want to use procmail for forwarding and vacation instead  
> of ".vacation.msg/.vacation" and ".forward", so (it seems) we need  
> some script to import the existing settings from  
> .procmailrc/.vacation/.forward into the horde/ingo prefs database  
> (we are using a mysql database as backend).
> I already have a working script which can create .procmailrc for  
> every user with added forwarding/vacation (if it is set), but how  
> can i "import" these settings (or most simply a complete .procmailrc  
> file) into the prefs database?

You can't because you would need a complete procmail parser in PHP and  
need to transfer procmail rules syntactically to Ingo which is near to  
impossible.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the ingo mailing list