ich habe Suse9 mit confixx304. spamassassin 3.0.1, MIME-tools-5.415, razor-agents-2.61, antivir-mailgate-2.0.2-9
habe spamassassin und antivir installiert.
antivir läuft auch und filter die verseuchten email raus und schickt dem webmaster eine email diesbezüglich.
beim spamassassin ist es so, das er zwar überprüft ob es spam ist, aber er ändert den betreff nicht.
hier mal meine config.files
procmailrc
Code: Select all
DROPPRIVS=yes
LOGFILE=/var/log/procmail.log
#VERBOSE=ON
SHELL=/bin/sh
LANGUAGE=de
LANG=de_DE
:0fw
* < 256000
| /usr/bin/spamc -f
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#:0:
#* ^X-Spam-Level: ***************
#/var/spool/mail/almost-certainly-spam
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
#:0:
#* ^X-Spam-Status: Yes
#/var/spool/mail/probably-spam
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
:0 H
* ! ^From[ ]
* ^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e 's/^rom /From /'
}Code: Select all
# START CUSTOM INCLUSION (see /root/confixx/safe/spamassassin.inc)
# SpamAssassin config file for version 2.5x
# generated by http://www.yrex.com/spam/spamconfig.php (version 1.01)
# How many hits before a message is considered spam.
required_hits 5.0
# Whether to change the subject of suspected spam
rewrite_subject 1
# Text to prepend to subject if rewrite_subject is used
subject_tag *****SPAM*****
# Encapsulate spam in an attachment
report_safe 1
# Use terse version of the spam report
use_terse_report 0
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
auto_learn 1
# Enable or disable network checks
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages all
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all
# END OF CUSTOM INCLUSION
# START CONFIXX GENERATED SECTION
###
user_scores_dsn DBI:mysql:confixx:localhost;mysql_socket=/var/lib/mysql/mysql.sock
user_scores_sql_username xxxxxxx
user_scores_sql_password xxxxxxx
user_scores_sql_table spampref
# END OF CONFIXX GENERATED SECTION
Code: Select all
# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = p1513xxxx.pureserver.info
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter = smtp:127.0.0.1:10024
mailbox_command = /usr/bin/procmail
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#TLS Support
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/certs/smtp_key.pem
smtpd_tls_cert_file = /etc/postfix/certs/smtp_cert.pem
smtpd_tls_CAfile = /etc/postfix/certs/smtp.crt
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
Code: Select all
# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd -o content_filter=spamassassin
# For AntiVir maildaemon
localhost:smtp-backdoor inet n - n - - smtpd -o content_filter=
smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
#relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=spamd argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
spamassassin unix - n n - - pipe user=spamd:spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
#postfixfilter unix - n n - - pipe flags=Rq user=spamd:spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -i -f ${sender} -- ${recipient}
# Spam & Ham
#sa-spam unix - n n - - pipe user=spamd:spamd argv=/usr/local/bin/sa-wrapper.pl spam ${sender}
#sa-ham unix - n n - - pipe user=spamd:spamd argv=/usr/local/bin/sa-wrapper.pl ham ${sender}
email.info
Code: Select all
Nov 6 21:55:02 p1513xxxx postfix/smtpd[11447]: connect from p5085B7CB.dip0.t-ipconnect.de[80.133.183.203]
Nov 6 21:55:03 p1513xxxx postfix/smtpd[11447]: 0B3B2C025D5: client=p5085B7CB.dip0.t-ipconnect.de[80.133.183.203], sasl_method=LOGIN, sasl_username=web5p1
Nov 6 21:55:04 p1513xxxx postfix/smtpd[11447]: 1CFF8C025D5: client=p5085B7CB.dip0.t-ipconnect.de[80.133.183.203], sasl_method=LOGIN, sasl_username=web5p1
Nov 6 21:55:04 p1513xxxx postfix/cleanup[11455]: 1CFF8C025D5: message-id=<418D3A16.1000403@franklorenz.de>
Nov 6 21:55:04 p1513xxxx postfix/qmgr[11418]: 1CFF8C025D5: from=<xxx@franklorenz.de>, size=2572, nrcpt=1 (queue active)
Nov 6 21:55:04 p1513xxxx spamd[11445]: connection from localhost.localdomain [127.0.0.1] at port 53118
Nov 6 21:55:04 p1513xxxx spamd[11459]: processing message <418D3A16.1000403@franklorenz.de> for spamd:104.
Nov 6 21:55:04 p1513xxxx postfix/smtpd[11447]: disconnect from p5085B7CB.dip0.t-ipconnect.de[80.133.183.203]
Nov 6 21:55:16 p1513xxxx popper[11461]: Stats: web5p1 0 0 0 0 p5085B7CB.dip0.t-ipconnect.de 80.133.183.203 [pop_updt.c:296]
Nov 6 21:55:20 p1513xxxx spamd[11459]: clean message (-0.4/5.0) for spamd:104 in 16.5 seconds, 2491 bytes.
Nov 6 21:55:20 p1513xxxx postfix/pickup[11417]: F2692C025E1: uid=104 from=<xxx@franklorenz.de>
Nov 6 21:55:20 p1513xxxx postfix/cleanup[11455]: F2692C025E1: message-id=<418D3A16.1000403@franklorenz.de>
Nov 6 21:55:21 p1513xxxx postfix/qmgr[11418]: F2692C025E1: from=<xxx@franklorenz.de>, size=2695, nrcpt=1 (queue active)
Nov 6 21:55:21 p1513xxxx postfix/pipe[11457]: 1CFF8C025D5: to=<web5p1@p1513xxxx.pureserver.info>, orig_to=<xxx@burgschreckenstein.com>, relay=spamassassin, delay=17, status=sent (p1513xxxx.pureserver.info)
Nov 6 21:55:21 p1513xxxx avgated[11465]: connection from localhost.localdomain
Nov 6 21:55:21 p1513xxxx avgated[11465]: spooled to 11465-45CDB7EC
Nov 6 21:55:21 p1513xxxx avgatefwd[11466]: Message 'incoming/xf-11465-45CDB7EC' scheduled for scanning now.
Nov 6 21:55:21 p1513xxxx avgatefwd[11466]: Scanner will process message 'incoming/qf-11465-45CDB7EC'.
Nov 6 21:55:21 p1513xxxx postfix/smtp[11464]: F2692C025E1: to=<web5p1@p1513xxxx.pureserver.info>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 Mail accepted for delivery (queued as 11465-45CDB7EC).)
Nov 6 21:55:21 p1513xxxx avgated[11465]: connection to localhost.localdomain closed
Nov 6 21:55:21 p1513xxxx avgatefwd[11469]: Message 'outgoing/xf-11465-45CDB7EC' scheduled for delivery now.
Nov 6 21:55:21 p1513xxxx postfix/smtpd[11470]: connect from localhost.localdomain[127.0.0.1]
Nov 6 21:55:21 p1513xxxx postfix/smtpd[11470]: 22E0FC025D5: client=localhost.localdomain[127.0.0.1]
Nov 6 21:55:21 p1513xxxx postfix/cleanup[11455]: 22E0FC025D5: message-id=<418D3A16.1000403@franklorenz.de>
Nov 6 21:55:21 p1513xxxx postfix/qmgr[11418]: 22E0FC025D5: from=<xxx@franklorenz.de>, size=3205, nrcpt=1 (queue active)
Nov 6 21:55:21 p1513xxxx avgatefwd[11469]: Message 'outgoing/df-11465-45CDB7EC' successfully forwarded (250 Ok: queued as 22E0FC025D5)
Nov 6 21:55:21 p1513xxxx postfix/smtpd[11470]: disconnect from localhost.localdomain[127.0.0.1]
Nov 6 21:55:21 p1513xxxx procmail[11472]: Error while writing to "/var/log/procmail.log^M"
Nov 6 21:55:21 p1513xxxx spamc[11474]: invalid usage
Nov 6 21:55:21 p1513xxxx postfix/local[11471]: 22E0FC025D5: to=<web5p1@p1513xxxx.pureserver.info>, relay=local, delay=0, status=sent ("|/usr/bin/procmail")
Nov 6 21:55:34 p1513xxxx popper[11477]: Stats: web5p1 1 3369 0 0 p5085B7CB.dip0.t-ipconnect.de 80.133.183.203 [pop_updt.c:296]
Nov 6 21:55:45 p1513xxxx postfix/smtpd[11447]: connect from Dynamic-IP-cr2001189233.cable.net.co[200.118.92.33]
Nov 6 21:55:45 p1513xxxx postfix/smtpd[11447]: lost connection after CONNECT from Dynamic-IP-cr2001189233.cable.net.co[200.118.92.33]
Nov 6 21:55:45 p1513xxxx postfix/smtpd[11447]: disconnect from Dynamic-IP-cr2001189233.cable.net.co[200.118.92.33]
mail.warn
Code: Select all
Nov 6 21:52:36 p15135147 spamc[11314]: invalid usage
Nov 6 21:55:21 p15135147 spamc[11474]: invalid usage
habe schon alles möglich ausprobiert und geändert, aber ich bekomme es einfach nicht hin.
in den anderen threads habe ich schon alles versucht was drin stand.
aber ohne erfolg.
mfg