This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP expression filter not working.

I have SMTP relay setup.
It is checking RBL's OK
It is checking for bad file extensions OK

It is not however, scanning for expressions OK.
I set it to watch for the expression :
qwertyuiop

Then sent a mail from external address to a test email address and it is marked as clean and dequeued.
Any ideas what I can check to try and get this working ?
exiscan conf file lists the expression.

When entering expressions we just enter the raw text correct ? No quotes or anything ?
Do spaces matter, as in "this is not a spam"
What about periods ? "S.111" etc ?

A doc on whats correct and whats not would be much appreciated.


This thread was automatically locked due to age.
  • For further enlightenment here is the section from exiscanv2.cf

      @reject_regexps = (
    # Spam test 'asdfghjkl',
    # SirCam Virus 'I send you this file in order to have your advice',
    # Magistr@MM Virus 'CFGWIZ32\.EXE'
    );

    And here is an email it let through.
    To: test1@micromine.com.au
    Cc: test2@micromine.com.au
    Subject: Test

    asdfghjkl
    ' asdfghjkl '

    The test string isn't getting detected.
  • This:

    code:
     @reject_regexps = (
    # Spam test 'asdfghjkl',
    # SirCam Virus 'I send you this file in order to have your advice',
    # Magistr@MM Virus 'CFGWIZ32\.EXE'
    );

    should look like this:

    code:
     @reject_regexps = (
    # SirCam Virus 'I send you this file in order to have your advice',
    # Magistr@MM Virus 'CFGWIZ32\.EXE'
    'asdfghjkl'
    );

    The question is, did you edit it to look that way ? Or did the middleware put it in like this ?

    Also, there is still a bug that the expression filter does not match on the first line of a message .. must fix that one.

    /tom
  • I editted it to look that way.
    Hrm, the bug with it not checking the first line of the message may have caught me too.