Displaying 6 results from an estimated 6 matches for "spamdir".
2016 Nov 11
1
How does one mark all messages as read (imap4flag "seen") with sieve?
...at's important to me.
>
> -Ben
-------------- next part --------------
#!/bin/bash
# 2015-11-02 add -u to sa-learn; change delete to doveadm expunge
# 2015-07-21 update executable paths and dbpath
# 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 $VM...
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:
2008 Jul 21
4
Deliver mail as 'read'?
I'd like to be able to deliver certain mail as 'read' from procmail.
My procmail rules call deliver with -m
to directly to inject filtered mail to maildir based directories.
I like to keep copies of mail I've sent by cc'ing it to myself and
using procmail to filter and store copies in the
appropriate directory.
I cannot seem to find a way of delivering cc'd mail from
2008 Mar 10
5
Sieve doesnt filter
Hi!
I have a config like this (globalsieverc):
require "fileinto";
if address :domain :is "to" "domain.de" {
if header :matches "X-Spam-Level" "\\*\\*\\*\\*\\*\\*\\*\\*" {
#discard;
fileinto "spamdir";
}
}
else {
# The rest goes into INBOX
# default is "implicit keep", we do it explicitly here
keep;
}
It should filter all Mail for "domain.de" and then look for spam score.
2018 Dec 18
0
Spamassassin + Postfix : delete spam mail on the server ?
Hi,
Procmail, it can move messages around based on many rules.
Use something like this in postfix main.cf:
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
And something like this in /etc/procmailrc or $HOME/.procmailrc
SPAMDIR=$HOME/Maildir/.Spam/
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
$SPAMDIR
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
HTH
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Nicolas Kovacs" <info at mic...
2018 Dec 18
8
Spamassassin + Postfix : delete spam mail on the server ?
Hi,
My mail server is running on CentOS 7 with Postfix, Dovecot and
Spamassassin. I get quite a lot of spam on a few accounts, and
Spamassassin does its job fine. Spam mail is identified correctly, and
it looks like there are no false positives, e. g. valid mail is never
identified as spam.
When a message is flagged as spam, the subject line is rewritten to
begin with [SPAM]. Then, a filter in