[kronolith] reminders.php on Win32

Jan Schneider jan at horde.org
Sun Jul 18 09:43:25 PDT 2004


Zitat von Thomas O'Brien <thomas at creativebusinessystems.com>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von Thomas O'Brien <thomas at creativebusinessystems.com>:
>>
>>> 1) Is "Server name from which reminder emails should be sent" 
>>> supposed to be a
>>> FQDN. I'm unclear on exactly what to put here. I support multiple 
>>> domains, can
>>> this be $VDOMAIN? How would I configure this if I wanted messages 
>>> to come from
>>> the appropriate domain?
>>
>> If this variable contains the correct host name, yes. But directly in the
>> conf.php file, not in the configuration interface. We probably should
>> change this field to a configphp type.
>>
> $vdomain is currently set in /imp/config/servers.php like this:

Then it's only set in IMP, not in Kronolith.

But you can edit the generated conf.php of Kronolith and add something like
that after the markers:

$conf['reminder']['server_name'] =
strtolower(eregi_replace('^mail\.|^www\.|^www\.mail\.','',$_SERVER['HTTP_HOST']));

Jan.

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


More information about the kronolith mailing list