Re: [Exim] Getting lists of users from odd databases?

Pàgina inicial
Delete this message
Reply to this message
Autor: Gyan Mathur
Data:  
A: D.M.Chapman
CC: exim-users, Gyan Mathur
Assumpte: Re: [Exim] Getting lists of users from odd databases?
In response to "D.M.Chapman":

> We have an admin database that manages all of our accounts and holds info
> on the status of the user. Ideally, we would like to get exim to send to
> a list of users that it obtains from this database. As the format is
> non-standard (to say the least!) we would need to create a binary that
> returns a list of users from the db (no probs) but how would I then
> get that info into exim for the mail to be sent?


I would run a cron-job every night that generated the lists of staff
and students in plain text and stuck them in suitably-named files.
Then you just need the sort of simple list processing that is
described in the on-line documentation and which you probably do
already.

Gyan.