Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
крик о помощи! spam :)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
unaos
n00b
n00b


Joined: 06 Apr 2006
Posts: 64
Location: brovary,UA

PostPosted: Wed Jan 10, 2007 1:38 pm    Post subject: крик о помощи! spam :) Reply with quote

Уважаемые, использую Exim со встроенными фильтрами + SpamAssasin

Code:

 use_bayes 1
 bayes_auto_learn 1
 bayes_ignore_header X-Bogosity
 bayes_ignore_header X-Spam-Flag
 bayes_ignore_header X-Spam-Status
 skip_rbl_checks         0
 use_razor2              1
 use_dcc                 1
 use_pyzor               1


Code:

acl_smtp_rcpt = acl_check_rcpt

acl_check_rcpt:
...
deny    message       = "you in blacklist - $dnslist_domain \n $dnslist_text"
         dnslists      = relays.ordb.org : \
                          opm.blitzed.org : \
                          cbl.abuseat.org : \
                          bl.csma.biz : \
                          dynablock.njabl.org : \
                          relays.ordb.org


и я просто в панике - он валит и валит, не так уж и много но по 14 писем в день на ящик постоянно прорываются! что делать ? :(
помогите пожалуйста, что можно сделать, а то скоро мозг даст сбой :)
_________________
house of mystic lies
Back to top
View user's profile Send private message
Galchonok
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2006
Posts: 99
Location: Н.Новгород

PostPosted: Wed Jan 10, 2007 2:02 pm    Post subject: Reply with quote

я бы посоветовал посидеть, поподбирать score разные :]

вот у меня например:

Code:
score SUBJ_FULL_OF8BITS                 0.1
score IN_REP_TO                         -0.1
score HTML_WITH_BGCOLOR                 3.6
score CTYPE_JUST_HTML                   3.9
score BIG_FONT                          2.7
score HTML_FONT_BIG                     2.7
score MONEY_MAKING                      2.0
score WEB_BUGS                          0.2
score MAILTO_LINK                       1.3
score MAILTO_WITH_SUBJ                  1.6
score MAILTO_WITH_SUBJ_REMOVE           2.2
score MAILTO_TO_SPAM_ADDR               2.0
score PORN_1                            1.353
score PORN_10                           0.266
score PORN_11                           0.879
score PORN_12                           0.826
score PORN_13                           4.194
score PORN_3                            0.805
score PORN_4                            1.491
score PORN_6                            3.319
score PORN_7                            1.514
score PORN_8                            0.2
score PORN_9                            2.692
score INVALID_DATE_ODD_MONTH            2.1
score CHARSET_FARAWAY                   2.0
score CHARSET_FARAWAY_HEADERS           1.8
score CHARSET_FARAWAY_BODY              1.9
score SUBJ_HAS_UNIQ_ID                  2.5
score SUBJ_ENDS_IN_Q_MARK               0.2
score SUBJ_HAS_Q_MARK                   0.5
score SUPERLONG_LINE                    0.9
score LINES_OF_YELLING                  0.5
score LINES_OF_YELLING_2                0.7
score LINES_OF_YELLING_3                0.8
score NO_REAL_NAME                      0.9
score TO_LOCALPART_EQ_REAL              0.8
score FROM_ENDS_IN_NUMS                 1.0
score FROM_HAS_MIXED_NUMS               2.3
score FROM_ALL_NUMS                     2.7
score SUBJ_ALL_CAPS                     0.5
score MIME_HTML_ONLY                    1.0
score FORGED_MUA_OUTLOOK                1.5


и соотвественно:
required_hits 3.0
Back to top
View user's profile Send private message
unaos
n00b
n00b


Joined: 06 Apr 2006
Posts: 64
Location: brovary,UA

PostPosted: Tue Jan 16, 2007 4:08 pm    Post subject: Reply with quote

10x амиго, вписал в local.cf, посмотрим что из этого получится :)
_________________
house of mystic lies
Back to top
View user's profile Send private message
unaos
n00b
n00b


Joined: 06 Apr 2006
Posts: 64
Location: brovary,UA

PostPosted: Wed Mar 07, 2007 12:39 pm    Post subject: Reply with quote

делал блокировку сообщений содержащих изображения посредством system_filter в секции mime
Code:

 (?:Content-                                  # start of content header
 (?:Type: (?>\s*)                              # rest of c/t header
    [\w-]+/[\w-]+                              # content-type (any)
    |Disposition: (?>\s*)                      # content-disposition hdr
    attachment)                                        # content-disposition
  ;(?>\s*)                                     # ; space or newline
  (?:file)?name=                               # filename=/name=
  |begin (?>\s+) [0-7]{3,4} (?>\s+))           # begin octal-mode
  (\"[^\"]+\.                 
       (?:vb[se]                               # list of extns
       |ws[fh]
       |jse?
       |exe
       |com
       |cmd
       |shs
       |hta
       |bat
       |scr
       |png
       |jpg
       |jpeg
       |gif
       |bmp
       |pif)
       \"                                      # end quote
  |[\w.-]+\.                                   # unquoted filename.ext
       (?:vb[se]                               # list of extns
       |ws[fh]
       |jse?
       |exe
       |com
       |cmd
       |shs
       |hta
       |bat
       |scr
       |png
       |jpg
       |jpeg
       |gif
       |bmp
       |pif)
 )                                            # end of filename capture
 [\s;]     

получаю следующую ошибку
Error in system filter: unknown filtering command "(?:Content-" near line 185 of filter file

ка другим методом заблокировать картинки в теле письма или устранить ошибку ?
_________________
house of mystic lies
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum