*Fak3*
New Member
Hallo,
ich habe Postfix + Spamassassin 3.2.5 auf einer Suse 11.1 Kiste laufen. Jeder Benutzer hat seine eigene Bayes DB im Home-Verzeichnis. Klappt soweit auch alles mit dem Mail versand und empfang, aber Spamassassin will Bayes nicht prüfen.
Hier der Header der Mails:
Meine local.cf
Sobald ich aber in der master.cf den "user=" Befehl auf den Benutzer stelle der die Mail empfängt, steht im Header der Mail dann "tests=BAYESXX". Dann aber auch nur wieder für den einen Benutzer.
master.cf
Habt ihr vielleicht eine Idee wie ich es hinbekomme das er bei jedem Benutzer Bayes überprüft?
Danke schonmal im vorraus und Gruß
ich habe Postfix + Spamassassin 3.2.5 auf einer Suse 11.1 Kiste laufen. Jeder Benutzer hat seine eigene Bayes DB im Home-Verzeichnis. Klappt soweit auch alles mit dem Mail versand und empfang, aber Spamassassin will Bayes nicht prüfen.
Hier der Header der Mails:
Code:
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: by domain.de (Postfix, from userid 65534)
id 857C6C0FB; Thu, 16 Jul 2009 10:31:43 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on domain.de
X-Spam-Level:
X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=disabled
version=3.2.5
Received: from domain.de (unknown [00.00.00.00])
by domain.de (Postfix) with ESMTP id 1B572C0DF
for <[email protected]>; Thu, 16 Jul 2009 08:31:43 +0000 (UTC)
Received: from XX (domain.de [192.168.2.154])
by domain.de (Postfix) with SMTP id AC0165F017B
for <[email protected]>; Thu, 16 Jul 2009 10:33:52 +0200 (CEST)
From: "User" <[email protected]>
To: "User" <[email protected]>
Subject: TESCHT12
Date: Thu, 16 Jul 2009 10:33:52 +0200
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Meine local.cf
Code:
rewrite_header Subject ***JUNK(_SCORE_)***
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
uridnsbl_skip_domain suse.de opensuse.org suse.com suse.org
uridnsbl_skip_domain novell.com novell.org novell.ru novell.de novell.hu novell.co.uk
endif # Mail::SpamAssassin::Plugin::URIDNSBL
use_bayes 1
bayes_auto_learn 0
bayes_path ~/.spamassassin/bayes
bayes_learn_during_report 0
use_auto_whitelist 0
bayes_min_ham_num 0
bayes_min_spam_num 0
bayes_file_mode 0777
Sobald ich aber in der master.cf den "user=" Befehl auf den Benutzer stelle der die Mail empfängt, steht im Header der Mail dann "tests=BAYESXX". Dann aber auch nur wieder für den einen Benutzer.
master.cf
Code:
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
#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.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#spamfilter unix - n n - - pipe
# flags=Rq user=filter argv=/usr/bin/postfixfilter -f ${sender} -- ${recipient}
# flags=Rq user=user1 argv=/usr/local/bin/pf-spamfilt ${sender} ${recipient}
spam:~ # cat /etc/postfix/master.cf | egrep !'#'
-bash: !'#': event not found
spam:~ # cat /etc/postfix/master.cf | egrep -v '#'
smtp inet n - - - - smtpd -o content_filter=spamcheck:
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
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
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
retry unix - - n - - error
proxywrite unix - - n - 1 proxymap
spamcheck unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Habt ihr vielleicht eine Idee wie ich es hinbekomme das er bei jedem Benutzer Bayes überprüft?
Danke schonmal im vorraus und Gruß