Hi Eric,
Am 21.12.2011 um 19:48 schrieb Eric Shubert:
Here's the script I use with a shared folder to learn ham and spam, fwiw:
#!/bin/sh
#
# learn and remove spam and ham in shared folders
Eric Shubert wrote:
I wonder if you could create a shared folder on the exchange server
for spam/ham, and have people move/copy their messages there. Then you
could make the QMT a samba client to the exchange server, mount the
shares as cifs, and run a sa-learn script that way.
Eric-
Can
Any of you ever heard of this script? Would it work to learn on attachments
vs actual emails? This could be very handy for training SpamAssassin if it
would work, or at least easier on users. I am definitely not a
coder/scripter, so wondering if anyone can take a look. Or is there a built
in
Another question (or three!) - to use Bayes learning does sa-learn (either
by command line or the script example in the wiki - the simple one) need to
be run as a particular user? I am guessing from some older mails on the
list archive that it should be run as vpopmail (via sudo)? By default
.
-Original Message-
From: Helmut Fritz [mailto:hel...@fritz.us.com]
Sent: Tuesday, December 20, 2011 8:13 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] sa-learn-attach
Any of you ever heard of this script? Would it work to learn on attachments
vs actual emails
On 12/21/11 12:23, Helmut Fritz wrote:
Another question (or three!) - to use Bayes learning does sa-learn (either
by command line or the script example in the wiki - the simple one) need to
be run as a particular user? I am guessing from some older mails on the
list archive that it should be
]
Sent: Tuesday, December 20, 2011 10:20 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] sa-learn user
On 12/21/11 12:23, Helmut Fritz wrote:
Another question (or three!) - to use Bayes learning does sa-learn
(either by command line or the script example in the wiki
I have Horde installed on my new toaster instead of squirrelmail. I
want emails in customers spam folders to be learned by the bayes
database. I am wondering if the script on the wiki will work - I
don't know if it's setup with squirrelmail in mind or if it will work.
Any thoughts?
Ok, i'll try to take a closer look.
Which were the lines you told me to look for in your first reply?
The ones that could tell me something about wheter SA is 'learning' or not.
Thanks!
-Original Message-
You'll probably need to fix those issues first - sometimes spamassassin won't
Sergio Minini {NETKEY} wrote:
Ok, i'll try to take a closer look.
Which were the lines you told me to look for in your first reply?
The ones that could tell me something about wheter SA is 'learning'
or not.
Thanks!
-Original Message-
You'll probably need to fix those
Sergio Minini {NETKEY} wrote:
Jake, what should I look for?
I get an endless list of items, ending with a
[19469] warn: lint: 7 issues detected, please rerun with debug enabled
for more information
I am sure its way over 200+ msgs now, and it was working before I
added the SA-script. I just
, but was flagging several
messages even before the cronned script.
Thanks!
-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 12:20 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SA Learn Bayes
Sergio Minini {NETKEY
Sergio Minini {NETKEY} wrote:
Hi there.
I've been using the SA-learn script in the wiki for several weeks now.
I haven't seen an improvement in the number of flagged emails, so I
was wondering if it was working.
Is there a way to check if the bayesian filters are really 'learning'
what the
Hi there.
I've been using the SA-learn script in the wiki for several weeks now.
I haven't seen an improvement in the number of flagged emails, so I was
wondering if it was working.
Is there a way to check if the bayesian filters are really 'learning' what the
scripts are feeding them?
Thanks!
I implemented the script in
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg00157.html
Anyone has any comments, warnings and or tips about it?
Its not in the QMT installation but on other productive QM.
I hope it does improve our SA detection.
Thanks- Sergio
I implemented the script in
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg00157.html
Anyone has any comments, warnings and or tips about it?
Its not in the QMT installation but on other productive QM.
I hope it does improve our SA detection.
Thanks- Sergio
I used SA
Erik,
So run my sa-learn script in the following fashion?
sudo -u vpopmail -H sa-learn --spam ${file} /dev/null 21
Did running this as root before mean that the bayes wasnt working
properly per the following?
/var/qmail/supervise/spamd/run
#!/bin/sh
exec /usr/bin/spamd -x -q -u vpopmail
Andy Rowe wrote:
Erik,
So run my sa-learn script in the following fashion?
sudo -u vpopmail -H sa-learn --spam ${file} /dev/null 21
Did running this as root before mean that the bayes wasnt working
properly per the following?
/var/qmail/supervise/spamd/run
#!/bin/sh
exec /usr/bin/spamd
Jake,
All of my sa-learn stuff is stored on mysql.
Does that follow the same suit?
Andy Rowe
Andy Rowe wrote:
Erik,
So run my sa-learn script in the following fashion?
sudo -u vpopmail -H sa-learn --spam ${file} /dev/null 21
Did running this as root before mean that the bayes wasnt
Hi all,
I was curious what the best way to run sa-learn is?
I saw on the toaster wiki site that it was being run as vpopmail.
I am running it as root via cron.
Is running it as root, the proper way to do this?
Andy Rowe
-
Roxanne Sandesara wrote:
/usr/bin/sa-learn --spam
/home/vpopmail/domains/our_domain/*/Maildir/.Spam/new/*
/usr/bin/sa-learn --spam
/home/vpopmail/domains/our_domain/*/Maildir/.Spam/cur/*
But what I got back was an error, from which I'm not really sure where
to go or what to do. I'm hoping
I do realize it makes me a frightening newbie in the world of
mailserver administrators. But I really haven't been bothering much
with SpamAssassin built into Toaster. I've instead been relying on
desktop-level Junk and Spam filters. But, like most people, I am
trying to improve things,
use qtprune.sh from the devel site, modify it for your needs.
Erik
On 3/5/07, Roxanne Sandesara [EMAIL PROTECTED] wrote:
I do realize it makes me a frightening newbie in the world of
mailserver administrators. But I really haven't been bothering much
with SpamAssassin built into Toaster. I've
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there is a
way to limit the amount of memory or processes that it uses?
Thanks,
Warren
-
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there is
a way to limit the amount of memory or processes that it uses?
I had the same problem here. 67M a process eats up the ram
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there is
a way to limit the amount of memory or processes that it uses?
I had the same problem here. 67M a
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there is
a way to limit the amount of memory or processes that it uses?
I had the same problem here. 67M a
Warren (mailing lists) wrote:
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there
is a way to limit the amount of memory or processes that it uses?
I had the
Warren (mailing lists) wrote:
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there
is a way to limit the amount of memory or processes that it uses?
I had the
Warren (mailing lists) wrote:
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there
is a way to limit the amount of memory or processes that it uses?
I had the
Eric Shubes wrote:
Warren (mailing lists) wrote:
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if there
is a way to limit the amount of memory or
Warren (mailing lists) wrote:
...so I sent out all of these great replies, but after I had changed my
connection and forgotten to change my spf record to match - duh.
Doh! (It's actually in the dictionary now)
Anyway, I turned off sa-learn in the mailfilter script and do not have
to deal
Warren (mailing lists) wrote:
Jake Vickers wrote:
Eric Shubes wrote:
Warren (mailing lists) wrote:
Jake Vickers wrote:
Warren (mailing lists) wrote:
sa-learn is using so much memory and CPU time that it is killing my
server. I have renamed it for now, but would like to know if
Firdaus Tjahyadi wrote:
Dear Friends
a few days a have alot spam like this
The hottest pick this year!
It just doesn't get any better than this. Booming sector, tightly held, with
an incredible PR blitz starting up. Not only that, but the company is set to
On 12/19/06, Jake Vickers [EMAIL PROTECTED] wrote:
Firdaus Tjahyadi wrote:
Dear Friends
a few days a have alot spam like this
The hottest pick this year!
It just doesn't get any better than this. Booming sector, tightly held,
with
an incredible PR blitz starting up. Not only that,
Dear Friends
a few days a have alot spam like this
The hottest pick this year!
It just doesn't get any better than this. Booming sector, tightly
held, with
an incredible PR blitz starting up. Not only that, but the company is
set to
release some smashing news.
Physicians Adult Daycare,
Greetings, Firdaus.
On 19 ??? 2006 ?., 7:21:35 you wrote:
How to stop this spam
The easiest way is to create a SA rule with aprop. regex for this spam
message, and give this rule an adequate score. For info about how to
do it head on to man qmailassassin and SA homepage with docs.
General
On 12/19/06, Alexey Loukianov [EMAIL PROTECTED] wrote:
Greetings, Firdaus.
On 19 ??? 2006 ?., 7:21:35 you wrote:
How to stop this spam
The easiest way is to create a SA rule with aprop. regex for this spam
message, and give this rule an adequate score. For info about how to
do it head on
I have a specific account that receives nothing but spam - it's a
client's '[EMAIL PROTECTED]', and it receives upwards of 300 spams
an hour. It's insane.
What it gets is mostly waves of the exact same spam for days, until
it switches to a different type, then the cycle repeats.
What's
If the account get absolutely nothing but spam, you could add
'[EMAIL PROTECTED]' to the /var/control/badmailto file. Note that this
would also reject '[EMAIL PROTECTED]', as the badmailto entry is a
qregex that matches a substring of the address.
Regarding the Argument list too long, I vaguely
: viernes, 10 de noviembre de 2006 15:58
Para: qmailtoaster-list@qmailtoaster.com
Asunto: Re: [qmailtoaster] sa-learn: 'Argument list too long'
If the account get absolutely nothing but spam, you could add
'[EMAIL PROTECTED]' to the /var/control/badmailto file. Note that this
would also reject '[EMAIL
Harry Zink wrote:
I have a specific account that receives nothing but spam - it's a
client's '[EMAIL PROTECTED]', and it receives upwards of 300 spams
an hour. It's insane.
What it gets is mostly waves of the exact same spam for days, until it
switches to a different type, then the cycle
On Nov 10, 2006, at 6:57 AM, Eric Shubes wrote:
That being said, I'm really not very familiar with sa-learn
specifically, so
there might be an alternative fix that I'm not aware of.
I'll probably end up going with TMDA, and that should at least block
and auto-delete most of the crap.
|
|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-Mensaje original-
De: Eric Shubes [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 10 de noviembre de 2006 15:58
Para: qmailtoaster-list@qmailtoaster.com
Asunto: Re: [qmailtoaster] sa-learn: 'Argument list too long'
If the account get absolutely nothing but spam, you could add
Asunto: Re: [qmailtoaster] sa-learn: 'Argument list too long'
If the account get absolutely nothing but spam, you could add
'[EMAIL PROTECTED]' to the /var/control/badmailto file. Note that this
would also reject '[EMAIL PROTECTED]', as the badmailto entry is a
qregex that matches a substring
] sa-learn: 'Argument list too long'
If the account get absolutely nothing but spam, you could add
'[EMAIL PROTECTED]' to the /var/control/badmailto file. Note that this
would also reject '[EMAIL PROTECTED]', as the badmailto entry is a
qregex that matches a substring of the address.
Regarding
Michael Amster wrote:
Doh. Typo.
ls | xargs sa-learn -spam
or:
find . -name filepattern | xargs sa-learn -spam
or:
find . -name filepattern -exec sa-learn -spam {} \;
Better yet, use the -f option to sa-learn:
echo /path/to/spam/directory /etc/sa-learn-spam.conf
echo
At the momemt i am using 2 mail servers. One of them is qmailtoaster and one
is vanilla qmail. Those two servers are primary and secondary MX for all my
domains. In next few months i will try to find the time to transfer vanila
qmail/mailbox to qmailtoaster so then i will have two
K Anand wrote:
I have installed qmt and want to make my sa learn from spams that are
getting through. Our users use POP3 to access mailsSo all the mails get
downloaded to their machines...I was reading somewhere that SA can learn
from attachments also...I have already set up a spam account
K Anand wrote:
I have installed qmt and want to make my sa learn from spams that are
getting through. Our users use POP3 to access mailsSo all the mails
get
downloaded to their machines...I was reading somewhere that SA can learn
from attachments also...I have already set up a spam
Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 6:36 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] SA - learn
K Anand wrote:
I have installed qmt and want to make my sa learn from spams that are
getting through. Our users use POP3
I have installed qmt and want to make my sa learn from spams that are
getting through. Our users use POP3 to access mailsSo all the mails get
downloaded to their machines...I was reading somewhere that SA can learn
from attachments also...I have already set up a spam account where I will
ask
Matt Haynes wrote:
Hi,
Just a quick question, I have lots of spam in one of my gmail
accounts, if I forward all the spam messages to [EMAIL PROTECTED]
and then run a cron job nightly to learn the spam from this account.
Would this work? and hopefully it would not associate my address from
see: http://jakev.com/qmail/ and click the 'stop spam' link.
-erik
Matt Haynes wrote:
Hi,
Just a quick question, I have lots of spam in one of my gmail
accounts, if I forward all the spam messages to [EMAIL PROTECTED]
and then run a cron job nightly to learn the spam from this account.
:42 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] sa-learn for spamassassin
Importance: High
Hi nick I´ve one domain and I´m using your script correct on the line 25 I
runed it manualy several times and it didn´t created any directory such as
.spam/*
How can I solve
: [qmailtoaster] sa-learn questions
According to the spamassassin website, this is a bad way to do it in
that it messes with the learning mechanisms.
Erik
On 9/8/05, Philip Moy [EMAIL PROTECTED] wrote:
Hi,
I am new to this; please correct me if I am wrong.
ham = email that put on the spam folder
Hi,
I am new to this; please correct me if I am wrong.
ham = email that put on the spam folder and it is not spam mail.
junk = email that received in 'InBox' but it is spam mail.
That is why we run 'sa-learn' to make it smarter from time to time.
I still receive many spam mail 'score=0 or really
Hi,
I had an error in my script:
line 25:
rm -rf ${DPATH/$x}/$i/Maildir/.spam/new/*
should be:
rm -rf ${DPATH}/$x/$i/Maildir/.spam/new/*
Regards,
Nick
~~ Begin spam-learn script ~~
#!/bin/sh
#
# Script to feed sa-learn from selected users
#
# Add the selected
58 matches
Mail list logo