List Info

Thread: Re: Can't run send-quarantine-reminders.pl successfu lly




Re: Can't run send-quarantine-reminders.pl successfu lly
country flaguser name
United States
2007-04-17 11:01:24
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


  

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )