From: mouss (no email)
Date: Sun Mar 23 2008 - 10:49:30 EDT
Sam Wun wrote:
> Thanks for the reply.
> Here is the relevant part of the master.cf file:
> ......
> # AV scan filter (used by content_filter)
> scan unix - - n - 16 smtp
> -o smtp_data_done_timeout=1200
> -o smtp_send_xforward_command=yes
> -o disable_dns_lookups=yes
> -o max_use=20
>
> # For injecting mail back into postfix from the filter
> 127.0.0.1:10025 inet n - n - 16 smtpd -v
> -o content_filter=
> -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
> -o smtpd_helo_restrictions=
> -o smtpd_client_restrictions=
> -o smtpd_sender_restrictions=
> -o smtpd_recipient_restrictions=permit_mynetworks,reject
> -o myhostname=mail01.ip6.com.au
> -o mynetworks_style=host
> -o mynetworks=127.0.0.0/8
> -o smtpd_authorized_xforward_hosts=
>
> is there anything wrong for this master.cf file with the main.cf file (or the output of the postconf -n)?
>
Please do not top post (google if you don't know what this means).
if you set the filter to content_filter=..:10025 and configure postfix
to listen on this port, then you're not doing content filtering.
- set the content_filter to
content_filter = scan:[127.0.0.1]:10024
- configure clamstp to listen on this port, and to forward to port 10025.
then try again.
if you still have problems, send
- the output of 'postconf -n'
- the full master.cf (except the comments at the beginning of the file)
- the config file of clamsmtp
all in _ONE_ mail. it is hard to reconstruct your config by inspecting multiple posts, and it is even impossible since you could change configs between different posts.
|
|
|