Hi all
I want to use Bayesian Filtering for deleting spam mails.
This is how i would like to set it up.
I want all my users, to be able to forward mails to
missedspam@mydomain.dk and
notspam@mydomain.dkHow do i make these email aliases in sme server, without creating users on the server?
It just need to be a single mail folder for each of the 2 email adresses.
then i want to make a daily cron job, that counts the number of messages in each folder, and when there are 100 in one of them, it runs
(for missedspam) = sa-learn --spam -C /path/to/spamassassin --showdots --dir /path/to/directory/full/of/spam/msgs
(for notspam) = sa-learn --ham -C /path/to/spamassassin --showdots --dir /path/to/directory/full/of/ham/msgs
and then restart spamd
so in recap....
1. Question: How do i create mail aliases with a mailfolder, without creating a new user?
2. Question: How do i, from a cron job, count the number of messages, and if its 100 + it will run a job?
any ideas anyone?
