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
  #11  
Old 29th September 2009, 11:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

The foldername is "Junk" without the dot.

Quote:
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?
If you want to set this up for all domains, you can modify the /var/vmail/.mailfilter file. The file is written in the maildrop filter language.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 29th September 2009, 11:56
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
 
Default

Ok great,
I've find on the web this kind of modify for .mailfilter:
Code:
# Move SPAM to Junk
`test -e /var/vmail/$HOST/$USER/.Junk`
if ( $RETURNCODE != 0 )
{
  `maildirmake -f Junk /var/vmail/$HOST/$USER`
  `chmod -R 0700 /var/vmail/$HOST/$USER/.Junk`
  `echo INBOX.Junk >> /var/vmail/$HOST/$USER/courierimapsubscribed`
}
if (/^Subject:.*\*\*SPAM\*\*/:h)
{
to /var/vmail/$HOST/$USER/.Junk/
}
Do you think this kind of modify will work for my configuration?
Unfortunately I can not try right now because I'm trying to solve some security issues...
Thanks
Michele
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 08:45
RoundCube 0.2-stable available for ISPConfig 2 Hans General 37 16th March 2009 23:15
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 15:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 12:47


All times are GMT +2. The time now is 02:04.


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