"Hossein S. Zadeh" wrote:
> 
> Hi gurus,
> I have a unix (Linux) box with tens of users on it. The management has
> decided to move email to Groupwise (Novell).
> 
> I was asked to look into possibility of sending current (saved) emails of
> users on the Unix box to their new email address. I have a sound
> background in C and C++, but I have never written a program to interact
> with mailboxes.
> 
> Is it possible to have a small(ish) C program reading each mailbox,
> separate messages, and email them (one by one) to another address?
> 
> Thanks,
> Hossein

Not necessary.  If you are using the standard UNIX mail tools, your
mailbox is just a big text file.  You can easily parse it with sed or
perl to do what you need.

Reply via email to