[horde] Vacation in Horde 4

Vilius Šumskas vilius at lnk.lt
Tue Aug 7 14:06:19 UTC 2012


> Il 07/08/2012 14:34, Vilius Šumskas ha scritto:
> >> Il 07/08/2012 14:06, Vilius Šumskas ha scritto:
> >>>> I'm using the latest stable version of Horde 4 Groupware Webmail.
> Have
> >>>> this version a tool for manage "vacation" or autoresponder?
> >>>>
> >>>> In H3 was Vacation, in H4 sould be Sork but how can install it?
> >>>>
> >>>> I'm not using sieve so ingo is not suitable for me.
> >>>
> >>> Ingo works with procmail, maildrop and others. Are you sure it doen't
> >> support your backend?
> >>>
> >>
> >> For autoresponder we are using qmail-autoresponder that support
> >> configuration in .qmail file or in mysql. The old module Vacation
> >> supported .qmail.
> >>
> >> I would like to see the backend, for vacation, supported by H4 and
> >> evaluate the integration with our configuration. We have developed a
> >> series of shell script for manage .qmail files that can be easily adapted.
> >
> > Ingo already supports every transport Horde VFS uses, for example FTP.
> >
> > What you need to write is a Qmail script driver which would generate a
> .qmail file. See /ingo/lib/Script/Promail as an example. I don't think it would
> be too difficult to change that according to .qmail syntax.
> >
> 
> This could be a good idea but if possibile I prefer to use MySQL for
> store autoresponder information. With MySQL we don't need to edit files
> on disk.
>
> Now our customers can manage autoresponder only by the control panel,
> the control panel can add/remove autoresponder in two ways:
> 
> - INSERT/DELETE rows in MySQL
> - run a shell script command that add rows in mysql
> 
> Editing .qmail files is only necessary one time (when we add a new
> domain), thanks to our special server configuration, and we can skip
> this step.
> 
>  From the point of view of Horde Ingo is easier to insert row in MySQL
> or run command?

It doesn't matter actually. If you want your driver to be accepted upstream though, I would suggest writing a *transport* SQL driver for Qmail, instead of executing custom commands. /ingo/lib/Transport/Ldap.php could be one such *structural* example. And you still would need to write a *script* driver as I mentioned earlier, so that Ingo would know Qmail syntax.
 
> One last question, in my Ingo configuration only whitelist and blacklist
> are visible, how can show Vacation?

It depends on the driver. The driver you are using doesn't support Vacations most probably.

-- 
   Vilius



More information about the horde mailing list