On Friday 27 October 2023 at 16:56:36, DEMBLANS Mathieu wrote:

> Hi,
> Anyone know if there is a way to request an external API throught a
> spamsassassin plugin ? It will be to search an URL extracted by SA from a
> body of a mail and check if it's referenced with an API request on an
> external service (virustotal or other). We receive some mails with URL
> inside whose page contains malware. One day, a user will click on it...
> If I can junk it before, it would be great.

You may want to be cautious about "checking" URLs in this way, because some 
emails will contain things like "to unsubscribe, click here" or "accept 
meeting invitation?" and so on.

You do not really want some automated system "clicking" on URLs like that and 
triggering external events either without the user's knowledge (they haven't 
even seen the email at this stage) or indeed doing something they do not want.


Antony.

-- 
Because it messes up the order in which people normally read text.
> Why is top-posting such a bad thing?
> > Top-posting.
> > > What is the most annoying way of replying to e-mail?

                                                   Please reply to the list;
                                                         please *don't* CC me.

Reply via email to