Date: Thu, 24 Aug 2006 11:12:48 +0800
From: "jan gestre" < [EMAIL PROTECTED]>
Subject: Re: [plug] re: mail problem
On 8/23/06, croilan cruz <[EMAIL PROTECTED]> wrote:
>
> any one experience this problem in postfix
>
> host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in
> processing, id=20060-08, decoding2-get-file-types FAILED: 'file' utility
>
> /usr/bin/file) failed, status=1 (256 ) at /usr/sbin/amavisd line 3839. (in
> reply to end of DATA command)
>
>
> i try to comment out the content_filter=smtp-amavis:( 127.0.0.1)10024
> email can pass thru but no virus running.any idea on this?
>
> ------------------------------
>
i've seen your master.cf, main.cf and amavisd.conf, there is a problem in
your master.cf, your using port 10024 for content filter but you're using
port 10025 to pass it, remove these lines below in you master.cf:
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
and enable again the content filter for port 10024, this is the reason it is
not scanning for viruses. reload postfix, you're done.
HTH
--
RoundCube Rocks!!!
The best WebMail client to date!
I think if you did that it will make your problem bigger because AFAIK the process is something like this please correct me if im wrong
Internet mail---->SMTPD ( 25 ) ------>amavis-new port 10024 ----->content filter 10025 ----->pick-up/clean------->local delivery
So if you disabled that port the amavis-new won't know where to pass the mail that is subject for content inspection. and port 10024 is only the "bridge" between the smtpd port to the content-filtering port.. again I might be wrong with this.. but we could always visit the amavisd-new documentation for this..
Ryan
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

