Добрый день!Есть:
FreeBSD 6.3-RELEASE-p3
Sendmail 8.14.2/8.14.2
p5-Mail-SpamAssassin-3.2.5
spamass-milter-0.3.1_7
После проверки письма и определения его как спамного меняется тело письма:
Content analysis details: (6.1 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1.4 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date
0.0 HTML_MESSAGE BODY: HTML included in message
0.0 HTML_FONT_SIZE_LARGE BODY: HTML font size is large
1.5 RAZOR2_CF_RANGE_E4_51_100 Razor2 gives engine 4 confidence level
above 50%
[cf: 100]
0.5 RAZOR2_CHECK Listed in Razor2 (http://razor.sf.net/)
0.5 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%
[cf: 100]
0.5 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL
[58.186.53.42 listed in zen.spamhaus.org]
1.6 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address
[58.186.53.42 listed in dnsbl.sorbs.net]
0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam. If you wish to view
it, it may be safer to save it to a file and open it with an editor.
А само письмо атачится вложением. Как это убрать. В идеале нужно только, чтобы менялся сабжект на ***SPAM***.
Конфиг:
[root@freebsd ~]# more /usr/local/etc/mail/local.cf
trusted_networks 192.168.50.
trusted_networks 127.
whitelist_from localhost
rewrite_header Subject ***SPAM***
subject_tag ***SPAM***
required_hits 1.0
report_safe 0
auto_learn 0
bayes
use_bayes 1
bayes_path /etc/mail/spam/bayes
bayes_file_mode 0660
use_razor2 0
use_dcc 0
use_pyzor 0
dns_available no
skip_rbl_checks 0
use_auto_whitelist 0
auto_whitelist_path /etc/mail/spam/auto_whitelist
allow_user_rules 0
rewrite_subject 1
always_add_report 0
# whitelist/blacklist addresses
whitelist_from *...@list.ru
whitelist_from *...@subscribe.ru
Заранее благодарен!