ispCP - Board - Support
Automatic - Move SPAM to Junkmail folder. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Small Talk (/forum-20.html)
+--- Thread: Automatic - Move SPAM to Junkmail folder. (/thread-10447.html)

Pages: 1 2


RE: Automatic - Move SPAM to Junkmail folder. - aseques - 05-04-2010 05:13 PM

To delete the spam, I am using this script, it shoulk work also on courier, since the location for the mail is the same.
Code:
# Delete spam older than x days
22 2 * * * /usr/bin/find /var/mail/virtual/ -type f -wholename "/var/mail/virtual/*/.Junk/*" -mtime +5 -exec rm -v {} \; >/tmp/spam_deleted 2>/tmp/spam_deleted_errors
22 8 * * * /usr/bin/find /var/mail/virtual/ -type f -wholename "/var/mail/virtual/*/.Trash/*" -mtime +5 -exec rm -v {} \; >/tmp/trash_deleted 2>/tmp/trash_deleted_errors



RE: Automatic - Move SPAM to Junkmail folder. - sakal - 05-04-2010 05:54 PM

@ aseques +1 Reputation from my , for help on this TOPIC.
Thanks for help with delete spam solution.

... just one more solution remaining boyz Wink


RE: Automatic - Move SPAM to Junkmail folder. - sakal - 05-05-2010 04:57 PM

After some googling i find some possible solutions how we can manage redirection SPAM emails in users junk folder.

info 1 is here : http://www.fatofthelan.com/articles/articles.php?pid=22

info 2 is here :http://www200.pair.com/mecham/spam/plusquarantine.html


Can somebody who understand very well ispCP and email server settings , help us to implement this in last ispCP code?


RE: Automatic - Move SPAM to Junkmail folder. - sakal - 06-17-2010 11:41 PM

Any news on this topic ?