Thank you Karol. I will check this.
I am interested to log the mails (count in/out), check the size then log
these to a DB to show them in some GUI and using these values to apply some
policies (allow or reject according to set limits)

Alex

On Thu, Mar 8, 2018 at 11:59 AM, Karol Augustin <ka...@augustin.pl> wrote:

> On 2018-03-07 21:47, Alex K wrote:
>
> > Hi all,
> >
> > Just checking if anyone can provide any hints on the below.
> >
> > Thanx, Alex
> >
> > On Tue, Mar 6, 2018 at 3:16 PM, Alex K <rightkickt...@gmail.com> wrote:
> >
> >> Hi all,
> >>
> >> I am trying to setup a simple script, which will be used to check the
> mail size and count the emails per user (the script does only mail size
> checks at the moment). I am currently checking the logic with a simple
> script and I have followed the http://www.postfix.org/FILTER_README.html,
> the advanced option to avoid loops. When putting script at pickup I had
> loops.
>
> Check mtpolicyd, it has accounting plugin which might be what you are
> looking for.
>
> Karol
>
>
> --
> Karol Augustin
> ka...@augustin.pl
> http://karolaugustin.pl/
> +353 85 775 5312
>

Reply via email to