footer link on ham goes to release instead of learn as spam

General eFa discussion
Post Reply
tjfayaz
Posts: 5
Joined: 25 Jan 2024 17:17

footer link on ham goes to release instead of learn as spam

Post by tjfayaz »

Hi has anyone else got this issue on v4 whereby the /etc/MailScanner/reports/en/inline.sig.html link is actually a link to release rather than to mark as spam? Since this gets added to ham only, why would you want to release something which you already have and is already released?

So on the bottom of ham does anyone know the correct URL format to be able to single click and learn as spam (without login)?
If this message is spam, you can report in the next 3 days
by clicking https://$hostname/mailscanner/eFa-learn.php?mid=$id&r=$token
Last edited by tjfayaz on 03 Feb 2024 14:59, edited 1 time in total.
tjfayaz
Posts: 5
Joined: 25 Jan 2024 17:17

Re: footer link on ham goes to release instead of learn as spam

Post by tjfayaz »

ok I can confirm this URL does work and submits to learn as spam. What was misleading was the "Spam Release" header it gives so I've adjusted learn03 in the language file to say "Learn". I've also made /var/www/html/mailscanner/languages/en.php submit the form without asking you and simply confirm it's been learned. Working well :)

https://$hostname/mailscanner/eFa-learn.php?mid=$id&r=$token
Post Reply