Image mailwatch-logo.gif instead of .png when releasing email from quarantine?

Report bugs and workarounds
Post Reply
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Image mailwatch-logo.gif instead of .png when releasing email from quarantine?

Post by ovizii »

I just clicked a release link, the email was released but the site I ended up on had a broken image. Upon inspection the link was: mydomain.tld/mailscanner/images/mailwatch-logo.gif

looking into this issue it seems the image name should be mailwatch-logo.png but I'm unsure where to correct this link.
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Image mailwatch-logo.gif instead of .png when releasing email from quarantine?

Post by DaN »

Code: Select all

// Define MailWatch logo name
define('MW_LOGO', 'mailwatch-logo.png');
in /var/www/html/mailscanner/conf.php
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: Image mailwatch-logo.gif instead of .png when releasing email from quarantine?

Post by ovizii »

Thanks but strangely it is properly defined there and yet, when I released an email from quarantine via the link in the notification email I got, the page where I ended up had a .gif instead of .png logo. I think the url was something like released.html or the likes :-/
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: Image mailwatch-logo.gif instead of .png when releasing email from quarantine?

Post by DaN »

https://github.com/E-F-A/v3/search?utf8 ... &type=Code

released.html has this gif

/var/www/html/mailscanner/images has the link to the gif in it

must be a bug, the file (mailwatch-logo.gif) dindn't exist

make a new link as a workaround (mailwatch-logo.gif -> EFAlogo-47px.gif)
Last edited by DaN on 15 Jun 2016 13:22, edited 1 time in total.
ovizii
Posts: 463
Joined: 11 May 2016 08:08

Re: Image mailwatch-logo.gif instead of .png when releasing email from quarantine?

Post by ovizii »

This is inside my /var/www/html/mailscanner/images folder:

Code: Select all

 ls -al
total 52
drwxrwxr-x 3 root apache  4096 May 11 09:15 .
drwxr-xr-x 6 root root    4096 May 20 11:42 ..
drwxrwxr-x 2 root apache  4096 Jun 14 16:10 cache
-rw-r--r-- 1 root root    3118 May 11 09:15 EFAlogo-47px.gif
-rw-r--r-- 1 root root   15657 May 11 09:15 EFAlogo-79px.png
-rw-r--r-- 1 root root    1150 May 11 09:15 favicon.ico
-rw-r--r-- 1 root root    1150 May 11 09:15 favicon.png
lrwxrwxrwx 1 root root      16 May 11 09:15 mailscannerlogo.gif -> EFAlogo-47px.gif
-rw-r--r-- 1 root root    4724 May  2 10:02 mailscannerlogo.gif.orig
lrwxrwxrwx 1 root root      16 May 11 09:15 mailwatch-logo.png -> EFAlogo-79px.png
-rw-r--r-- 1 root root    3723 May  2 10:02 mailwatch-logo.png.orig
lrwxrwxrwx 1 root root      16 May 11 09:15 MW_LOGO -> EFAlogo-79px.png
I now made another symlink: mailwatch-logo.gif -> mailwatch-logo.png

hope that fiex this.
Post Reply