Current time: 09-24-2018, 02:10 AM Hello There, Guest! (LoginRegister)


Poll: Are you looking for similar solution ?
This poll is closed.
Yes 81.82% 9 81.82%
No 18.18% 2 18.18%
Total 11 votes 100%
* You voted for this item. [Show Results]

Post Reply 
Automatic - Move SPAM to Junkmail folder.
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #11
RE: Automatic - Move SPAM to Junkmail folder.
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
(This post was last modified: 05-04-2010 05:13 PM by aseques.)
05-04-2010 05:13 PM
Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #12
RE: Automatic - Move SPAM to Junkmail folder.
@ aseques +1 Reputation from my , for help on this TOPIC.
Thanks for help with delete spam solution.

... just one more solution remaining boyz Wink
05-04-2010 05:54 PM
Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #13
RE: Automatic - Move SPAM to Junkmail folder.
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?
(This post was last modified: 05-05-2010 05:01 PM by sakal.)
05-05-2010 04:57 PM
Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #14
RE: Automatic - Move SPAM to Junkmail folder.
Any news on this topic ?
06-17-2010 11:41 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)