I am working on rebuilding a mail server that handles lists.

I moved all list data to postgres and it works great.

Management is asking if its possible to use the postgres database to store list 
usage information.

I was wondering if I could do this as part of the router.?   Maybe something 
like:

Some_config = ${lookup pgsql \
      {INSERT INTO listman.stats \
        VALUES \
         ('${quote_pgsql:$local_part}'}
 } 

Or something similar, or am I crazy?  

Thoughts?

Thanks in advance.


-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to