On Tue, 2017-08-15 at 16:48 -0700, Scott wrote:
>
> >An idea for an alternate collection method: run an imap server on
> your
> >sa-learn training box, setup a second email account in Outlook for
> the
> >users who are training, and have them just drag the ham/spam to
> training
> >folders. I
>An idea for an alternate collection method: run an imap server on your
>sa-learn training box, setup a second email account in Outlook for the
>users who are training, and have them just drag the ham/spam to training
>folders. I don't know if it's "better," but I'd prefer it myself to
>)re)
On Tue, 2017-08-15 at 07:55 -0700, Scott wrote:
> I need a way to go from Outlook to train SA if I'm to train at all.
> FOr
> most of my users the inbound mail is handed off to a 3rd party
> Exchange
> server that I don't have access to. So setting up a public IMAP
> folder on
> the exchange serve
tried:
#!/bin/bash
FILES=/home/mail/msg-1502747659-31280-0/*
echo "" > /home/mail/test/out
for f in $FILES
do
echo "Processing $f file..."
# take action on each file. $f store current file name
cat $f|formail >> /home/mail/test.out
done
Almost worked. It adds the needed "From" header and th
>It should be OK, but it wouldn't be ideal to combine it with=20
>autotraining because the manual training wont be able to counter any=20
>mistraining of the tokens from the stripped headers.=20
> It would probably be a good idea to use a comprehensive ignoreheader=20
> list. You could start with
On Tue, 15 Aug 2017 07:55:39 -0700 (MST)
Scott wrote:
> Hmmm. Doesn't sound good. I sent a simple text message through a
> large ISP, to my server, arrived in a mbox. Compared that message to
> the one that was POPed, then sent back as an attachment and stripped
> out via the existing script.
>
Hmmm. Doesn't sound good. I sent a simple text message through a large ISP,
to my server, arrived in a mbox. Compared that message to the one that was
POPed, then sent back as an attachment and stripped out via the existing
script.
These sanitized messages are pretty short but I put in pastebin
On Tue, 15 Aug 2017 14:11:14 +0200
Matus UHLAR - fantomas wrote:
> On 14.08.17 21:34, Ian Zimmerman wrote:
> >On 2017-08-14 20:08, Scott wrote:
> >
> >> I would like to turn around and put those individual messages back
> >> into mbox format, again, without changing their original headers.
> >
On 14.08.17 21:34, Ian Zimmerman wrote:
On 2017-08-14 20:08, Scott wrote:
I would like to turn around and put those individual messages back
into mbox format, again, without changing their original headers.
The first question is: why? sa-learn works on just about any format:
individual messa
On Mon, 14 Aug 2017 20:08:46 -0700 (MST)
Scott wrote:
> I would like to turn around and put those individual messages back
> into mbox format, again, without changing their original headers.
> Anyone have a script or a method which will accomplish that? I tried
> to figure out how to do it but wa
> I have a script that can take spam/ham messages forwarded as attachments
> from
> Outlook and turn them into rfc822 individual files. It allows external
> users to send me Outlook spam/ham for review. I will in turn feed
> sa-learn
> with those messages once vetted. That part of the process is
On 2017-08-14 20:08, Scott wrote:
> I would like to turn around and put those individual messages back
> into mbox format, again, without changing their original headers.
The first question is: why? sa-learn works on just about any format:
individual messages, multiple messages in a flat directo
Maybe not rf822 format. This is a sample extracted single file:
https://pastebin.com/S9W4Z64N
--
View this message in context:
http://spamassassin.1065346.n5.nabble.com/message-rfc822-to-mbox-script-for-use-with-sa-learn-workflow-tp138362p138363.html
Sent from the SpamAssassin - Users mailin
13 matches
Mail list logo