RE: Dangerous in-line attachments
Pramod Daya via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]> Wed, 15 Dec 2021 10:02:01 +0000
| Newsgroups | gmane.mail.virus.mailscanner |
|---|---|
| Message-ID | <JNZP275MB08670CEFA340CF4EDD25100EF7769@JNZP275MB0867.ZAFP275.PROD.OUTLOOK.COM> |
Thanks, Mark. Frustratingly, the bit.ly links are just not getting picked up when embeded in HTML messages. -----Original Message----- From: MailScanner <mailscanner-bounces+pramod=mindspring.co.za-qhrM8SXbD5JTOyd/[email protected]> On Behalf Of Mark Sapiro Sent: Tuesday, 14 December 2021 00:27 To: mailscanner-qhrM8SXbD5JTOyd/[email protected] Subject: Re: Dangerous in-line attachments On 12/13/21 3:25 AM, Pramod Daya via MailScanner wrote: > No - only in phishing.bad.sites.conf and in phishing.bad.sites.custom. > > For good measure I cat "bit.ly" at the end of the phishing.bad.sites.conf file but it's still getting through. There are two possibilities, but you've possibly already ruled out one. The first is that MailScanner doesn't read phishing.bad.sites.custom directly. It relies on the /usr/sbin/ms-update-phishing command being run periodically by cron to prepend phishing.bad.sites.custom to phishing.bad.sites.conf. This in turn relies on ms_cron_ps being set to 1 in /etc/MailScanner/defaults and the various hourly, daily, etc ms-cron jobs being run by cron. However, you put bit.ly directly in phishing.bad.sites.conf so assuming MailScanner's children got restarted between your adding it and the message not being disarmed, that's not the issue. The other issue is that phishing tags are only flagged and disarmed in HTML message parts. A bit.ly url in a plain text message or message part will never be flagged or disarmed. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -- MailScanner mailing list mailscanner-qhrM8SXbD5JTOyd/[email protected] http://lists.mailscanner.info/mailman/listinfo/mailscanner -- MailScanner mailing list mailscanner-qhrM8SXbD5JTOyd/[email protected] http://lists.mailscanner.info/mailman/listinfo/mailscanner