On Wed, 29 Nov 2017 23:17:52 +0100
Andrej Sagadin <airblade...@gmail.com> wrote:

> Thanx, for info that is what i need but problem is my IMAP log look
> like that:
> "Nov 29 23:06:38 auth-worker(31556): Debug:
> passwd(user,x.x.x.x,<9N9hUyZfqebAqAFb>): lookup" , where x.x.x.x is
> IP that i need to extract to my database.
> and there is no $pat for that line so I'm in a dead end. :)

You just modify that perl to match your log pattern and extract what
you need based on format. I had to do that for dovecot.

That it is old and does not really get updated. Its a change you can
make and not worry about it being overwritten on update :) Though good
to keep a copy of your changes, diff or something.

-- 
William L. Thomson Jr.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to