[Postfixbuch-users] Nochmal: Amavis integrieren - Connection timed out
Til Schubbe
lists at lists.schubbe.org
Sa Dez 2 17:34:34 CET 2006
Hallo,
ich möchte Amavis in Postfix integrieren. Wenn eine Mail eingeliefert
wird, bleibt sie in der queue stecken, statt an Amavis weitergeleitet
zu werden:
# mailq
[...]
(connect to 127.0.0.1[127.0.0.1]: Connection timed out)
bzw. im syslog:
postfix/smtp[25562]: smtp_virtual_bind: bind die.ip.meines.servers
postfix/smtp[25562]: smtp_connect_addr: trying:
127.0.0.1[127.0.0.1] port 10024...
postfix/smtp[25562]: connect to 127.0.0.1[127.0.0.1]:
Connection timed out (port 10024)
Die weitere Postfix-Instanz und amavis laufen auch:
# telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mein.server.tld ESMTP
quit
221 Bye
Connection closed by foreign host.
# telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 [die.ip.meines.servers] ESMTP amavisd-new service ready
quit
221 2.0.0 [die.ip.meines.servers] (amavisd) closing transmission channel
Connection closed by foreign host.
Hier meine Konfiguration:
# egrep -v '^#' postfix/master.cf
smtp inet n - - - 3 smtpd
-o content_filter=smtp-amavis:[127.0.0.1]:10024
-o cleanup_service_name=pre-cleanup
127.0.0.1:10025 inet n - n - - smtpd
-o cleanup_service_name=cleanup
-o local_recipient_maps=
-o relay_recipient_maps=
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o inet_interfaces=loopback-only
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtp_send_xforward_command=yes
-o content_filter=
pickup fifo n - - 60 1 pickup
-o cleanup_service_name=cleanup
pre-cleanup unix n - - - 0 cleanup
-o virtual_alias_maps=
-o canonical_maps=
-o sender_canonical_maps=
-o recipient_canonical_maps=
-o masquerade_domains=
-o always_bcc=
-o sender_bcc_maps=
-o recipient_bcc_maps=
cleanup unix n - - - 0 cleanup
-o mime_header_checks=
-o nested_header_checks=
-o body_checks=
-o header_checks
qmgr fifo n - - 300 1 qmgr
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} ${
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1800 -o disable_dns_lookups=yes
proxymap unix - - n - -
proxymap
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
relay unix - - n - - smtp
tlsmgr unix - - - 1000? 1 tlsmgr
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
discard unix - - - - - discard
In main.cf habe ich content_filter nicht aufgenommen.
Amavis schreibt beim Start das hier ins Log:
starting. amavisd-new at m1s02.vip-server.net
amavisd-new-20030616-p10, Unicode aware, LC_CTYPE=de_DE at euro,
LANG=de_DE at euro
Perl version 5.008004
Module Amavis::Conf 1.15
Module Archive::Tar 1.23
Module Archive::Zip 1.14
Module Compress::Zlib 1.34
Module Convert::TNEF 0.17
Module Convert::UUlib 1.051
Module MIME::Entity 5.417
Module MIME::Parser 5.417
Module MIME::Tools 5.417
Module Mail::Header 1.62
Module Mail::Internet 1.62
Module Net::Cmd 2.26
Module Net::SMTP 2.29
Module Net::Server 0.87
Module Time::HiRes 1.59
Module Unix::Syslog 0.100
Found myself: /usr/sbin/amavisd-new -c /etc/amavis/amavisd.conf
Lookup::SQL code NOT loaded
Lookup::LDAP code NOT loaded
AMCL-in protocol code NOT loaded
SMTP-in protocol code loaded
ANTI-VIRUS code loaded
ANTI-SPAM code NOT loaded
Net::Server: Process Backgrounded
Net::Server: 2006/12/02-17:28:21 Amavis (type
Net::Server::PreForkSimple) starting! pid(29096)
Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Net::Server: Setting gid to "106 106"
Net::Server: Setting uid to "105"
Found $file at /usr/bin/file
Found $arc at /usr/bin/arc
Found $gzip at /bin/gzip
Found $bzip2 at /usr/bin/bzip2
No $lzop, not using it
Found $lha at /usr/bin/lha
Found $unarj at /usr/bin/arj
Found $uncompress at /bin/uncompress
No $unfreeze, not using it
Found $unrar at /usr/bin/rar
Found $zoo at /usr/bin/zoo
Found $cpio at /bin/cpio
Using internal av scanner code for (primary) Clam Antivirus-clamd
No primary av scanner: KasperskyLab AVP - aveclient
No primary av scanner: KasperskyLab AntiViral Toolkit Pro (AVP)
No primary av scanner: KasperskyLab AVPDaemonClient
No primary av scanner: H+BEDV AntiVir or CentralCommand Vexira
Antivirus
No primary av scanner: Command AntiVirus for Linux
No primary av scanner: Symantec CarrierScan via Symantec
CommandLineScanner
No primary av scanner: Symantec AntiVirus Scan Engine
No primary av scanner: drweb - DrWeb Antivirus
No primary av scanner: F-Secure Antivirus
No primary av scanner: CAI InoculateIT
No primary av scanner: MkS_Vir for Linux (beta)
No primary av scanner: ESET Software NOD32
No primary av scanner: ESET Software NOD32 - Client/Server Version
No primary av scanner: Norman Virus Control v5 / Linux
No primary av scanner: Panda Antivirus for Linux
No primary av scanner: NAI McAfee AntiVirus (uvscan)
No primary av scanner: VirusBuster
No primary av scanner: CyberSoft VFind
No primary av scanner: Ikarus AntiVirus for Linux
No primary av scanner: BitDefender
No secondary av scanner: Clam Antivirus - clamscan
No secondary av scanner: FRISK F-Prot Antivirus
No secondary av scanner: Trend Micro FileScanner
No secondary av scanner: KasperskyLab kavscanner
Das alles läuft auf einer Debian stable.
Was muß ich tun, damit Postfix mit amavis redet?
TIA + Gruß
Til
Mehr Informationen über die Mailingliste Postfixbuch-users