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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 29th September 2009, 11:47
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,654 Times in 4,463 Posts

The foldername is "Junk" without the dot.

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
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

Ok great,
I've find on the web this kind of modify for .mailfilter:
# 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...
Reply With Quote


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 Beta released till General 78 24th December 2008 12:47

All times are GMT +2. The time now is 23:07.

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