You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2018/11/27 20:35:19 UTC

[Bug 7660] New: PDFInfo Plugin Appears to Only Scan Some Sort of Default Email

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7660

            Bug ID: 7660
           Summary: PDFInfo Plugin Appears to Only Scan Some Sort of
                    Default Email
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: jeffrey.l.roberts@gmail.com
  Target Milestone: Undefined

Created attachment 5632
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5632&action=edit
Print to file statements

While testing the PDFInfo plugin, I noticed it wasn't catching my spam PDF...

So I put some print to file statements in the PDFInfo.pm plugin file, and
checked the output to see what was going on...

After futzing around for a while, I finally decided to check the message body,
because the plugin was not finding any mime parts that matched
"application/pdf", there was only one mime part, "text/plain"

The message body is made up of

I need to make this message body somewhat long so TextCat preloads
I need to make this message body somewhat long so TextCat preloads
I need to make this message body somewhat long so TextCat preloads
I need to make this message body somewhat long so TextCat preloads
I need to make this message body somewhat long so TextCat preloads
I need to make this message body somewhat long so TextCat preloads
I need to make this message body somewhat long so TextCat preloads
...

The email from header says ignore@compiling.spamassassin.taint.org
The message Id changes every time i send an email

Im not sure if I am doing something wrong, or if I have something
misconfigured, but in the /var/log/mail.log I can see it processing my email,
then it says print on closed filehandle $fh a few times, then it says "clean
message..."

So Im pretty sure the plugin is being loaded, it is being executed, but it's
not being executed on the email that im sending, its being executed on some
sort of default email

Any ideas?

- Jeffrey

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7660] PDFInfo Plugin Appears to Only Scan Some Sort of Default Email

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7660

Bill Cole <bi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
                 CC|                            |billcole@apache.org

--- Comment #1 from Bill Cole <bi...@apache.org> ---
Have you tested this with any version newer than 3.4.1? 

Specifically, the 3.4.2 release, head of the 3.4 branch, and head of 'trunk'
would be useful to test.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7660] PDFInfo Plugin Appears to Only Scan Some Sort of Default Email

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7660

Bill Cole <bi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #2 from Bill Cole <bi...@apache.org> ---
I have enabled the PDFInfo plugin on a machine with 3.4.2 installed and
confirmed that the plugin is detecting the PDF parts in messages correctly,
extracting the name and version correctly, and calculating the MD5 hash for the
PDF correctly. I suspect that whatever problem you are having is due to
configuration issues.  To test this with your system, use the debug argument
"-D pdfinfo" to the spamassassin script and you should see about a dozen lines
of detail regarding what the plugin is finding. 

This issue would best be moved to the SpamAssassin Users Mailing list, where
you are likely to find others who have worked with the PDFInfo plugin and may
have insights on its configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.