6 lines
274 B
Plaintext
6 lines
274 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
date >> /var/log/exim4/sa-learn
|
||
|
find /var/vmail -type d -name '.Junk' | xargs -I junk sa-learn --spam junk/{cur,new} >> /var/log/exim4/sa-learn
|
||
|
find /var/vmail -type d -name '.Junk' | xargs -I junk find junk/{cur,new} -type f -delete >> /var/log/exim4/sa-learn
|