diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/100mailstats b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/100mailstats new file mode 100644 index 0000000..800a854 --- /dev/null +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/100mailstats @@ -0,0 +1,9 @@ + # Alias for mailstats + Alias "/mailstats" "/opt/mailstats/html" + + + Options Indexes FollowSymLinks + AllowOverride None + Require all granted + + diff --git a/root/usr/bin/mailstats.py b/root/usr/bin/mailstats.py index 88ca01a..ed02fb5 100644 --- a/root/usr/bin/mailstats.py +++ b/root/usr/bin/mailstats.py @@ -614,7 +614,7 @@ if __name__ == "__main__": DMARCOkCount += 1 continue - print(f"J:{j} I:{i}") + #print(f"J:{j} I:{i}") #Now apply the results to the chameleon template - main table # Path to the template file template_path = template_dir+'mailstats.html.pt'