At 02:28, 19990820, liupc wrote:
> I need to write a client, which is invoked automatically when the
> mail is received by sendmail. This mysql client has to parse the
> mail header and insert the content of mail into database tables.
>Is there any sample availiable for mailing archive?
>Any advice for me?
You might like to just use the most excellent mailing list software
that is already available, which already uses MySQL (or another DB of
your choice) for the back end. Do you really NEED to write a client,
or just have a client that you can use?
At any rate, you might want to install ezmlm and see how it works, see
what tables it sets up, etc. A lot of work has gone into it, and it'd
be silly to ignore it. The authors are also very cool people, so I'm
sure that if you make some modifications that you think might be useful
to the world, they'd be open to accepting some diffs.