Alex skrev den 2025-07-02 15:45:

Also, it's very slow because it has to spawn the binary with every
request. Is there a way to load it into memory or use a library
version to avoid having to do this every time? Sometimes salespeople
send emails to 50+ people at a time with a legitimate PDF, but it has
to spawn zbarimg for each of them, nevertheless, so it could
eventually be a denial-of-service.

to be solved in spamassassin it need to store results from it in sqlite3, then in later scanning state it just checks sqlite3 match before doing scanning again if its multi-recipients

perl code changes is imho welcommed :=)

Reply via email to