[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    Re: Concept for policy service and filtering.
From:       Manuel Mely <mmelyp () gmail ! com>
Date:       2020-08-25 21:03:01
Message-ID: CANjLmLw56JtF0F6_Fkv322JznS2hQH0EBNLjb62ZjXKLnXg6TQ () mail ! gmail ! com
[Download RAW message or body]

Okey, i think i got an idea of what i have to do now! :)

Thank you again for the advises.

On Tue, Aug 25, 2020 at 6:51 PM Wietse Venema <wietse@porcupine.org> wrote:

> Manuel Mely:
> > In a nutshell: use the policy access server for basic rules and actions
> at
> > first, and only if the ruleset gets
> > complicated with content filtering, return a "FILTER" action in the
> server,
> > and continue filtering
> > with a milter? Probably i will have then to double check the matching
> > rules, which is not nice. Or is it
> > possible to pass, for example an identifier (matched rule uuid) to the
> > milter?
>
> A policy server can return a PREPEND action to set a message header
> that can be examined down-stream. Returning a FILTER action is also
> possible, but you can't do that in the same action as PREPEND. Maybe
> you can do it as an end-of-data action.
>
> Of course anyone else can also PREPEND headers before sending you
> email, so be careful with that.
>
>         Wietse
>

[Attachment #3 (text/html)]

<div dir="ltr">Okey, i think i got an idea of what i have to do now! \
:)<div><br></div><div>Thank you  again for the advises.</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 25, 2020 at 6:51 PM \
Wietse Venema &lt;<a href="mailto:wietse@porcupine.org">wietse@porcupine.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Manuel Mely:<br> &gt; \
In a nutshell: use the policy access server for basic rules and actions at<br> &gt; \
first, and only if the ruleset gets<br> &gt; complicated with content filtering, \
return a &quot;FILTER&quot; action in the server,<br> &gt; and continue filtering<br>
&gt; with a milter? Probably i will have then to double check the matching<br>
&gt; rules, which is not nice. Or is it<br>
&gt; possible to pass, for example an identifier (matched rule uuid) to the<br>
&gt; milter?<br>
<br>
A policy server can return a PREPEND action to set a message header<br>
that can be examined down-stream. Returning a FILTER action is also<br>
possible, but you can&#39;t do that in the same action as PREPEND. Maybe<br>
you can do it as an end-of-data action.<br>
<br>
Of course anyone else can also PREPEND headers before sending you<br>
email, so be careful with that.<br>
<br>
            Wietse<br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic