Custom link in Quarantine Report

Questions and answers about how to do stuff
Post Reply
saukkar86
Posts: 1
Joined: 21 Aug 2024 03:05

Custom link in Quarantine Report

Post by saukkar86 »

Hi,

I have setup quarantine reports to be sent to users. The problem is the EFA appliance sits behind a firewall with a custom port for HTTPS traffic. When the EFA Server generates the link in the quarantine report it is wrong as it sends the request to port 443 by default. How do I /where do I change the config so the link references the port e.g. https://efa.domain.com:8443/mailscanner/ect/ect/

I cant change the port, as an exchange server sits behind the same firewall and provides services on port 443.

Thanks Paul
User avatar
shawniverson
Posts: 3751
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Custom link in Quarantine Report

Post by shawniverson »

Take a look at /var/www/html/mailscanner/conf.php and set MAILWATCH_HOSTURL:

Code: Select all

define('MAILWATCH_HOSTURL', 'https://' . rtrim(gethostname()) . ':8443/mailscanner');
Post Reply