Displaying 5 results from an estimated 5 matches for "salearn".
Did you mean:
learn
2007 Oct 09
1
SpamAssassin and Public Namespace
...2) Check your local.cf for spamassassin (in debian it's
/etc/spamassassin/local.cf) bayes_path settings.
#
# Also be sure to check that your spamassassin is truely using the bayes
files (-D manual startup of spamd to debug there)
#
use Mail::IMAPClient;
use IO::Socket::SSL;
my $debug=1;
my $salearn;
my $username = 'user';
my $password = 'password';
my $server = 'server.example.com';
my $ssl=new IO::Socket::SSL("$server:imaps");
die ("Error connecting - $@") unless defined $ssl;
$ssl->autoflush(1);
my $imap = Mail::IMAPClient->new(...
2016 Nov 11
1
How does one mark all messages as read (imap4flag "seen") with sieve?
...ath
# vmail home is organized like: /home/vmail/domains/example.com/bob/Maildir
MAILDIR=Maildir
SPAMDIR="SystemFolders.Spam"
HAMDIR="SystemFolders.Ham"
VMAILHOME=/home/vmail
VMAILUSER=vmail
LS=/usr/bin/ls
RM=/usr/bin/rm
SU=/usr/bin/su
FIND=/usr/bin/find
DOVEADM=/usr/bin/doveadm
SALEARN=/usr/bin/sa-learn
for domain in `$LS "$VMAILHOME/domains"`; do
for user in `$LS $VMAILHOME/domains/$domain`; do
if [ "$user" = "public_html" ]; then continue; fi
dbpath="$VMAILHOME/domains/$domain/$user/.spamassassin"
[ ! -d "$dbpath" ] &am...
2006 Mar 17
6
VERY cool add-on request.
I would like to have the ability to execute a command on a folder based
on a user doing something like copying a message to that folder. This
could be accomplished with a config file directive.
For example, this would be EXTREMEMLY useful as a spam learning hook.
Take a scenario where each user has their own spamassassin bayes database,
and you want to give the users the ability to train their
2016 Nov 10
2
How does one mark all messages as read (imap4flag "seen") with sieve?
I don't use the Anti-Spam plugin; I just fire off a BASH script every four hours with
crontab which iterates thru the vmail email accounts and trains Spamassassin 'per-user'
accounts. If the script sounds interesting I can post it here. It probably could use a little polish
though.
Bill
On 11/9/2016 6:49 PM, Ben Johnson wrote:
> On 11/5/2016 1:22 PM, Larry Rosenman wrote:
2014 Dec 22
1
zlib, mdbox and spam filtering scripts
> Let the MTA feed SA.
> http://gtmp.org/doku.php?id=publications:sa-postfix-en
Hi Oscar,
Hi dovecot-list,
I read through the docs, quite interesting read. But I?m wondering, mails are in this case only kept temporary? So re-reading spam and ham is not possible?!? It seems useful still, as it?s direct and not run via a daily cron script.
I also looked into Sven?s advice (Danke!) about