On Mon, Sep 30, 2002 at 03:34:10PM -0400, Scot wrote: > Looking to read in mail headers from /var/spool/mqueue/ > and load them into an array or hash to filter based on > some rules. > > I know there must be a good module out there to do this. > I just want To,From,CC and Subject. given you have > a file with the headers in $_
You could probably use Mail::Internet for this. If the mqueue is being managed by sendmail the headers aren't going to be simply 'To', 'From', etc., they'll have prefixes on them which will have to be stripped or handled in some way. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]