[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postfix und spamassassin und amavis mit fprot



hallo leute!
 
 also erstmal zu meinem system: ich benutze debian woody mit postfix. habe 
spamassassin installiert und amavis mi f-prot zum laufen gebracht. leider 
läuft nicht alles zusammen.
 
 also erstmal zu dem was geht. wenn ich postfix ohne die virtual benutze 
funktioniert postfix auch mit spamassassin und amavis zusammen. kaum 
aktiviere ich aber die virtual will postfix bzw amavis letzendlich die mails 
nicht mehr zustellen. in der mail.log sagt amavisd: user unknows und 
temporarly failed.
 
 wenn ich amavis austelle und die virtual benutze dann geht postfix normal.
 
 hat jemand ne idee? ich hab mir schon nen fuchs gesucht im netz und nix 
anständiges gefunden.
 
hier noch schnell auszüge aus konfiguration und logs:

hier aus der mail.log:
##########################################mail.log begin

 Jul 8 06:36:06 xxx postfix/smtpd[17247]: connect from 
morpheus.net-build.de[194.25.82.253]
 Jul 8 06:36:06 xxx postfix/smtpd[17247]: 6DCEC8CF92: 
client=morpheus.net-build.de[194.25.82.253]
 Jul 8 06:36:06 xxx postfix/cleanup[17257]: 6DCEC8CF92: 
message-id=<200407080838.21342.lordlamer@lordlamer.de>
 Jul 8 06:36:06 xxx postfix/smtpd[17247]: disconnect from 
morpheus.net-build.de[194.25.82.253]
 Jul 8 06:36:06 xxx postfix/qmgr[17245]: 6DCEC8CF92: 
from=<lordlamer@lordlamer.de>, size=800, nrcpt=1 (queue active)
 Jul 8 06:36:06 xxx spamd[8433]: connection from localhost [127.0.0.1] at port 
38153
 Jul 8 06:36:06 xxx spamd[17263]: info: setuid to filter succeeded
 Jul 8 06:36:07 xxx spamd[17263]: processing message 
<200407080838.21342.lordlamer@lordlamer.de> for filter:1002.
 Jul 8 06:36:07 xxx spamd[17263]: clean message (0.0/5.0) for filter:1002 in 
1.0 seconds, 817 bytes.
 Jul 8 06:36:07 xxx postfix/pipe[17259]: 6DCEC8CF92: 
to=<fhabermann@xxx.vlinux.de>, relay=postfixfilter, delay=1, status=sent 
(xxx.vlinux.de)
 Jul 8 06:36:07 xxx postfix/pickup[17244]: D82A98D2EE: uid=1002 
from=<lordlamer@lordlamer.de>
 Jul 8 06:36:07 xxx postfix/cleanup[17257]: D82A98D2EE: 
message-id=<200407080838.21342.lordlamer@lordlamer.de>
 Jul 8 06:36:07 xxx postfix/qmgr[17245]: D82A98D2EE: 
from=<lordlamer@lordlamer.de>, size=1085, nrcpt=1 (queue active)
 Jul 8 06:36:07 xxx amavis[27893]: enter accept loop
 Jul 8 06:36:07 xxx amavis[17267]: forked off -- child running...
 Jul 8 06:36:07 xxx amavis[17267]: /usr/../var/lib/amavis/amavis-XXRDFDEg: 
from=<lordlamer@lordlamer.de>, to=<fhabermann@xxx.vlinux.de>
 Jul 8 06:36:07 xxx amavis[17267]: Extracting mime components
 Jul 8 06:36:08 xxx amavis[17267]: Level: 1, parts: 1
 Jul 8 06:36:08 xxx amavis[17267]: Archive nesting depth: 0
 Jul 8 06:36:08 xxx amavis[17267]: File-type of msg-17267-1.txt: ASCII text
 Jul 8 06:36:08 xxx amavis[17267]: msg-17267-1.txt is atomic
 Jul 8 06:36:08 xxx amavis[17267]: Using f-prot
 Jul 8 06:36:08 xxx amavis[17267]: Virus scanning report - 8 July 2004 @ 6:36 
F-PROT ANTIVIRUS Program version: 4.4.2 Engine version: 3.14.11 VIRUS 
SIGNATURE FILES SIGN.DEF created 5 July 2004 SIGN2.DEF created 5 July 2004 
MACRO.DEF created 5 July 2004 Search: /usr/../var/lib/amavis/amavis-XXRDFDEg/
parts Action: Report only Files: "Dumb" scan of all files Switches: -ARCHIVE 
-PACKED -SERVER Results of virus scanning: Files: 1 MBRs: 0 Boot sectors: 0 
Objects scanned: 1 Time: 0:00 No viruses or suspicious files/boot sectors 
were found.
 Jul 8 06:36:08 xxx postfix/smtpd[17270]: connect from 
xxx.vlinux.de[xxx.xxx.xxx.xxx]
 Jul 8 06:36:08 xxx postfix/smtpd[17270]: 1E2548CF92: 
client=xxx.vlinux.de[xxx.xxx.xxx.xxx]
 Jul 8 06:36:08 xxx postfix/smtpd[17270]: reject: RCPT from 
xxx.vlinux.de[xxx.xxx.xxx.xxx]: 550 <fhabermann@xxx.vlinux.de>: User unknown; 
from=<lordlamer@lordlamer.de> to=<fhabermann@xxx.vlinux.de>
 Jul 8 06:36:13 xxx postfix/smtpd[17270]: disconnect from 
xxx.vlinux.de[xxx.xxx.xxx.xxx]
 Jul 8 06:36:13 xxx amavis[17267]: Rejected by MTA: 550 
<fhabermann@xxx.vlinux.de>: User unknown
 Jul 8 06:36:13 xxx amavis[17267]: do_exit:1007 - ending execution with 1
 Jul 8 06:36:13 xxx amavis[17267]: socket shut down
 Jul 8 06:36:13 xxx postfix/pipe[17265]: D82A98D2EE: 
to=<fhabermann@xxx.vlinux.de>, relay=vscan, delay=6, status=deferred 
(temporary failure)
 
##########################################mail.log end

##########################################main.cf begin

command_directory = /usr/sbin
 daemon_directory = /usr/lib/postfix
 program_directory = /usr/lib/postfix
 
 smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
 setgid_group = postdrop
 biff = no
 
 # appending .domain is the MUA's job.
 append_dot_mydomain = no
 myhostname = xxx.vlinux.de
 alias_maps = hash:/etc/aliases
 alias_database = hash:/etc/aliases
 myorigin = /etc/mailname
 mydestination = hier steht mein host
 relayhost = localhost
 mynetworks = 127.0.0.0/8
 mailbox_command =
 mailbox_size_limit = 0
 recipient_delimiter = +
 
 smtpd_use_tls = yes
 smtpd_tls_received_header = no
 smtpd_tls_key_file = /etc/postfix/key.pem
 smtpd_tls_cert_file = /etc/postfix/cert.pem
 smtpd_tls_CA_file = /etc/postfix/CAcert.pem
 
 smtp_use_tls = yes
 smtp_tls_key_file = /etc/postfix/key.pem
 smtp_tls_cert_file = /etc/postfix/cert.pem
 smtp_tls_CA_file = /etc/postfix/CAcert.pem
 
 content_filter = vscan:
 #soft_bounce = yes
 virtual_maps = hash:/etc/postfix/virtual
 
##########################################main.cf end

##########################################master.cf begin

smtp inet n - n - 10 smtpd -o content_filter=postfixfilter
 #628 inet n - - - - qmqpd
 #vscan unix - n n - 4 pipe user=vscan argv=/usr/sbin/amavis $sender 
$recipient
 pickup fifo n - - 60 1 pickup
 cleanup unix n - - - 0 cleanup
 qmgr fifo n - - 300 1 qmgr
 #qmgr fifo n - - 300 1 nqmgr
 rewrite unix - - - - - trivial-rewrite
 bounce unix - - - - 0 bounce
 defer unix - - - - 0 bounce
 flush unix n - - 1000? 0 flush
 smtp unix - - - - - smtp
 showq unix n - - - - showq
 error unix - - - - - error
 local unix - n n - - local
 virtual unix - n n - - virtual
 lmtp unix - - n - - lmtp
 
 cyrus unix - n n - - pipe
 flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender 
$recipient
 scalemail-backend unix - n n - 2 pipe
 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} 
${user} ${extension}
 postfixfilter unix - n n - - pipe
 flags=Rq user=filter argv=/home/filter/postfixfilter -f ${sender} -- 
${recipient}
 
 # only used by postfix-tls
 smtps inet n - y - - smtpd -o smtpd_tls_wrappermode=yes -o 
smtpd_sasl_auth_enable=yes -o content_filter=postfixfilter
 #submission inet n - y - - smtpd -o smtpd_enforce_tls=yes -o 
smtpd_sasl_auth_enable=yes -o content_filter=postfixfilter
 #587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o 
smtpd_sasl_auth_enable=yes
 
 vscan unix - n n - 4 pipe user=amavis argv=/usr/sbin/amavis ${sender} 
${recipient}
 localhost:10025 inet n - n - - smtpd -o content_filter=

##########################################master.cf end


also ich hoffe es hat jemand ne idee woran es liegen könnte oder vielleicht 
hat auch jemand nen tipp. vielen dank schonmal

mfg frank habermann



Reply to: