OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Filter question (cased closed)

From: Account for mailinglists (listssoderlund.org)
Date: Wed Apr 30 2003 - 00:47:30 CDT


Hiya!

I dont actually (still) know what you mean but I got it working, the only
problem was with my texteditor :-/ I had written the lines:
#
smtp inet n - n - - smtpd
         -o content_filter=ooo:
#

but it seems it only works if you write them:
#
smtp inet n - n - - smtpd -o
content_filter=ooo:
#

..so when I changed that, the script worked fine without change..

Thanks anyway, perhapse you have a point somewhere in there but I darn gosh
cant see it. The example works fine without any tinkering..

- Niclas

At 19:19 2003-04-29, adi wrote:
>On Tue, Apr 29, 2003 at 02:21:05PM +0200, Account for mailinglists wrote:
> > I cant even pretend to be an expert on this but if it says what is says
> > above, as a clear explanation for this perticular example - shouldnt this
> > work?
>
>Don't get me wrong. I ever come to this situation too :-)
>
> > Now If one is for some reason to remove bits and pieces in the examples to
> > make them work, im sorry for not seeing it.
>
>....
>To turn on content filtering for mail arriving via *SMTP* only, append
>"-o content_filter=filter:dummy" to the master.cf entry that defines
>the Postfix SMTP server:
>
> /etc/postfix/master.cf:
> smtp inet ...stuff... smtpd
> -o content_filter=filter:dummy
>...
>
>because sendmail binary don't talk smtp, it is not necesary to
>built dedicated smtp listener on port other than 25.
>Please continue to read all of the explanation on FILTER_README.
>Believe me, it would be a really really nice experience :-)
>
>It could be that the documentation is not perfect, but it is clear.
>I don't think I could write any better than that.
>
>Regards,
>
>P.Y. Adi Prasaja