PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Command died with status 99: "/usr/sbin/amavis"



webshark
01.07.05, 16:20
Command died with status 99: "/usr/sbin/amavis"Diese Meldung erhalte ich, wenn ich eine Mail versende vom Mail Delivery System in einer weiteren Mail. Ich denke meine config haut nicht ganz hin (postfix, amavis) :( . Ich habe im Netz und hier gesucht, aber nichts aussagekräftiges gefunden - kann mir bitte jemand helfen, den richtigen Weg einzuschlagen?
(P.S.: Ach so, die eigentliche zu versendende Nachricht kommt aber an.)

`kk
01.07.05, 17:51
Hi, nutze amavisd-new.

webshark
01.07.05, 18:14
Mach ich doch - hätte ich genauer sagen können. Hast Du eine Idee, wo der Haken ist?

Meine master.cf:

# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd
#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 -o smtpd_etrn_restrictions=reject
#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 oqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
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 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
anvil unix - - n - 1 anvil
#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
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}

# service type private unpriv chroot wakeup maxproc command+args
vscan unix - n n - - pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
localhost:10025 inet n - n - 10 smtpd -o content_filter=

webshark
02.07.05, 07:51
Ist mein Problem so speziell - oder hat keiner Lust, mit zu helfen?!

webshark
02.07.05, 09:35
E-Mail Header:
This is the Postfix program at host XXXXX.homeip.net.

I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<sven@localhost.homeip.net> (expanded from <sven@localhost>): Command died with
status 99: "/usr/sbin/amavis"



Reporting-MTA: dns; XXXXX.homeip.net
X-Postfix-Queue-ID: 2B09014D46
X-Postfix-Sender: rfc822; sven@XXXXX.homeip.net
Arrival-Date: Sat, 2 Jul 2005 10:25:39 +0200 (CEST)

Final-Recipient: rfc822; sven@localhost.homeip.net
Original-Recipient: rfc822; sven@localhost
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 99: "/usr/sbin/amavis"



Betreff:
test1023
Von:
Sven Brier <sven@XXXXX.homeip.net>
Datum:
Sat, 02 Jul 2005 10:24:50 +0200
An:
XXXXX@gmx.de
Received:
from localhost (localhost [127.0.0.1]) by XXXXX.homeip.net (Postfix) with ESMTP id 2B09014D46 for <sven@localhost>; Sat, 2 Jul 2005 10:25:39 +0200 (CEST)
X-Flags:
0000
Delivered-To:
GMX delivery to XXXXX@gmx.de
Received:
from pop.gmx.net [213.165.64.20] by localhost with POP3 (fetchmail-6.2.5) for sven@localhost (single-drop); Sat, 02 Jul 2005 10:25:39 +0200 (CEST)
Received:
(qmail invoked by alias); 02 Jul 2005 08:24:48 -0000
Received:
from dsl-082-082-189-252.arcor-ip.net (EHLO XXXXX.homeip.net) [82.82.189.252] by mx0.gmx.net (mx059) with SMTP; 02 Jul 2005 10:24:48 +0200
Received:
from localhost (localhost [127.0.0.1]) by XXXXX.homeip.net (Postfix) with ESMTP id 811A414D67 for <XXXXX@gmx.de>; Sat, 2 Jul 2005 10:24:08 +0200 (CEST)
Received:
from unknown by localhost (amavisd-new, unix socket) id client-XX7JLVox for <XXXXX@gmx.de>; Sat, 2 Jul 2005 10:24:07 +0200 (CEST)
Received:
from [192.168.0.2] (unknown [192.168.0.2]) by XXXXX.homeip.net (Postfix) with ESMTP id 9544B14D46 for <XXXXX@gmx.de>; Sat, 2 Jul 2005 10:24:07 +0200 (CEST)
Nachricht-ID:
<42C64F52.3040102@XXXXX.homeip.net>
Antwort an:
sven@XXXXX.homeip.net
User-Agent:
Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language:
de-DE, de, en-us, en
MIME-Version:
1.0
Content-Type:
text/plain; charset=ISO-8859-15
Content-Transfer-Encoding:
7bit
X-Virus-Scanned:
by amavisd-new at XXXXX.homeip.net
X-GMX-Antivirus:
-1 (not scanned, may not use virus scanner)
X-GMX-Antispam:
0 (Mail was not recognized as spam)
X-GMX-UID:
Byq0Ym1BeSEkSccTsnQhaXN1IGRvb4AE

webshark
02.07.05, 12:18
Hab's allein hinbekommen.

@kk: Dein Thread war ja wohl überflüssig.

Ich bin auf ein Tutorial im Netz gestoßen, indem geschrieben stand, mann müsse in die 'master.cfg' von Postfix:
# service type private unpriv chroot wakeup maxproc command+args
vscan unix - n n - - pipe user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
localhost:10025 inet n - n - 10 smtpd -o content_filter= eintragen und in die 'main.cfg' (ebenfalls von Postfix):

content_filter = vscan: das war/ist falsch.

Des Rätsels Lösung:
Richtiger Eintrag in der 'master.cfg':
smtp-amavis unix - - y/n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20

127.0.0.1:10025 inet n - y/n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks_style=host
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_header_body_checks,no_ unknown_recipient_checks
y/n müssen angepasst werden, also entweder 'y' oder 'n'.

Richtiger Eintrag in der 'main.cfg':
content_filter=smtp-amavis:[127.0.0.1]:10024