Blacklist (correction)

Derek Winkler dwinkler at ALGORITHMICS.COM
Tue May 10 17:18:25 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

I read the EXAMPLES and README and no where does it say you can put just the
domain.

Examples are as follows...

   From:        *@domain1.com   /opt/MailScanner/etc/reports/domain1.sig.txt
   From:        *@domain2.com   /opt/MailScanner/etc/reports/domain2.sig.txt

   FromOrTo:    *@scanme.com            yes
   FromOrTo:    *@scanme-too.com        yes

   To:          @abc.com                postmaster at me.com george at abc.com
   To:          @def.com                postmaster at me.com bill at def.com

   From:        *@spammers.com          yes

The README states...

2. The pattern describes what messages should match this rule.
   Some examples are:
        user at sub.domain.com     # Individual address
        user@*                  # 1 user at any domain
        *@sub.domain.com        # Any user at 1 domain
        *@*.domain.com          # Any user at any sub-domain of "domain.com"
        *@domain.com            # Any user at 1 specific domain
        /pattern/               # Any address matching this Perl regular
                                # expression
        192.168.                # Any SMTP client IP address in this network
        /pattern-with-no-letters/ # Any SMTP client IP address matching this
                                  # Perl regular expression
        /^192\.168\.1[4567]\./  # Any SMTP client IP address in the networks
                                # 192.168.14 - 192.168.17
        *@*                     # Default value
        default                 # Default value
   You should be able to do just about anything with that.

Once again no putting just the domain.

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Paul van Brouwershaven
Sent: Tuesday, May 10, 2005 11:32 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Blacklist (correction)


Hi,

I want to create a blacklist for multiple domains with all there own
configuration.

----------------------------------------------------------
- My configuration:
----------------------------------------------------------
Is Definitely Spam = /opt/MailScanner/etc/rules/blacklist.rules

----------------------------------------------------------
- Content of /opt/MailScanner/etc/rules/blacklist.rules
----------------------------------------------------------
To:   domain.com      /etc/MailScanner/rules/domain.com.conf

----------------------------------------------------------
- Content of /opt/MailScanner/etc/rules/blacklist.rules
----------------------------------------------------------
From: user at spamdomain.com yes
FromOrTo: default no

----------------------------------------------------------
- When I start MailScanner
----------------------------------------------------------
MailScanner E-Mail Virus Scanner version 4.41.3 starting...

Syntax error in line 1 of ruleset file
/opt/MailScanner/etc/rules/blacklist.rules

Syntax error in line 2 of ruleset file
/opt/MailScanner/etc/rules/blacklist.rules

Found syntax errors in /opt/MailScanner/etc/rules/blacklist.rules.

What do I wrong ?


This email and any files transmitted with it are confidential and
proprietary to Algorithmics Incorporated and its affiliates
("Algorithmics").  If received in error, use is prohibited.  Please destroy,
and notify sender.  Sender does not waive confidentiality or privilege.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  Algorithmics does not accept liability for any errors or
omissions.  Any commitment intended to bind Algorithmics must be reduced to
writing and signed by an authorized signatory.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list