Re: [BULK] [trinity-users] Re: [BULK] [trinity-users] Re: [BULK] [trinity-users] more on my kmail 100% problemns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gene Heskett wrote:

> Humm, how would one translate this to that?
> 
> #!/bin/bash
> PATH=/sbin:/root/bin:/usr/bin:/bin:/home/gene/bin
> # make this run as gene! Does
> # make sure the database is free
> killall fetchmail
> # wait for the spamd pipes to drain
> sleep 20
> # do this dastardly deed
> sa-learn --ham /home/gene/Mail/ham/cur
> sa-learn --ham /home/gene/Mail/coco/cur
> sa-learn --ham /home/gene/Mail/Xorg/cur
> sa-learn --spam /home/gene/Mail/spam/cur
> # now, this stuff is trash, 24 hours old, kill it.
> rm -f /home/gene/Mail/spam-hold/cur/*
> # And move todays catch into Mail/spam-hold/cur for a 24 hour period
> # so I can retrieve it the next day if needed.
> mv /home/gene/Mail/spam/cur/* /home/gene/Mail/spam-hold/cur/
> # Note, I leave the ham for moving where it really goes by hand
> # and restore fetchmail but let the disks synch first
> sleep 6
> /usr/bin/fetchmail -d 120 --fetchmailrc /home/gene/.fetchmailrc
> 
> Simple little script, usually takes about a minute to run. cron sends me
> an email. I delete it unless there has been an error.

I don't know. I use exim with sa and bogofilter. Then it goes to imap and
kmail reads from that imap server.


---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux