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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gyan Mathur
Dátum:  
Címzett: D.M.Chapman
CC: exim-users, Gyan Mathur
Tárgy: 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.