[Maia-users] Can't run send-quarantine-reminders.pl successfu lly
Kurt Buff
KBuff at zetron.com
Tue Apr 17 09:01:24 PDT 2007
From: Robert LeBlanc
> Kurt Buff wrote:
> > Getting the last things done before rolling this box out to
> production, and
> > this one is puzzling me.
> >
> > I run the following under the vscan account, and get the error:
> > $ /var/amavisd/maia/scripts/send-quarantine-reminders.pl
> > 2007-04-16 17:17:00 Maia: [send-quarantine-reminders]
> FATAL ERROR:
> > Unable to read reminder.tpl
> >
> > I check /usr/local/etc/maia.conf, which has the following line:
> > $template_dir = "/var/amavisd/maia/templates";
>
> The template directory needs to be set on the Admin->System
> Configuration page (the "E-mail reminder template file:" setting under
> "Cache Expiry & Quarantine Reminders"). The $template_dir setting in
> maia.conf only applies to the quarantine /digest/ script, not the
> quarantine /reminder/ script (which expects to read the full
> path to the
> reminder.tpl script from the database).
That fixed it.
> Also, note that the scripts look for /etc/maia.conf, not
> /usr/local/etc/maia.conf.
Found that out - edited the scripts to take care of that. Next time, I'll
just link them, I think.
Thanks again,
Kurt
More information about the Maia-users
mailing list