Wayne,
> I have amavis-new setup with postfix. When I try to set a custom
> message for the warnings, IE: $notify_virus_recips_tmpl =
> "var/amavis/messages/virus-recipient.txt" I end up getting a blank
> email for the notification. I imagine it's not able to open the file, but
> I'm not sure as to why, I checked all permissions on the files and
> directory and they are set to the same user that amavis is running as,
> I even chmod it to 777 just to be sure and I still got a blank message.
The $notify_virus_recips_tmpl is supposed to be the template itself,
not a filename of a template. Either assign the text directly to
the variable, or use a read_text function:
$notify_virus_recips_tmpl =
read_text("/var/amavis/messages/virus-recipient.txt");
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/