Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th September 2009, 10:06
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default ISPConfig+Roundcube. How to move the "quarantine files" to the Junk Folder

Hello,
I'm realizing a mail server and I've used the howto forge tutorial. Just perfect.
How can I set up the system to move all the quarantine files (mails with viruses and mail tagged as kill tag) to the junk mail?
So in that way no email will be lost...
Any suggestions?

Thanks
Michele
Reply With Quote
Sponsored Links
  #2  
Old 25th September 2009, 10:42
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

If i change in /etc/amavisd.conf from:
Code:
#
# Quarantine settings
#

$final_virus_destiny = D_BOUNCE;
$final_spam_destiny = D_DISCARD;
$final_banned_destiny = D_BOUNCE;
$final_bad_header_destiny = D_PASS;
to:
Code:
#
# Quarantine settings
#

$final_virus_destiny = D_DISCARD;
$final_spam_destiny = D_DISCARD;
$final_banned_destiny = D_DISCARD;
$final_bad_header_destiny = D_PASS;
is it gonna be fine?

Thanks
Reply With Quote
  #3  
Old 25th September 2009, 11:12
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Ok now that I've read a bit about amavisd, vith $spam_quarantine_to= i can say to the system to send all the spam_quarantine to a folder of the server or to an email address.
The problem is that I can send the spam_quarantine just to a folder... so I'll have a folder where I can find the spam_quarantine of all the emails.
What I want to realize is something like that:
the system will copy the spam_quarantine to this folder:
/var/vmail/%domain/%user/%.Junk/new
So that every email will have in the junk folder his the spam_quarantine.

Any idea to how to realize it?
Reply With Quote
  #4  
Old 25th September 2009, 11:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

I dont think that it can be realized like this as amavisd does not has placeholders for the path. Instead you should configure amavisd to tag spam in the subject and then use the email filters in the mail accounts to store the spam files to the junk folder.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 25th September 2009, 12:12
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Hi till,
the problem is that I don't want to loose any email.
I would like to have even the email checked as virus or kill level into junk mail.

Do you think is possible have a configuration that set the subject **SMAP** for an email tagged as normal spam and **QUARANTINE** for an email tagged as virus or kill level of spam and skip all of them into junk folder?

Thanks
Michele
Reply With Quote
  #6  
Old 25th September 2009, 12:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Quote:
the problem is that I don't want to loose any email.
I would like to have even the email checked as virus or kill level into junk mail.
I understand that and I posted the solution that is normally used in this case above.

As fars as i know, there is no separate tag for virus emails in amavisd.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 25th September 2009, 12:25
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Ok I'll try the solution that you suggest me.
Just another question:
Quote:
then use the email filters in the mail accounts to store the spam files to the junk folder.
How can I setup this email filters?

Thanks
Reply With Quote
  #8  
Old 25th September 2009, 12:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Go to the email mailbox settings, there is a tab were you can add them.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 25th September 2009, 12:40
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Ok , I guess you're talking about the "Email filter" page.
So there I can setup that every email that have SPAM into the subject, will be moved to a folder.
What I've to write into the "move to" field to have that email into che junk folder?
Maybe .Junk ???

And: there is a way to setup this filter for all the emails of a domain or I've to do it 1 by 1?

Thanks
Reply With Quote
  #10  
Old 29th September 2009, 10:45
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
 
Default

any idea?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Roundcube integration/module for ispconfig 3 Thorfinity Feature Requests 42 29th May 2009 07:45
RoundCube 0.2-stable available for ISPConfig 2 Hans General 37 16th March 2009 22:15
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47


All times are GMT +2. The time now is 22:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.