[kronolith] sending invitation and script reminders.php regarding...

asa at isac.ernet.in asa at isac.ernet.in
Tue Feb 8 19:37:34 PST 2005


test.php output:
-------------------------------------------------------------------------------
Horde Version

    * Horde: 3.0.2

Horde Applications

    * Horde: 3.0.2
    * Imp: H3 (4.0.1) (run Imp tests)
    * Ingo: H3 (1.0.1) (run Ingo tests)
    * Kronolith: H3 (2.0.1)
    * Nag: H3 (2.0.1)
    * Turba: H3 (2.0) (run Turba tests)

PHP Version

    * View phpinfo() screen
    * View loaded extensions
    * PHP Version: 4.3.2
    * PHP Major Version: 4.3
    * PHP Minor Version: 2
    * PHP Version Classification: release
    * You are running a supported version of PHP.

PHP Module Capabilities

    * Ctype Support: Yes
    * DOM XML Support: Yes
    * FTP Support: Yes
    * GD Support: Yes
    * Gettext Support: Yes
    * Iconv Support: Yes
    * IMAP Support: Yes
    * LDAP Support: Yes
    * Mbstring Support: No
    * MCAL Support: No
    * Mcrypt Support: No
    * MIME Magic Support: No
      The fileinfo PECL module will most likely provide faster MIME Magic
lookups than the built-in Horde PHP magic code. See horde/docs/INSTALL for
information on how to install PECL extensions.
    * MySQL Support: Yes
    * OpenSSL Support: Yes
    * PostgreSQL Support: Yes
    * XML Support: Yes
    * Zlib Support: Yes

Miscellaneous PHP Settings

    * magic_quotes_runtime disabled: Yes
    * memory_limit disabled: No
      If PHP's internal memory limit is turned on and if not set high enough
Horde will not be able to handle large data items (e.g. large mail attachments
in IMP). If possible, you should disable the PHP memory limit by recompiling
PHP without the "--enable-memory-limit" flag. If this is not possible, then you
should set the value of memory_limit in php.ini to a sufficiently high value
(Current value of memory_limit: 30M).
    * file_uploads enabled: Yes
    * safe_mode disabled: Yes
    * session.use_trans_sid disabled: Yes
    * session.auto_start disabled: Yes

Required Horde Configuration Files

    * config/conf.php: Yes
    * config/mime_drivers.php: Yes
    * config/nls.php: Yes
    * config/prefs.php: Yes
    * config/registry.php: Yes

PHP Sessions

    * Session counter: 1
    * To unregister the session: click here

PEAR

    * PEAR Search Path (PHP's include_path):  /home/horde/lib:.:/usr/share/pear
    * PEAR: Yes
    * Recent PEAR: Yes
    * Mail_RFC822: Yes
    * Mail_Mime: Yes
    * Log: Yes
    * DB: Yes
    * Net_Socket: Yes
    * Date: Yes
    * Auth_SASL: Yes
    * HTTP_Request: Yes
    * File: Yes
    * Net_SMTP: Yes
    * Services_Weather: No
      Services_Weather is used by the weather applet/block on the portal page.

------------------------------------------------------------------------------

I have two problems:

1. sending invitation:
-======================

For sending invitation, I got a error message that, You do not have an email
address configured in your identity preferences. You must set it.

It works after setting it.

But, we do not want allow users to set  "from_addr" and hence I have set it as
locked in imp preferences.

How can I use the login name and default domain as the replacement for
from_addr, so that, invitations are also sent without setting from_addr by the
user.

2. reminders.php

I did not see any proper documentation on reminders.php.  But going through the
mailing list, I found that, it has to be run as cron job.

So, I have added a cron job like this for root.

* * * * * /usr/bin/php -f /home/horde/kronolith/scripts/reminders.php

But, still I won't get e-mail reminders?  Where I am going wrong?

I have set the following in conf.php for kronolith:

$conf['calendar']['params']['table'] = 'kronolith_events';
$conf['calendar']['params']['driverconfig'] = 'horde';
$conf['calendar']['driver'] = 'sql';
$conf['storage']['params']['table'] = 'kronolith_storage';
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['metadata']['keywords'] = false;
$conf['reminder']['server_name'] = 'localhost';
$conf['reminder']['from_addr'] = 'postmaster at isac.ernet.in';
$conf['menu']['print'] = true;
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('imp');


-----------------------------------------------------
Thanks in advance.

Regards,
Anant.







More information about the kronolith mailing list