LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2012, 06:46 PM   #1
osmy
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
Unhappy Auto deleting spam assasins spam box via cronjob and Roundcube Junk Folder


Hi and Happy 2012 everyone,

1)I am using Cpanel based webhosting, Spam assasins is enabled and putting spams on a spam folder. I want to set up a cronjob to auto delete this spam folder mails for every mail account on every 10 days.

2)Another question is, there is a Junk folder on Roundcube, is there a way to use Roundcube Junk folder instead of spam folder of spamassasins?

Please write seperate answers for these? Major need is 1st question.

Help appreciated!

Osmy

Last edited by osmy; 01-05-2012 at 06:47 PM.
 
Old 01-07-2012, 10:07 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
1) Don't do it unless you want to lose mail.

However good your spamassassin setup is, you are likely to have the odd email sent as spam that is not. You will, I presume, tighten the rules or add them until most spam stops coming through. My nutty brother in the Excited States is an example; all his endless crap and bilge passed as spam for a while in my setup. He did say one or two relevant family matters, so if cron had dealt with him . . .
 
Old 01-07-2012, 10:44 AM   #3
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Thanks for your help and suggestions. I give 10 days to check for spam folder later delete them auto for all mail account spam folder. What is the cron command for it? Please write them, really need your help!
 
Old 01-10-2012, 10:41 AM   #4
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Any updates folks?
 
Old 01-11-2012, 03:48 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I never use cron. Look at the man page and look for examples
 
Old 01-11-2012, 05:01 PM   #6
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
I will create cron with Cpanel, I only need the command line for this process
 
Old 01-13-2012, 02:23 PM   #7
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
No one?
 
Old 01-18-2012, 11:03 AM   #8
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
I think nobody has got an answer, anyway thank you for your help!
 
Old 01-23-2012, 04:22 PM   #9
osmy
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
I can't find anything, come on one person should know how to do this come on!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Move SA Marked Spam to Junk/Spam Folder Using Procmail, Postfix, and Virtual Users alden_pease Linux - Server 0 01-05-2012 12:29 AM
spam filter that puts spam into spam folder? paul_mat Linux - Software 3 03-31-2009 04:18 AM
Postfix, dovecot, spamassassin SPAM to a spam folder breitscott Linux - Server 30 02-17-2007 02:47 PM
spam/not spam folder in spamassassin depam Linux - Networking 2 11-29-2006 07:01 AM
procmail and spam -- do not send out of office auto replay to spam draix Linux - Software 0 12-30-2004 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration