Results 1 to 2 of 2

Thread: Block Body Content?

  1. #1
    rizzpatel is offline Intermediate Member
    Join Date
    May 2013
    Posts
    16
    Rep Power
    2

    Default Block Body Content?

    We are getting spammed by the same piece of spam over and over.

    The subject line always changes, but the contents (body) of the email always starts with:

    "Hi there employees! How are you?"

    I am having no success in getting postfix to check the body of the email, seems like it's stuck trying to check the headers.

    This seems to work and block me if I am sending an email with the SUBJECT "Hi there employees! How are you?"

    Code:
    /^Subject:(.*)Hi there employees\! How are you\?/   REJECT
    But if I try to send it with that as the body of the email rather than the subject, it will get through.


    These are the things I have already tried:
    Code:
    /Hi there employees\! How are you\?/   REJECT
    /^Hi there employees\! How are you\?/   REJECT
    /^(.*)Hi there employees\! How are you\?/   REJECT
    /(.*)^Hi there employees\! How are you\?/   REJECT
    /(.*)Hi there employees\! How are you\?/   REJECT
    None seem to do the trick:wq

    Anyone know how to figure this out? Zimbra doesn't seem to use "body_checks" either.

    Thanks!

  2. #2
    rizzpatel is offline Intermediate Member
    Join Date
    May 2013
    Posts
    16
    Rep Power
    2

    Default

    We realized these emails all seemed to be coming from employees@differentDomainEachTime.com - So this rule did the trick in this case:

    /^From.*)employees(.*)/ DISCARD #Spam blocked

    But for the future it would be nice to know how to block content in the body of the email..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Content body vanishes from the calendar
    By svayaveetil in forum Users
    Replies: 0
    Last Post: 03-18-2013, 10:20 PM
  2. Zimbra Attchment Block & Out Side Mail Sending Block
    By kirtan in forum Administrators
    Replies: 0
    Last Post: 12-22-2011, 12:58 AM
  3. Block Bad Word in Subject and Content SPAM
    By jfsilvarp in forum Administrators
    Replies: 1
    Last Post: 07-18-2011, 02:23 AM
  4. Customize Banned Content Body Alert
    By eniomarconcini in forum Administrators
    Replies: 0
    Last Post: 06-03-2011, 07:03 PM
  5. Content Filter message body
    By opc31199 in forum Administrators
    Replies: 0
    Last Post: 04-01-2011, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •