Displaying 2 results from an estimated 2 matches for "hamdir".
Did you mean:
haldir
2016 Nov 11
1
How does one mark all messages as read (imap4flag "seen") with sieve?
...n
-------------- 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 $VMAILHOME/domains/$domain`; do
if [ &q...
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: