[Maia-users] Can't run send-quarantine-reminders.pl successfully
Kurt Buff
KBuff at zetron.com
Mon Apr 16 17:49:11 PDT 2007
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";
I also tried maia.conf with trailing slash, to no avail:
$template_dir = "/var/amavisd/maia/templates/";
Locate doesn't find reminder.tpl where maia.conf expects it:
$ locate reminder.tpl
/usr/local/maia-mailguard/maia-1.0.2/templates/reminder.tpl
Find does find reminder.tpl where maia.conf expects it:
$ find / -name reminder.tpl
/usr/local/maia-mailguard/maia-1.0.2/templates/reminder.tpl
/var/amavisd/maia/templates/reminder.tpl
Permissions are correct, AFAICT, as I can use the vscan account all the way
down that directory tree, and the newuser.tpl works fine for my test
accounts.
mx1# ll /var/amavisd/maia/templates
total 8
-rwxr-x--- 1 vscan vscan 2428 Mar 23 18:19 digest.tpl
-rwxr-x--- 1 vscan vscan 857 Mar 23 18:19 newuser.tpl
-rwxr-x--- 1 vscan vscan 812 Mar 23 18:19 reminder.tpl
I'm so close...
Kurt Buff
Lead Network Administrator
Zetron, Inc.
425.820.6363 x463
kbuff at zetron.com
PO Box 97004
Redmond, WA 98073
More information about the Maia-users
mailing list