Re: Does spamc unwrap spam reports?

2017-01-05 Thread @lbutlr
On Dec 28, 2016, at 3:01 AM, Lukas Erlacher wrote: > I'm calling "spamc --learntype=spam/ham" from a script, passing in emails > fetched from imap (I'm using ISBG with --learnspambox / --learnhambox and > --spamc actually). Why are you calling spamc instead of sa-learn? -- Apple broke AppleSc

Re: Does spamc unwrap spam reports?

2017-01-03 Thread RW
On Tue, 3 Jan 2017 10:39:52 +0100 Lukas Erlacher wrote: > On 12/28/2016 03:12 PM, RW wrote: > > > > It's done in spamd. Don't attempt to remove X-Spam-* headers > > yourself or it wont attempt to remove the mime encapsulation. > > > > I'd like to convince myself of that... I ran `sudo -u debian

Re: Does spamc unwrap spam reports?

2017-01-03 Thread Lukas Erlacher
On 12/28/2016 03:12 PM, RW wrote: It's done in spamd. Don't attempt to remove X-Spam-* headers yourself or it wont attempt to remove the mime encapsulation. I'd like to convince myself of that... I ran `sudo -u debian-spamd spamc -c < spamspam.eml` on a mail that has spamlevel 14.4 and is en

Re: Does spamc unwrap spam reports?

2016-12-28 Thread RW
On Wed, 28 Dec 2016 11:01:05 +0100 Lukas Erlacher wrote: > Hello, > > https://wiki.apache.org/spamassassin/BayesInSpamAssassin says: > > > It's OK to feed emails with Spamassassin markup into the sa-learn > > command -- sa-learn will ignore any standard Spamassassin headers, > > and if the origi

Re: Does spamc unwrap spam reports?

2016-12-28 Thread Martin Gregorie
On Wed, 2016-12-28 at 11:01 +0100, Lukas Erlacher wrote: > I haven't found any documentation that specifies this for > spamc/spamd. > I don't think that passing an email to SA via spamc  makes any attempt to strip pre-existing SA headers, but there's an easy way to check: Find any message that ha

Does spamc unwrap spam reports?

2016-12-28 Thread Lukas Erlacher
Hello, https://wiki.apache.org/spamassassin/BayesInSpamAssassin says: It's OK to feed emails with Spamassassin markup into the sa-learn command -- sa-learn will ignore any standard Spamassassin headers, and if the original email has been encapsulated into an attachment it will decapsulate the