Hi there,
Trying to change the https://hostname/mailscanner to something else like https://hostname/appliance
Is this possible without breaking EFA / Mailscanner?
Change Apache https://hostname/mailscanner
-
- Posts: 83
- Joined: 16 Oct 2018 05:55
- Location: Portugal
Re: Change Apache https://hostname/mailscanner
I've not tried this, so these instructions may break your system - be careful.
1/ you could rename the /var/www/html/mailscanner directory to appliance
- this would likely break updates as EFA expects to find a "mailscanner" directory
- you'll need to edt your conf.php to set the right directory path (mailscanner flaw? - why doesn't it figure this out from the directory the files are in?)
2/ you could symlink the /var/www/html/mailscanner directory to /var/www/html/appliance
- my preference as it less likely to leave a broken system
- easy to test
- updates should still work
- you may have to find various places where the /mailscanner directory is hardcoded, like conf.php
- you may have to change your apache configuration for the efa vhost to make sure that it will follow the symlink
If you document all your changes and your system isn't in production, it should be easy enough to test until you have it working.
1/ you could rename the /var/www/html/mailscanner directory to appliance
- this would likely break updates as EFA expects to find a "mailscanner" directory
- you'll need to edt your conf.php to set the right directory path (mailscanner flaw? - why doesn't it figure this out from the directory the files are in?)
2/ you could symlink the /var/www/html/mailscanner directory to /var/www/html/appliance
- my preference as it less likely to leave a broken system
- easy to test
- updates should still work
- you may have to find various places where the /mailscanner directory is hardcoded, like conf.php
- you may have to change your apache configuration for the efa vhost to make sure that it will follow the symlink
If you document all your changes and your system isn't in production, it should be easy enough to test until you have it working.