Displaying 2 results from an estimated 2 matches for "saparm".
2016 Nov 11
1
How does one mark all messages as read (imap4flag "seen") with sieve?
...ot;
[ ! -f "$prefs" ] && continue
echo "$user@$domain"
#echo "$user@$domain user_prefs=$prefs dbpath=$dbpath"
spamdir="$VMAILHOME/domains/$domain/$user/$MAILDIR/.$SPAMDIR"
hamdir="$VMAILHOME/domains/$domain/$user/$MAILDIR/.$HAMDIR"
saparm=''
if [ -d "$spamdir/new" ]; then
saparm="$saparm --spam $spamdir/new "
fi
if [ -d "$spamdir/cur" ]; then
saparm="$saparm --spam $spamdir/cur "
fi
if [ -d "$hamdir/new" ]; then
saparm="$saparm --ham $hamdir/new "...
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: