Hallo Forum,
habe nach den Readmes alle Packete installiert. Clamav ist getestet und funktioniert. Die Daemonen kann ich ja einfach per rc-command starten. In der master.conf steht ja schon eine Rule für vscan. Also hab ich in der main.cf noch content_filter = vscan eingetragen. Scheint laut log-file auch zu funktionieren. Allerdings will Amavis die gecheckte Mail dann an Port 10025/localhost zurückschicken. Dort lauscht aber kein Postfix der die Mail eventuell zurücknimmt... Was ist mein Problem, bzw. wie bekomme ich die geprüfte und getaggde Mail zurück in die Queue?
thx
Suse 9.1, Clamav, Amavis
Re: Suse 9.1, Clamav, Amavis
Bitte selbst anpassen:
Code: Select all
## /etc/postfix/master.cf
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
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_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_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
## /etc/postfix/main.cf
content_filter = smtp-amavis:[127.0.0.1]:10024
## /etc/amavisd.conf
$inet_socket_bind = '127.0.0.1';
$forward_method = 'smtp:127.0.0.1:10025';
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
einsiedler
- Posts: 66
- Joined: 2004-09-20 16:53
Re: Suse 9.1, Clamav, Amavis
thx!
brauche ich dann den folgenden Suse Standart Eintrag in der master.cf noch?
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
(war bei mir jedenfalls drinn)
brauche ich dann den folgenden Suse Standart Eintrag in der master.cf noch?
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
(war bei mir jedenfalls drinn)
-
einsiedler
- Posts: 66
- Joined: 2004-09-20 16:53
Re: Suse 9.1, Clamav, Amavis
Ã?brigens scheint alles - auch der clamd startet ohne error. Wenn ich allerdings "clamdscan -l test.txt TEST.COM" aufrufe, was ja den clamd verwendet, dann erhalte ich ein ERROR: Can't parse the configuration file.
Wie gesagt, per rcclamd startet der daemon ohne error. Die Mailqueue funktioniert an sich, .exe werden z.B. von Amavis ausgefiltert. Ist nun meine config falsch (schliesslich startet rcclamd ohne error), oder könnte die Ursache wo anders liegen?
Hat mir jemand eventuell eine funktionierende clamav.conf zum testen?
Thx
Wie gesagt, per rcclamd startet der daemon ohne error. Die Mailqueue funktioniert an sich, .exe werden z.B. von Amavis ausgefiltert. Ist nun meine config falsch (schliesslich startet rcclamd ohne error), oder könnte die Ursache wo anders liegen?
Hat mir jemand eventuell eine funktionierende clamav.conf zum testen?
Thx
Re: Suse 9.1, Clamav, Amavis
Windows-Editor verwendet?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
einsiedler
- Posts: 66
- Joined: 2004-09-20 16:53
Re: Suse 9.1, Clamav, Amavis
Nein - hab' schon länger kein Windows mehr... (hab' grade mal getestet ein bischen Müll in die clamav.con zu schreiben. Der Daemon startet trotzdem ohne zu mucken. Wahrscheinlich ist also die config hinüber...
Ist allerdings die standardconf ohne Anpassungen von mir. Mh
Ist allerdings die standardconf ohne Anpassungen von mir. Mh
