I'd probably stick with using existing mail programs, and automating them using Expect. The basic unix program mail, although a bit antiquated should do most of what you'd need, I would think. You might also look to see if there's any provisions for dealing with this sort of situation in fetchmail
It's best not to try to look into locking details of the MDA, as it might change in later versions, or the sysadmin might change programs entirely.
In reply to Re: Battling mail timing issues
by jhourcle
in thread Battling mail timing issues
by oko1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |