Mail Subject Filtering & ISPConfig - where & how?

Discussion in 'General' started by jspierre, Apr 25, 2008.

  1. jspierre

    jspierre New Member

    Hello, everyone. This is my first post here. I've been using ISPConfig without problem for about a month now after having used CPanel for years.

    Here's my problem: In Cpanel, for a domain, I was able to set "filters" on e-mail so that any mail that came in with certain "colorful" words (profanity, "Viagra", etc.) were just dropped and never delivered to the User's box. SpamAssassin never catches all of these as spam and there's no e-mail that I want that will contain profanity in the subject line. Where in ISPConfig (or Postfix?) do I need to write these "rules" for rejecting mail with unacceptable subjects? Also, what would be an example of how to do this (regexp?)?

    I used the "Perfect Server" setup on Ubuntu 7.10 with the latest version of ISPConfig installed. I have no weird or special installation, I pretty much used ISPConfig's defaults for everything. Also, I am not a reseller, this is my own personal/side-business server, so if the easiest solution applies to "all domains" on my server, that is more than okay.

    Any ideas or help would be appreciated!
  2. the_spy

    the_spy New Member

    I use it with postfix.

    in :

    and in header_checks:

    you can add one rule per line
  3. jspierre

    jspierre New Member

    Thank you!

    Thanks - I'll try that.

Share This Page