Modify Quarantine Report Email

Questions and answers about how to do stuff
Post Reply
traverss
Posts: 1
Joined: 23 Mar 2022 21:23

Modify Quarantine Report Email

Post by traverss »

Hello,
I was wondering if there is a way to modify the quarantine email report to remove columns as well as the width of these?

The reason being is that the email doesn't seem to render that well on iphones etc

I was wanting to remove the "To" column as well as shrink the "subject" column.

Thanks in advance
freyuh
Posts: 62
Joined: 04 Oct 2018 11:21

Re: Modify Quarantine Report Email

Post by freyuh »

You have to edit /var/www/html/mailscanner/quarantine_report.inc.php

Ulrich.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Modify Quarantine Report Email

Post by pdwalker »

If you do edit the file (it's pretty easy), make sure you back up the original in case you make a little mistake.

Also, after you have made the changes you like, make a backup copy of that as an update will overwrite your changes. Don't ask me how many times I've made customizations that got wiped out because I couldn't be bothered to make a copy. Doh!
cp quarantine_report.inc.php quarantine_report.inc.php.org
// make your edits and when you're happy
cp quarantine_report.inc.php quarantine_report.inc.php.new
Post Reply