|
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
From: Account for mailinglists (lists
soderlund.org)
Date: Tue Apr 29 2003 - 07:21:05 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hullo!
At 14:05 2003-04-29, pyap wrote:
>On Tue, Apr 29, 2003 at 01:59:42PM +0200, Account for mailinglists wrote:
> > Now, Ive started by adding this i my master.cf (im running amavis and
> > spamassassin as advanced filters, hence the location of the definition of
> > vfilter:
>....
> > # Localize these.
> > INSPECT_DIR=/var/spool/filter
> > SENDMAIL="/usr/sbin/sendmail -i"
>
>sendmail binary couldn't inject message via smtp. please read
>again FILTER_README carefully.
Thanks for a quick answer (amazing..) but I dont understand this. If its a
snippage from the actuall official postfix example:
"The idea is to first capture the message to file and then run the
content through a third-party content filter program. If the
mail cannot be captured to file, mail delivery is deferred by
terminating with exit status 75 (EX_TEMPFAIL). If the content
filter program finds a problem, the mail is bounced by terminating
the shell script with exit status 69 (EX_UNAVAILABLE). If the
content is OK, it is given as input to Postfix sendmail, and the
exit status of the filter command is whatever exit status Postfix
sendmail produces."
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?
>if you insist reinjecting message using sendmail binary, then
>you must not specify $content_filter on main.cf (well, not really :-)
I dont insist on anything really :-) Im just trying to learn Postfix's in
more detail by playing with it. Haveing said that, I must be able to trust
what is said in the examples..
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.
So my question again, is what am I then supposed to use to re-instate the
message without haveing it being processed again by the same filter in a
loop without ever breaking out.
Sorry for my ignorance..
Regards,
Niclas
>Regards,
>
>P.Y. Adi Prasaja
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]