Re: Attachments with no Content-Type mime header

2017-08-16 Thread Paul Stead
I’ve checked and as in the plugin, foreach my $part ($pms->{msg}->find_parts(qr/./, 1)) { does find each attachment, including the ones without Content-Type header – the method below can be used on these parts found regardless of lack of Content-Type Paul From: Pedro David Marco

Re: Attachments with no Content-Type mime header

2017-08-16 Thread Pedro David Marco
Thanks Paul,  but your plugin uses find_parts() that turns it pointless if there is no Content-Type mime header...   PedroD   >The magic number or file signature can be helpful in determining the filetype:   >https://en.wikipedia.org/wiki/List_of_file_signatures   >I make use of

Re: Attachments with no Content-Type mime header

2017-08-16 Thread Paul Stead
From: Pedro David Marco Reply-To: Pedro David Marco Date: Wednesday, 16 August 2017 at 22:32 To: David Niklas , "users@spamassassin.apache.org" Subject: Re: Attachments with no Content-Type mime

Re: Attachments with no Content-Type mime header

2017-08-16 Thread Pedro David Marco
Hi David... I agree with you... but some functions like find_parts() do not work if there are not Content-Type Headers... making impossible the analysis of some attachments... i am writing a plugin to detect suspicious PDFs... Maybe there's a better way to analyze attachments that using

Re: TxRep can't use SQLBasedAddrList factory module

2017-08-16 Thread Christopher Engelhard
> Please open a bug on bugzilla. Nothing jumps to mind. If you can > include the version of mysql just for completeness sake as well as how > you created the tables, that would be good. > I'll do that, unless you can spot an error below. > Do you have a line like user_awl_sql_table

Re: Attachments with no Content-Type mime header

2017-08-16 Thread David Niklas
On Fri, 11 Aug 2017 18:28:56 + (UTC) Pedro David Marco wrote: > Hi everybody... > When an email has a MIME part with no Content-Type header, is there any > way to force SA "guess" the format based on other criteria... file > extension, for example? Example:

Re: TxRep can't use SQLBasedAddrList factory module

2017-08-16 Thread Kevin A. McGrail
On 8/16/2017 4:38 AM, Christopher Engelhard wrote: I'd start by giving it all perms (excepting things like GRANT), see if it works, and then scale back the perms until you find the minimal necessary set. After giving the user full permissions I still get the exact same error message(s). For

Off-topic RoboCall Spammers Pay Up & Support Inclusion in Technology

2017-08-16 Thread Kevin A. McGrail
Morning Everyone! So 1st, a sort-of spammy topic. There is a US Legal Settlement for $300 to $900 bucks if some robocallers bugged you with voice-spam about their cruises. Check if your number at: https://www.rmgtcpasettlement.com/Landing.aspx Article for more info:

Re: TxRep can't use SQLBasedAddrList factory module

2017-08-16 Thread Christopher Engelhard
> I'd start by giving it all perms (excepting things like GRANT), see if > it works, and then scale back the perms until you find the minimal > necessary set. After giving the user full permissions I still get the exact same error message(s). For completeness' sake I tried the Bayes module with