Re: help with content filtering

From: Wietse Venema (no email)
Date: Fri Aug 01 2003 - 11:32:19 EDT


Please send mail to with content: info postfix-users
and follow instructions with respect to LOGGING.

        Wietse

Jeffs Sapp:
> Hey, I'm having some trouble getting postfix's content filtering to
> work correctly. I'm running FreeBSD 4.8, I built postfix 2.0.6 out
> of FreeBSD's ports tree.
>
> Postfix functions correctly until I follow the steps for simple content
> filtering in FILTER_README. When I try and send mail either through the mail
> command or through smtp, I end up with generating lots and lots of emails to
> the MAILER-DAEMON (a mail loop?). I'm guess would say that I have something
> wrong in the either master.cf, or main.cf, but I've followed exactly
> the instructions in the filter readme. I'm even running it through the
> sample shell script described in FILTER_README.
>
> I can get the shell script to write the emails to /tmp, but I get the mail
> loop when I called sendmail and resend the message.
>
> This is what my master.cf looks like.
> smtp inet n - n - - smtpd
> -o content_filter=filter:dummy # I added this line.
> filter unix - n n - - pipe # and this one
> flags=Rq user=filter argv=/home/jasapp/src/mail1.sh -f ${sender} -- ${recipient} # and this one
>
> In my main.cf, I've set these values.
>
> myhostname = fmail.blah-blah.org
> mydomain = blah-blah.org
> myorigin = $myhostname
>
> Ideally, I'd like to run all my mail through this computer, have it filtered
> for content, and then sent with a transport to my primary mail server.
> I've turned of the transport for the time being, but just so you know.
>
> It's likely I've forgotten some information about my configuration. If
> that's the case, please ask.
>
> Thanks,
> Jeff
>
>








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD