[Tickets #9014] Re: error in conf.xml for "FTP driver for qmail compliant mailers"
bugs at horde.org
bugs at horde.org
Thu May 13 16:58:20 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9014
------------------------------------------------------------------------------
Ticket | 9014
Updated By | Jan Schneider <jan at horde.org>
Summary | error in conf.xml for "FTP driver for qmail compliant
| mailers"
Queue | Vacation
Version | 3.2.1
Type | Bug
-State | Unconfirmed
+State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2010-05-13 12:58) wrote:
> After that, when saved configuration for vacation, this is added to conf.php:
> $conf['server']['params']['default']['dbtype'] = 'empty';
> and it works as expected.
So, could we as well hard-code the database type to "empty", instead
of changing conf.xml? Does Qmail work with any other database type at
all?
> I allso had to have:
> $conf['vacation']['subject'] = true;
> $conf['vacation']['from'] = true;
> otherwise the bounce mail to sender had wrong from address. (could
> be error in my vacation binary, or configuration on server, so not
> sure this is a horde-vacation bug) Maybe god info for horde vacation
> wiki?
>
> At last, to get clean vacation form, I modified:
> horde/vacation/templates/main
>
> diff -ur main.inc.dist main.inc
> --- main.inc.dist 2009-05-07 17:27:47.000000000 +0200
> +++ main.inc 2010-05-10 13:40:06.000000000 +0200
> @@ -54,17 +54,17 @@
>
> <?php if ($GLOBALS['conf']['vacation']['subject']): ?>
> <p>
> -<?php echo Horde::label('subject', _("Subject:")) ?>
> +
> <br />
> -<input name="subject" id="subject" type="text" size="70"
> value="<?php echo htmlspecialchars($cursubject) ?>" />
> +<input name="subject" id="subject" type="hidden" size="70"
> value="<?php echo htmlspecialchars($cursubject) ?>" />
> </p>
> <?php endif; ?>
>
> <?php if ($GLOBALS['conf']['vacation']['from'] &&
> $driver->hasCapability('changeFrom')): ?>
> <p>
> -<?php echo Horde::label('from', _("From:")) ?>
> +
> <br />
> -<input name="from" id="from" type="text" size="70" value="<?php
> echo htmlspecialchars($curfrom) ?>" />
> +<input name="from" id="from" type="hidden" size="70" value="<?php
> echo htmlspecialchars($curfrom) ?>" />
> </p>
> <?php endif; ?>
Sorry, I don't get this. First you configure vacation to *show* the
subject and from fields, and then you *remove* those fields from the
form manually?
More information about the bugs
mailing list