[Postfixbuch-users] Funktion pr ü fenPostfix Amavisd Antivir Spamassassin
Christian Leicht
schani at schani.com
Fr Jul 4 22:02:27 CEST 2003
Am 04.07.2003 17:10 Uhr schrieb Ralf Hildebrandt
<Ralf.Hildebrandt at charite.de>:
> * Christian Leicht <schani at schani.com>:
>
>>> Notfalls tut's auch
>>> content_filter = smtp:[127.0.0.1]:10024
>>
>>
>> Jetzt habe ich aber:
>>
>> Jul 4 17:06:51 p15118067 postfix/nqmgr[5513]: 32B7242004A:
>> from=<schani at schani.com>, size=958, nrcpt=1 (queue active)
>> Jul 4 17:06:51 p15118067 postfix/smtp[5718]: connect to
>> 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
>> Jul 4 17:06:51 p15118067 postfix/smtp[5718]: 9A9C6420049:
>> to=<root at p15118067.pureserver.info>, relay=none, delay=51, status=deferred
>> (connect to 127.0.0.1[127.0.0.1]: Connection refused)
>
> Laeuft amavis?
> Welches amavis?
> Auf welchem Port?
Sorry aber ich komme nicht klar
Amavis läuft als perl Dämon
# ps -aux |grep 'amavis'
root 17322 0.0 1.0 11024 2596 ? S 10:05 0:00 /usr/bin/perl
-T /usr/sbin/amavisd
root 3566 0.0 0.2 1584 520 pts/2 S 21:53 0:00 grep amavis
Scheinbar auf Port 10025, aber sicher bin ich da nicht.
# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 localhost.localdo:10025 *:* LISTEN
tcp 0 0 *:rsync *:* LISTEN
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 localhost.localdoma:783 *:* LISTEN
tcp 0 0 *:www-http *:* LISTEN
tcp 0 0 *:smtps *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 *:https *:* LISTEN
udp 0 0 *:bootpc *:*
udp 0 0 p15118067.pureserve:ntp *:*
udp 0 0 localhost.localdoma:ntp *:*
udp 0 0 *:ntp *:*
Ich hab heute Nachmittag mal in main.cf
content_filter = smtp:[127.0.0.1]:10025
Gesetzt und die master.cf so:
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ==========================================================================
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
#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
smtp unix - - n - - smtp
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 = smtp:[127.0.0.1]:10025
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavisd ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender}
${recipient}
Aber dabei kam nur folgendes raus:
Jul 4 21:43:55 p15118067 postfix/nqmgr[2580]: A5591420032:
from=<infoservice at maxdata.de>, size=25302, nrcpt=1 (queue active)
Jul 4 21:43:55 p15118067 postfix/smtpd[2584]: fatal: unexpected
command-line argument: =
Jul 4 21:43:56 p15118067 postfix/smtp[2583]: connect to
127.0.0.1[127.0.0.1]: server dropped connection (port 10025)
Jul 4 21:43:56 p15118067 postfix/master[2576]: warning: process
/usr/lib/postfix/smtpd pid 2584 exit status 1
Jul 4 21:43:56 p15118067 postfix/master[2576]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Usw.
Bitte helft mir
Christian
Mehr Informationen über die Mailingliste Postfixbuch-users