Hello, > what is that magic you are writing about and what is that cron job? Can > you post more info about it?
On my mail server, every user's email is stored in a subdirectory of /mailhome/vmail/$USER directory, which also has a subdirectory spam and a subdirectory ham. The "magic" is an imap server (dovecot) plugin, which creates a copy of an email in the user's spam or in the ham subdirectory every time when a user moves an email to or from the Spam folder. The cron job runs every 15 minutes and executes the following script: #!/bin/bash for dir in /mailhome/vmail/*; do USERNAME=$(basename "$dir") USERNAME="${USERNAME}@plmail.de" dspam_train "$USERNAME" "${dir}/spam" "${dir}/ham" > /dev/null rm -f "${dir}/spam"/* "${dir}/ham"/* done exit 0 Kind regards Christoph ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user