Postfix + AMaViS -> clamav
Posted: 2005-12-04 14:51
Ich versuche wie folgt clamav in eine bestehende Postfixkonfiguration einzubinden.
Postfix läuft fehlerfrei. Nun möchte ich Postfix überreden Einkommende E-Mails an Port 10024 (AMaViS) zu schicken, welcher nach erfolgtem Virusscan die E-Mail an Port 10025 Postfix zurückschicken soll, wo die E-Mail dann "ausgeliefert" wird.
Für die Verbindung zu AMaViS habe ich folgendes in die master.cf eingefügt
Und für die Verbindung zurück (also von AMaViS Richtung Postfix)Jedoch genau in dem zweiten Teil habe ich scheints nen Denkfehler, denn ein einfaches klappt nicht. Ich schau nun schon ne Stunde auf die Config, und sehe den Fehler nicht :( Hat jemand ne Idee?
Postfix läuft fehlerfrei. Nun möchte ich Postfix überreden Einkommende E-Mails an Port 10024 (AMaViS) zu schicken, welcher nach erfolgtem Virusscan die E-Mail an Port 10025 Postfix zurückschicken soll, wo die E-Mail dann "ausgeliefert" wird.
Für die Verbindung zu AMaViS habe ich folgendes in die master.cf eingefügt
Code: Select all
smpt-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yesCode: Select all
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restritcions=
-o smtpd_sender_restrictions=
-o smptd_recipient_restrictions=permit_mynetworks,reject
-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_checksCode: Select all
telnet localhost 10025
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused