Re: Kein Header-Eintrag von amavis
Am Montag, 23. Januar 2006 00:22 schrieb Christoph Haas:
> Irgendwie fehlt mir hier der content_filter, der überhaupt Mails zu AMaViS
> schickt. Trotzdem sieht man in deinem Mail-Header was von Port 10024. Wo
> kommt das her? Oder habe ich deine Konfiguration noch nicht ganz
> verstanden?
Ja, das war das Problem, aber ganz sauber habe ich es noch immer nicht
geschafft, Viren werden aber geblockt. Spambewertung wird keine angezeigt.
Mit dieser Meldung kann ich nichts anfangen.
warning: connect to transport smtp-amavis: No such file or directory
Das ist die augenblickliche Konfiguration
grep clam /etc/group
amavis:x:118:clamav
clamav:x:117:
/etc/amavis/conf.d/50-user
use strict;
$mydomain = '';
$sa_tag_level_deflt = -100; # add spam info headers if at, or above that
level
1; # insure a defined return
/etc/amavis/conf.d/15-content_filter_mode
use strict;
@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl,
\$bypass_virus_checks_re);
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
1; # insure a defined return
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = smtp:[127.0.0.1]:10024
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = client4.local.*, localhost.local.*, localhost
myhostname = client4.local.*
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
/etc/postfix/master.cf
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
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}
tlsmgr unix - - - 1000? 1 tlsmgr
scache unix - - - - 1 scache
discard unix - - - - - discard
localhost:10025 inet n - n - - smtpd -o
content_filter=
Jan 23 23:18:17 client4 postfix/qmgr[4733]: warning: connect to transport
smtp-amavis: No such file or directory
Jan 23 23:18:27 client4 postfix/pickup[7001]: 227AF37FC9: uid=0 from=<root>
Jan 23 23:18:27 client4 postfix/cleanup[8856]: 227AF37FC9:
message-id=<20060123221827.227AF37FC9@client4.local.*>
Jan 23 23:18:27 client4 postfix/qmgr[4733]: 227AF37FC9:
from=<root@client4.local.*>, size=459, nrcpt=1 (queue active)
Jan 23 23:18:29 client4 postfix/smtpd[8864]: connect from
localhost.localdomain[127.0.0.1]
Jan 23 23:18:29 client4 postfix/smtpd[8864]: 36BAE4FCD:
client=localhost.localdomain[127.0.0.1]
Jan 23 23:18:29 client4 postfix/cleanup[8856]: 36BAE4FCD:
message-id=<20060123221827.227AF37FC9@client4.local.*>
Jan 23 23:18:29 client4 postfix/qmgr[4733]: 36BAE4FCD:
from=<root@client4.local.*>, size=960, nrcpt=1 (queue active)
Jan 23 23:18:29 client4 postfix/smtpd[8864]: disconnect from
localhost.localdomain[127.0.0.1]
Jan 23 23:18:29 client4 amavis[7894]: (07894-02) Passed CLEAN,
<root@client4.local.*> -> <ab@client4.local.*>, Message-ID:
<20060123221827.227AF37FC9@client4.local.*>, mail_id: sGIFti5axqib, Hits:
-0.001, 2144 ms
Jan 23 23:18:29 client4 postfix/smtp[8857]: 227AF37FC9:
to=<ab@client4.local.*>, orig_to=<ab>, relay=127.0.0.1[127.0.0.1], delay=2,
status=sent (250 2.6.0 Ok, id=07894-02, from MTA([127.0.0.1]:10025): 250 Ok:
queued as 36BAE4FCD)
Jan 23 23:18:29 client4 postfix/qmgr[4733]: 227AF37FC9: removed
Jan 23 23:18:29 client4 postfix/local[8865]: 36BAE4FCD:
to=<ab@client4.local.*>, relay=local, delay=0, status=sent (delivered to
command: procmail -a "$EXTENSION")
Jan 23 23:18:29 client4 postfix/qmgr[4733]: 36BAE4FCD: removed
Jan 23 23:19:17 client4 postfix/qmgr[4733]: warning: connect to transport
smtp-amavis: No such file or directory
From root@client4.local.* Mon Jan 23 23:18:29 2006
X-Original-To: ab@client4.local.*
Date: Mon, 23 Jan 2006 23:18:27 +0100
To: ab@client4.local.*
Subject: Amavistest
User-Agent: nail 11.25 7/29/05
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: root@client4.local.* (root)
X-Virus-Scanned: Debian amavisd-new at client4.local.*
$ mailq
Mail queue is empty
# mailq
Mail queue is empty
nail -a virus-20051121-204103-15708-06 ab
Jan 23 23:24:17 client4 postfix/qmgr[4733]: warning: connect to transport
smtp-amavis: No such file or directory
Jan 23 23:24:33 client4 postfix/pickup[7001]: EB23B37FC9: uid=1000 from=<ab>
Jan 23 23:24:33 client4 postfix/cleanup[8880]: EB23B37FC9:
message-id=<20060123222433.EB23B37FC9@client4.local.*>
Jan 23 23:24:33 client4 postfix/qmgr[4733]: EB23B37FC9:
from=<ab@client4.local.*>, size=80936, nrcpt=1 (queue active)
Jan 23 23:24:36 client4 postfix/smtpd[8889]: connect from
localhost.localdomain[127.0.0.1]
Jan 23 23:24:36 client4 postfix/smtpd[8889]: 39D7737FDD:
client=localhost.localdomain[127.0.0.1]
Jan 23 23:24:36 client4 postfix/cleanup[8880]: 39D7737FDD:
message-id=<VA8GN4sLxUoBYH@client4>
Jan 23 23:24:36 client4 postfix/qmgr[4733]: 39D7737FDD: from=<>, size=1813,
nrcpt=1 (queue active)
Jan 23 23:24:36 client4 postfix/smtpd[8889]: disconnect from
localhost.localdomain[127.0.0.1]
Jan 23 23:24:36 client4 amavis[3649]: (03649-05) Blocked INFECTED
(Worm.Sober.U-3), <> -> <ab@client4.local.*>,
quarantine: /var/lib/amavis/quarantine, Message-ID:
<20060123222433.EB23B37FC9@client4.local.*>, mail_id: 8GN4sLxUoBYH, Hits: -,
2317 ms
Jan 23 23:24:36 client4 postfix/smtp[8882]: EB23B37FC9:
to=<ab@client4.local.*>, orig_to=<ab>, relay=127.0.0.1[127.0.0.1], delay=3,
status=sent (250 2.7.1 Ok, discarded, id=03649-05 - VIRUS: Worm.Sober.U-3)
Jan 23 23:24:36 client4 postfix/qmgr[4733]: EB23B37FC9: removed
Jan 23 23:24:36 client4 postfix/cleanup[8880]: 4EB957AA7:
message-id=<VA8GN4sLxUoBYH@client4>
Jan 23 23:24:36 client4 postfix/qmgr[4733]: 4EB957AA7: from=<>, size=1961,
nrcpt=1 (queue active)
Jan 23 23:24:36 client4 postfix/local[8891]: 39D7737FDD:
to=<postmaster@client4.local.*>, relay=local, delay=0, status=sent (forwarded
as 4EB957AA7)
Jan 23 23:24:36 client4 postfix/qmgr[4733]: 39D7737FDD: removed
Jan 23 23:24:36 client4 postfix/smtp[8882]: 4EB957AA7: to=<ab@gw>,
orig_to=<postmaster@client4.local.*>, relay=gw.local.*[192.168.1.99],
delay=0, status=sent (250 Ok: queued as 2397D500D77)
Jan 23 23:24:36 client4 postfix/qmgr[4733]: 4EB957AA7: removed
Al
PS: Email-Adresse geändert
Reply to: