Page 1 of 1

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

Posted: 14 Jun 2016 14:31
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.

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

Posted: 15 Jun 2016 06:15
by DaN

Code: Select all

// Define MailWatch logo name
define('MW_LOGO', 'mailwatch-logo.png');
in /var/www/html/mailscanner/conf.php

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

Posted: 15 Jun 2016 06:28
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 :-/

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

Posted: 15 Jun 2016 06:40
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)

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

Posted: 15 Jun 2016 06:49
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.

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

Posted: 19 Jun 2016 11:32
by shawniverson